|
|
@ -164,34 +164,6 @@ export const RawMaterialConsumptionInfo = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '原料创建时间', |
|
|
|
field: 'createTime', |
|
|
|
formatter: dateFormatter, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
}, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
|
type: 'datetime', |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '原料创建者', |
|
|
|
field: 'creator', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '原料物料名称', |
|
|
|
field: 'itemName', |
|
|
@ -257,4 +229,32 @@ export const RawMaterialConsumptionInfo = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '原料创建者', |
|
|
|
field: 'creator', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '原料创建时间', |
|
|
|
field: 'createTime', |
|
|
|
formatter: dateFormatter, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
}, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
|
componentProps: { |
|
|
|
type: 'datetime', |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
])) |