|
|
@ -24,7 +24,7 @@ export const EquipmentSpotCheckRecordMain = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
label: '描述', |
|
|
|
field: 'describing', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true |
|
|
|
isSearch: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '设备工装编号', |
|
|
@ -39,9 +39,6 @@ export const EquipmentSpotCheckRecordMain = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
dictType: DICT_TYPE.DEVICE_TYPE, |
|
|
|
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
|
|
|
|
isSearch: true, |
|
|
|
form: { |
|
|
|
component: 'SelectV2' |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '计划工单号', |
|
|
@ -54,7 +51,7 @@ export const EquipmentSpotCheckRecordMain = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
field: 'planStartTime', |
|
|
|
sort: 'custom', |
|
|
|
formatter: dateFormatter, |
|
|
|
isSearch: true, |
|
|
|
isSearch: false, |
|
|
|
search: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
@ -76,7 +73,7 @@ export const EquipmentSpotCheckRecordMain = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
field: 'planEndTime', |
|
|
|
sort: 'custom', |
|
|
|
formatter: dateFormatter, |
|
|
|
isSearch: true, |
|
|
|
isSearch: false, |
|
|
|
search: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
@ -98,7 +95,7 @@ export const EquipmentSpotCheckRecordMain = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
field: 'startTime', |
|
|
|
sort: 'custom', |
|
|
|
formatter: dateFormatter, |
|
|
|
isSearch: true, |
|
|
|
isSearch: false, |
|
|
|
search: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
@ -120,7 +117,7 @@ export const EquipmentSpotCheckRecordMain = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
field: 'endTime', |
|
|
|
sort: 'custom', |
|
|
|
formatter: dateFormatter, |
|
|
|
isSearch: true, |
|
|
|
isSearch: false, |
|
|
|
search: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
@ -143,7 +140,7 @@ export const EquipmentSpotCheckRecordMain = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
sort: 'custom', |
|
|
|
dictType: DICT_TYPE.FAILURE_REASON, |
|
|
|
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
|
|
|
|
isSearch: true, |
|
|
|
isSearch: false, |
|
|
|
form: { |
|
|
|
component: 'SelectV2' |
|
|
|
} |
|
|
@ -152,7 +149,7 @@ export const EquipmentSpotCheckRecordMain = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
label: '验证人', |
|
|
|
field: 'verifyer', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true, |
|
|
|
isSearch: false, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
value: 0 |
|
|
@ -162,7 +159,7 @@ export const EquipmentSpotCheckRecordMain = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
label: '验证内容', |
|
|
|
field: 'verifyContent', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true, |
|
|
|
isSearch: false, |
|
|
|
form: { |
|
|
|
component: 'Editor', |
|
|
|
componentProps: { |
|
|
@ -176,7 +173,7 @@ export const EquipmentSpotCheckRecordMain = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
field: 'verifyTime', |
|
|
|
sort: 'custom', |
|
|
|
formatter: dateFormatter, |
|
|
|
isSearch: true, |
|
|
|
isSearch: false, |
|
|
|
search: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
@ -197,7 +194,7 @@ export const EquipmentSpotCheckRecordMain = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
label: '点检人', |
|
|
|
field: 'maintenancer', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true, |
|
|
|
isSearch: false, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
value: 0 |
|
|
@ -208,7 +205,7 @@ export const EquipmentSpotCheckRecordMain = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
field: 'completionTime', |
|
|
|
sort: 'custom', |
|
|
|
formatter: dateFormatter, |
|
|
|
isSearch: true, |
|
|
|
isSearch: false, |
|
|
|
search: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
@ -230,7 +227,7 @@ export const EquipmentSpotCheckRecordMain = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
field: 'maintenanceTime', |
|
|
|
sort: 'custom', |
|
|
|
formatter: dateFormatter, |
|
|
|
isSearch: true, |
|
|
|
isSearch: false, |
|
|
|
search: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
@ -251,8 +248,8 @@ export const EquipmentSpotCheckRecordMain = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
label: '是否拍照', |
|
|
|
field: 'isPictures', |
|
|
|
sort: 'custom', |
|
|
|
dictType: DICT_TYPE.INFRA_BOOLEAN_STRING, |
|
|
|
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
|
|
|
|
dictType: DICT_TYPE.INFRA_BOOLEAN_STRING, |
|
|
|
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
|
|
|
|
isSearch: true, |
|
|
|
form: { |
|
|
|
component: 'Radio' |
|
|
@ -262,9 +259,9 @@ export const EquipmentSpotCheckRecordMain = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
label: '流程状态', |
|
|
|
field: 'status', |
|
|
|
sort: 'custom', |
|
|
|
dictType: DICT_TYPE.JOB_STATUS, |
|
|
|
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
|
|
|
|
isSearch: true, |
|
|
|
dictType: DICT_TYPE.EAM_ORDER_STATUS, |
|
|
|
dictClass: 'string', |
|
|
|
isSearch: false, |
|
|
|
form: { |
|
|
|
component: 'Radio' |
|
|
|
} |
|
|
@ -273,25 +270,34 @@ export const EquipmentSpotCheckRecordMain = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
label: '自动接单', |
|
|
|
field: 'autoOrder', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true |
|
|
|
isSearch: false, |
|
|
|
isTable: false, |
|
|
|
isForm: false, |
|
|
|
isDetail:false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '自动执行', |
|
|
|
field: 'autoPerform', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true |
|
|
|
isSearch: false, |
|
|
|
isTable: false, |
|
|
|
isForm: false, |
|
|
|
isDetail:false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '自动验证', |
|
|
|
field: 'autoVerify', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true |
|
|
|
isSearch: false, |
|
|
|
isTable: false, |
|
|
|
isForm: false, |
|
|
|
isDetail:false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '直接生成记录', |
|
|
|
field: 'directCreateRecord', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true |
|
|
|
isSearch: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '班组类型', |
|
|
@ -300,27 +306,27 @@ export const EquipmentSpotCheckRecordMain = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
dictType: DICT_TYPE.BASIC_TEAM_TYPE, |
|
|
|
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
|
|
|
|
isSearch: true, |
|
|
|
form: { |
|
|
|
component: 'SelectV2' |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '所属厂区编号', |
|
|
|
field: 'factoryAreaCode', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true |
|
|
|
isSearch: false, |
|
|
|
isTable: false, |
|
|
|
isForm: false, |
|
|
|
isDetail:false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '车间编号', |
|
|
|
field: 'workshopCode', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true |
|
|
|
isSearch: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '备注', |
|
|
|
field: 'remark', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true |
|
|
|
isSearch: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '是否可用', |
|
|
@ -328,7 +334,10 @@ export const EquipmentSpotCheckRecordMain = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
sort: 'custom', |
|
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
|
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
|
|
|
|
isSearch: true, |
|
|
|
isSearch: false, |
|
|
|
isTable: false, |
|
|
|
isForm: false, |
|
|
|
isDetail:false, |
|
|
|
form: { |
|
|
|
component: 'Switch', |
|
|
|
value: 'TRUE', |
|
|
|