From 36110fd3c593a3ce93d16d1b322b94a476b5cc75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B7=BB=E7=A0=96-JAVA=5CAdministrator?= <591141169@qq.com> Date: Wed, 10 Apr 2024 13:20:43 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inspectionJob/inspectionJobMain.data.ts | 40 +++++++++---------- .../inspectionRecordMain.data.ts | 34 ++++++++-------- .../inspectionRequest/inspectionMain.data.ts | 20 +++++----- 3 files changed, 47 insertions(+), 47 deletions(-) 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',