|
@ -73,6 +73,10 @@ export const InspectionPlanMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '编码', |
|
|
label: '编码', |
|
|
field: 'code', |
|
|
field: 'code', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 220, |
|
|
|
|
|
fixed: 'left' |
|
|
|
|
|
}, |
|
|
form:{ |
|
|
form:{ |
|
|
componentProps:{ |
|
|
componentProps:{ |
|
|
disabled:true, |
|
|
disabled:true, |
|
@ -84,18 +88,30 @@ export const InspectionPlanMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '物料编码', |
|
|
label: '物料编码', |
|
|
field: 'itemCode', |
|
|
field: 'itemCode', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
} |
|
|
},{ |
|
|
},{ |
|
|
label: '版本', |
|
|
label: '版本', |
|
|
field: 'version', |
|
|
field: 'version', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
} |
|
|
},{ |
|
|
},{ |
|
|
label: '检验类型编码', |
|
|
label: '检验类型编码', |
|
|
field: 'testTypeCode', |
|
|
field: 'testTypeCode', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
} |
|
|
},{ |
|
|
},{ |
|
|
label: '检验模板编码', |
|
|
label: '检验模板编码', |
|
|
field: 'programmeTemplateCode', |
|
|
field: 'programmeTemplateCode', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
} |
|
|
},{ |
|
|
},{ |
|
|
label: '拆分规则', |
|
|
label: '拆分规则', |
|
|
field: 'splitRule', |
|
|
field: 'splitRule', |
|
@ -128,11 +144,17 @@ export const InspectionPlanMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
field: 'effectiveDate', |
|
|
field: 'effectiveDate', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 180 |
|
|
|
|
|
} |
|
|
},{ |
|
|
},{ |
|
|
label: '失效时间', |
|
|
label: '失效时间', |
|
|
field: 'expirationDate', |
|
|
field: 'expirationDate', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 180 |
|
|
|
|
|
} |
|
|
},{ |
|
|
},{ |
|
|
label: '是否可用', |
|
|
label: '是否可用', |
|
|
field: 'available', |
|
|
field: 'available', |
|
@ -155,10 +177,11 @@ export const InspectionPlanMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
{ |
|
|
{ |
|
|
label: '操作', |
|
|
label: '操作', |
|
|
field: 'action', |
|
|
field: 'action', |
|
|
isForm: false, |
|
|
isDetail: false, |
|
|
|
|
|
isForm: false , |
|
|
table: { |
|
|
table: { |
|
|
width: 150, |
|
|
width: 150, |
|
|
fixed: 'right' |
|
|
fixed: 'right' |
|
|
} |
|
|
}, |
|
|
} |
|
|
} |
|
|
])) |
|
|
])) |
|
|