diff --git a/src/views/qms/inspectionJob/inspectionJobMain.data.ts b/src/views/qms/inspectionJob/inspectionJobMain.data.ts index 7bc8cf351..c7646d0dd 100644 --- a/src/views/qms/inspectionJob/inspectionJobMain.data.ts +++ b/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 diff --git a/src/views/qms/inspectionRequest/index.vue b/src/views/qms/inspectionRequest/index.vue index 04c95aacc..715987e86 100644 --- a/src/views/qms/inspectionRequest/index.vue +++ b/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) // 设置 diff --git a/src/views/qms/inspectionRequest/inspectionRequestMain.data.ts b/src/views/qms/inspectionRequest/inspectionRequestMain.data.ts index 6d0b11612..95728e0e1 100644 --- a/src/views/qms/inspectionRequest/inspectionRequestMain.data.ts +++ b/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',