Browse Source

SBBJ-858

master
zhaoyiran 1 month ago
parent
commit
a7d9bebf26
  1. 1
      src/utils/dict.ts
  2. 19
      src/views/eam/basic/deviceInspectionConfig/deviceInspectionConfig.data.ts
  3. 19
      src/views/eam/basic/moldInspectionConfig/moldInspectionConfig.data.ts

1
src/utils/dict.ts

@ -277,6 +277,7 @@ export enum DICT_TYPE {
LOCATION_AREA_TYPE = 'location_area_type', // 库区类型 LOCATION_AREA_TYPE = 'location_area_type', // 库区类型
DEVICEMOLDITEMS_STATUS = 'devicemolditems_status', // 项类型 DEVICEMOLDITEMS_STATUS = 'devicemolditems_status', // 项类型
DEVICE_MOLD_TYPE = 'device_mold_type', // 设备/模具类型 DEVICE_MOLD_TYPE = 'device_mold_type', // 设备/模具类型
LOWERCASE_TRUE_FALSE = 'lowercase_true_false',
TRANSACTION_TYPE = 'transaction_Type', // 事务类型 TRANSACTION_TYPE = 'transaction_Type', // 事务类型
RESULT = 'result', // 维修结果 RESULT = 'result', // 维修结果
MAINTENANCE_SHIFT = 'maintenance_shift',//班次 MAINTENANCE_SHIFT = 'maintenance_shift',//班次

19
src/views/eam/basic/deviceInspectionConfig/deviceInspectionConfig.data.ts

@ -230,7 +230,16 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([
value: false, value: false,
}, },
tableForm: { tableForm: {
type: 'Select',
disabled:true, disabled:true,
initOptions:[ {
label: '是',
value: true
},
{
label: '否',
value: false
}]
} }
}, },
@ -247,7 +256,16 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([
value: false, value: false,
}, },
tableForm: { tableForm: {
type: 'Select',
disabled:true, disabled:true,
initOptions:[ {
label: '是',
value: true
},
{
label: '否',
value: false
}]
} }
}, },
{ {
@ -256,6 +274,7 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
isForm: false, isForm: false,
isTableForm: false,
table: { table: {
width: 170 width: 170
}, },

19
src/views/eam/basic/moldInspectionConfig/moldInspectionConfig.data.ts

@ -231,7 +231,16 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([
value: false, value: false,
}, },
tableForm: { tableForm: {
type: 'Select',
disabled:true, disabled:true,
initOptions:[ {
label: '是',
value: true
},
{
label: '否',
value: false
}]
} }
}, },
@ -248,7 +257,16 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([
value: false, value: false,
}, },
tableForm: { tableForm: {
type: 'Select',
disabled:true, disabled:true,
initOptions:[ {
label: '是',
value: true
},
{
label: '否',
value: false
}]
} }
}, },
{ {
@ -257,6 +275,7 @@ export const DeviceInspectionTwo = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom', sort: 'custom',
formatter: dateFormatter, formatter: dateFormatter,
isForm: false, isForm: false,
isTableForm:false,
table: { table: {
width: 170 width: 170
}, },

Loading…
Cancel
Save