Browse Source

BUG修改

linshi20240813
parent
commit
1283ed5ebe
  1. 21
      src/views/qms/inspectionJob/addForm.vue
  2. 1
      src/views/qms/inspectionJob/index.vue
  3. 4
      src/views/qms/inspectionQ3/inspectionQ3.data.ts
  4. 4
      src/views/qms/inspectionRecord/index.vue

21
src/views/qms/inspectionJob/addForm.vue

@ -414,6 +414,16 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24">
<el-form-item label="备注">
<el-input
v-model="item.inspectionJobCharacteristicsUpdateReqVO.remark"
placeholder="请输入备注"
type="text"
maxlength="200"
/>
</el-form-item>
</el-col>
</el-row> </el-row>
</div> </div>
</el-form> </el-form>
@ -502,17 +512,6 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" v-if="item.inspectionJobCharacteristicsUpdateReqVO
.recordInspectionQuantifyList?.length-1 == i">
<el-form-item label="备注">
<el-input
v-model="cur.remark"
placeholder="请输入备注"
type="text"
maxlength="200"
/>
</el-form-item>
</el-col>
<!-- <el-col :span="12" v-if="item.inspectionJobCharacteristicsUpdateReqVO.featureType == '1'" > <!-- <el-col :span="12" v-if="item.inspectionJobCharacteristicsUpdateReqVO.featureType == '1'" >
<el-form-item label="缺陷级别" required> <el-form-item label="缺陷级别" required>
<el-select v-model="cur.defectLevel" placeholder="请选择缺陷级别" disabled> <el-select v-model="cur.defectLevel" placeholder="请选择缺陷级别" disabled>

1
src/views/qms/inspectionJob/index.vue

@ -180,6 +180,7 @@ const { getList, setSearchParams } = tableMethods
// //
const HeadButttondata = [ const HeadButttondata = [
defaultButtons.defaultExportBtn({ hasPermi: 'qms:inspection-job-main:export' }), //
defaultButtons.defaultFreshBtn(null), // defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), // defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null) // defaultButtons.defaultSetBtn(null) //

4
src/views/qms/inspectionQ3/inspectionQ3.data.ts

@ -22,11 +22,11 @@ export const Q3Rules = reactive({
defectLocation: [required], defectLocation: [required],
defectType: [ defectType: [
{ required: true, message: '缺陷类型不能为空', trigger: 'blur' }, { required: true, message: '缺陷类型不能为空', trigger: 'blur' },
{ max: 64, message: '不得超过64个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }
], ],
problemReason: [ problemReason: [
{ required: true, message: '问题原因不能为空', trigger: 'blur' }, { required: true, message: '问题原因不能为空', trigger: 'blur' },
{ max: 64, message: '不得超过64个字符', trigger: 'blur' } { max: 50, message: '不得超过50个字符', trigger: 'blur' }
], ],
priority: [required], priority: [required],
amount: [required], amount: [required],

4
src/views/qms/inspectionRecord/index.vue

@ -163,7 +163,7 @@ const { getList, setSearchParams } = tableMethods
// //
let HeadButttondata = [ let HeadButttondata = [
// defaultButtons.defaultExportBtn(null), // defaultButtons.defaultExportBtn({ hasPermi: 'qms:inspection-recode-main:export' }), //
defaultButtons.defaultFreshBtn(null), // defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), // defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null) // defaultButtons.defaultSetBtn(null) //
@ -342,7 +342,7 @@ const handleExport = async () => {
// //
exportLoading.value = true exportLoading.value = true
const data = await InspectionRecordMainApi.exportInspectionRecordMain(tableObject.params) const data = await InspectionRecordMainApi.exportInspectionRecordMain(tableObject.params)
download.excel(data, '备件申领记录主.xlsx') download.excel(data, '检验记录.xlsx')
} catch { } catch {
} finally { } finally {
exportLoading.value = false exportLoading.value = false

Loading…
Cancel
Save