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<CrudSchema[]>([ componentProps: { disabled: true, } + }, + tableForm: { + type:'Select', + disabled:true, } }, { @@ -197,6 +201,10 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([ disabled: true } }, + tableForm: { + type:'Select', + disabled:true, + } }, { @@ -204,8 +212,10 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([ field: 'equipmentParts', sort: 'custom', isSearch: true, + tableForm: { + disabled:true, + } }, - { label: '记录是否必填', field: 'numberNeedSwitch', @@ -217,6 +227,9 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([ form: { component: 'Switch', value: false, + }, + tableForm: { + disabled:true, } }, @@ -231,6 +244,9 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([ form: { component: 'Switch', value: false, + }, + tableForm: { + disabled:true, } }, { @@ -242,11 +258,15 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([ 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<CrudSchema[]>([ componentProps: { disabled: true, } + }, + tableForm: { + type:'Select', + disabled:true, } }, { @@ -197,6 +201,10 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([ disabled: true } }, + tableForm: { + type:'Select', + disabled:true, + } }, { @@ -204,6 +212,9 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([ field: 'equipmentParts', sort: 'custom', isSearch: true, + tableForm: { + disabled:true, + } }, { @@ -217,6 +228,9 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([ form: { component: 'Switch', value: false, + }, + tableForm: { + disabled:true, } }, @@ -231,6 +245,9 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([ form: { component: 'Switch', value: false, + }, + tableForm: { + disabled:true, } }, { @@ -242,11 +259,15 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([ table: { width: 170 }, + tableForm: { + disabled:true, + } }, { label: '操作', field: 'action', isForm: false, + isTableForm: false, table: { width: 150, fixed: 'right'