Browse Source

BUG修改

linshi20240813
parent
commit
92dc941dfd
  1. 1
      src/views/qms/inspectionJob/inspectionJobMain.data.ts
  2. 2
      src/views/qms/inspectionRequest/index.vue
  3. 49
      src/views/qms/inspectionRequest/inspectionRequestMain.data.ts

1
src/views/qms/inspectionJob/inspectionJobMain.data.ts

@ -567,6 +567,7 @@ export const InspectionJobMain = useCrudSchemas(
dictClass: 'string',
isForm: false,
isTable: true,
isSearch: true,
sort: 'custom',
table: {
width: 150

2
src/views/qms/inspectionRequest/index.vue

@ -148,7 +148,7 @@ const { getList, setSearchParams } = tableMethods
const HeadButttondata = [
defaultButtons.defaultAddBtn({ hasPermi: 'qms:inspection-request-main:create' }), //
// defaultButtons.defaultImportBtn({ hasPermi: 'wms:inspectionMain:import' }), //
// defaultButtons.defaultExportBtn({ hasPermi: 'wms:inspectionMain:export' }), //
defaultButtons.defaultExportBtn({ hasPermi: 'qms:inspection-request-main:export' }), //
defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null) //

49
src/views/qms/inspectionRequest/inspectionRequestMain.data.ts

@ -250,14 +250,16 @@ export const InspectionMain = useCrudSchemas(
isMainValue: false
}
],
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
verificationParams: [
{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true
}
] // 失去焦点校验参数
}
}
},
@ -300,14 +302,16 @@ export const InspectionMain = useCrudSchemas(
isMainValue: false
}
],
verificationParams: [{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true,
}], // 失去焦点校验参数
verificationParams: [
{
key: 'code',
action: '==',
value: '',
isMainValue: false,
isSearch: true,
isFormModel: true
}
] // 失去焦点校验参数
}
}
},
@ -445,6 +449,19 @@ export const InspectionMain = useCrudSchemas(
width: 150
}
},
{
label: '状态',
field: 'status',
dictType: DICT_TYPE.REQUEST_STATUS,
dictClass: 'string',
isForm: false,
isTable: true,
isSearch: true,
sort: 'custom',
table: {
width: 150
}
},
{
label: '是否可用',
field: 'available',

Loading…
Cancel
Save