From 2e62e43288db8135dec5a3c45cb6a02994a33bed Mon Sep 17 00:00:00 2001 From: zhaoyiran Date: Thu, 27 Feb 2025 19:42:22 +0800 Subject: [PATCH] =?UTF-8?q?SBBJ-862=E6=96=B0=E5=A2=9E=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E5=B7=A1=E6=A3=80=E7=82=B9=E6=A3=80=E9=A1=B9=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=98=8E=E7=BB=86=E5=86=85=E5=AE=B9=E6=98=BE=E7=A4=BA=E4=B8=8D?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../deviceInspectionConfig.data.ts | 22 ++++++++++++++++++- .../moldInspectionConfig.data.ts | 21 ++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/src/views/eam/basic/deviceInspectionConfig/deviceInspectionConfig.data.ts b/src/views/eam/basic/deviceInspectionConfig/deviceInspectionConfig.data.ts index 15be0f3..8134f13 100644 --- a/src/views/eam/basic/deviceInspectionConfig/deviceInspectionConfig.data.ts +++ b/src/views/eam/basic/deviceInspectionConfig/deviceInspectionConfig.data.ts @@ -181,6 +181,10 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive([ componentProps: { disabled: true, } + }, + tableForm: { + type:'Select', + disabled:true, } }, { @@ -197,6 +201,10 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive([ disabled: true } }, + tableForm: { + type:'Select', + disabled:true, + } }, { @@ -204,8 +212,10 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive([ field: 'equipmentParts', sort: 'custom', isSearch: true, + tableForm: { + disabled:true, + } }, - { label: '记录是否必填', field: 'numberNeedSwitch', @@ -217,6 +227,9 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive([ form: { component: 'Switch', value: false, + }, + tableForm: { + disabled:true, } }, @@ -231,6 +244,9 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive([ form: { component: 'Switch', value: false, + }, + tableForm: { + disabled:true, } }, { @@ -242,11 +258,15 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive([ table: { width: 170 }, + tableForm: { + disabled:true, + }, }, { label: '操作', field: 'action', isForm: false, + isTableForm: false, table: { width: 150, fixed: 'right' diff --git a/src/views/eam/basic/moldInspectionConfig/moldInspectionConfig.data.ts b/src/views/eam/basic/moldInspectionConfig/moldInspectionConfig.data.ts index 6660da3..cee88b7 100644 --- a/src/views/eam/basic/moldInspectionConfig/moldInspectionConfig.data.ts +++ b/src/views/eam/basic/moldInspectionConfig/moldInspectionConfig.data.ts @@ -181,6 +181,10 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive([ componentProps: { disabled: true, } + }, + tableForm: { + type:'Select', + disabled:true, } }, { @@ -197,6 +201,10 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive([ disabled: true } }, + tableForm: { + type:'Select', + disabled:true, + } }, { @@ -204,6 +212,9 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive([ field: 'equipmentParts', sort: 'custom', isSearch: true, + tableForm: { + disabled:true, + } }, { @@ -217,6 +228,9 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive([ form: { component: 'Switch', value: false, + }, + tableForm: { + disabled:true, } }, @@ -231,6 +245,9 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive([ form: { component: 'Switch', value: false, + }, + tableForm: { + disabled:true, } }, { @@ -242,11 +259,15 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive([ table: { width: 170 }, + tableForm: { + disabled:true, + } }, { label: '操作', field: 'action', isForm: false, + isTableForm: false, table: { width: 150, fixed: 'right'