diff --git a/src/views/qms/inspection/inspectionJob/inspectionJobMain.data.ts b/src/views/qms/inspection/inspectionJob/inspectionJobMain.data.ts index 0ddaca2b2..ed4bfcfab 100644 --- a/src/views/qms/inspection/inspectionJob/inspectionJobMain.data.ts +++ b/src/views/qms/inspection/inspectionJob/inspectionJobMain.data.ts @@ -372,26 +372,26 @@ export const InspectionJobMain = useCrudSchemas(reactive([ // } // } // }, - { - label: '是否可用', - field: 'available', - dictType: DICT_TYPE.TRUE_FALSE, - dictClass: 'string', - isTable: true, - sort: 'custom', - table: { - width: 150 - }, - form: { - component: 'Switch', - value: 'TRUE', - componentProps: { - inactiveValue: 'FALSE', - activeValue: 'TRUE', - disabled:true - } - } - }, + // { + // label: '是否可用', + // field: 'available', + // dictType: DICT_TYPE.TRUE_FALSE, + // dictClass: 'string', + // isTable: true, + // sort: 'custom', + // table: { + // width: 150 + // }, + // form: { + // component: 'Switch', + // value: 'TRUE', + // componentProps: { + // inactiveValue: 'FALSE', + // activeValue: 'TRUE', + // disabled:true + // } + // } + // }, { label: '操作', field: 'action', diff --git a/src/views/qms/inspection/inspectionRecord/inspectionRecordMain.data.ts b/src/views/qms/inspection/inspectionRecord/inspectionRecordMain.data.ts index e46db0990..0bf2c12b3 100644 --- a/src/views/qms/inspection/inspectionRecord/inspectionRecordMain.data.ts +++ b/src/views/qms/inspection/inspectionRecord/inspectionRecordMain.data.ts @@ -344,17 +344,17 @@ export const InspectionRecordMain = useCrudSchemas(reactive([ width: 150 } }, - { - label: '是否可用', - field: 'available', - dictType: DICT_TYPE.TRUE_FALSE, - sort: 'custom', - isSearch: false, - isForm:false, - table: { - width: 150 - } - }, + // { + // label: '是否可用', + // field: 'available', + // dictType: DICT_TYPE.TRUE_FALSE, + // sort: 'custom', + // isSearch: false, + // isForm:false, + // table: { + // width: 150 + // } + // }, { label: '使用决策', field: 'useDecision', @@ -509,12 +509,12 @@ export const InspectionRecordDetail = useCrudSchemas(reactive([ sort: 'custom', isSearch: false, }, - { - label: '是否可用', - field: 'available', - sort: 'custom', - isSearch: false, - }, + // { + // label: '是否可用', + // field: 'available', + // sort: 'custom', + // isSearch: false, + // }, { label: '创建时间', field: 'createTime', diff --git a/src/views/qms/inspection/inspectionRequest/inspectionMain.data.ts b/src/views/qms/inspection/inspectionRequest/inspectionMain.data.ts index 6f9484a19..c41ff6906 100644 --- a/src/views/qms/inspection/inspectionRequest/inspectionMain.data.ts +++ b/src/views/qms/inspection/inspectionRequest/inspectionMain.data.ts @@ -317,16 +317,16 @@ export const InspectionMain = useCrudSchemas(reactive([ width: 150 } }, - { - label: '是否可用', - field: 'available', - sort: 'custom', - isSearch: false, - dictType: DICT_TYPE.TRUE_FALSE, - table: { - width: 150 - } - }, + // { + // label: '是否可用', + // field: 'available', + // sort: 'custom', + // isSearch: false, + // dictType: DICT_TYPE.TRUE_FALSE, + // table: { + // width: 150 + // } + // }, { label: '操作', field: 'action',