From a7d9bebf265a92f9ebd40799e1617b63cef1858a Mon Sep 17 00:00:00 2001 From: zhaoyiran Date: Fri, 28 Feb 2025 14:09:01 +0800 Subject: [PATCH] SBBJ-858 --- src/utils/dict.ts | 1 + .../deviceInspectionConfig.data.ts | 19 +++++++++++++++++++ .../moldInspectionConfig.data.ts | 19 +++++++++++++++++++ 3 files changed, 39 insertions(+) diff --git a/src/utils/dict.ts b/src/utils/dict.ts index e4bda70..a163ba3 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -277,6 +277,7 @@ export enum DICT_TYPE { LOCATION_AREA_TYPE = 'location_area_type', // 库区类型 DEVICEMOLDITEMS_STATUS = 'devicemolditems_status', // 项类型 DEVICE_MOLD_TYPE = 'device_mold_type', // 设备/模具类型 + LOWERCASE_TRUE_FALSE = 'lowercase_true_false', TRANSACTION_TYPE = 'transaction_Type', // 事务类型 RESULT = 'result', // 维修结果 MAINTENANCE_SHIFT = 'maintenance_shift',//班次 diff --git a/src/views/eam/basic/deviceInspectionConfig/deviceInspectionConfig.data.ts b/src/views/eam/basic/deviceInspectionConfig/deviceInspectionConfig.data.ts index 70013c3..a37ed93 100644 --- a/src/views/eam/basic/deviceInspectionConfig/deviceInspectionConfig.data.ts +++ b/src/views/eam/basic/deviceInspectionConfig/deviceInspectionConfig.data.ts @@ -230,7 +230,16 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive([ value: false, }, tableForm: { + type: 'Select', disabled:true, + initOptions:[ { + label: '是', + value: true + }, + { + label: '否', + value: false + }] } }, @@ -247,7 +256,16 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive([ value: false, }, tableForm: { + type: 'Select', disabled:true, + initOptions:[ { + label: '是', + value: true + }, + { + label: '否', + value: false + }] } }, { @@ -256,6 +274,7 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive([ sort: 'custom', formatter: dateFormatter, isForm: false, + isTableForm: false, table: { width: 170 }, diff --git a/src/views/eam/basic/moldInspectionConfig/moldInspectionConfig.data.ts b/src/views/eam/basic/moldInspectionConfig/moldInspectionConfig.data.ts index a9aea10..f9148a4 100644 --- a/src/views/eam/basic/moldInspectionConfig/moldInspectionConfig.data.ts +++ b/src/views/eam/basic/moldInspectionConfig/moldInspectionConfig.data.ts @@ -231,7 +231,16 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive([ value: false, }, tableForm: { + type: 'Select', disabled:true, + initOptions:[ { + label: '是', + value: true + }, + { + label: '否', + value: false + }] } }, @@ -248,7 +257,16 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive([ value: false, }, tableForm: { + type: 'Select', disabled:true, + initOptions:[ { + label: '是', + value: true + }, + { + label: '否', + value: false + }] } }, { @@ -257,6 +275,7 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive([ sort: 'custom', formatter: dateFormatter, isForm: false, + isTableForm:false, table: { width: 170 },