diff --git a/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRecordMain/packageoverRecordMain.data.ts b/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRecordMain/packageoverRecordMain.data.ts index 28a940c90..5d6693780 100644 --- a/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRecordMain/packageoverRecordMain.data.ts +++ b/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRecordMain/packageoverRecordMain.data.ts @@ -176,28 +176,62 @@ export const PackageoverMain = useCrudSchemas(reactive([ sort: 'custom', isTable:false }, + { + 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', + } + }, + }, + { + label: '最后更新者', + field: 'update', + sort: 'custom', + table: { + width: 150 + }, + }, + { + label: '最后更新时间', + field: 'updateTime', formatter: dateFormatter, detail: { dateFormat: 'YYYY-MM-DD HH:mm:ss' }, + sort: 'custom', table: { width: 180 }, form: { component: 'DatePicker', componentProps: { - style: {width:'100%'}, type: 'datetime', dateFormat: 'YYYY-MM-DD HH:mm:ss', valueFormat: 'x', } }, - isForm: false - } + }, ])) @@ -315,16 +349,16 @@ export const PackageoverDetail = useCrudSchemas(reactive([ }, }, { - label: '从批次', - field: 'fromBatch', + label: '从包装规格', + field: 'fromPackUnit', sort: 'custom', table: { width: 150 }, }, { - label: '到批次', - field: 'toBatch', + label: '到包装规格', + field: 'toPackUnit', sort: 'custom', table: { width: 150 @@ -346,6 +380,22 @@ export const PackageoverDetail = useCrudSchemas(reactive([ width: 150 }, }, + { + label: '从批次', + field: 'fromBatch', + sort: 'custom', + table: { + width: 150 + }, + }, + { + label: '到批次', + field: 'toBatch', + sort: 'custom', + table: { + width: 150 + }, + }, { label: '从库存状态', field: 'fromInventoryStatus',