From 55bddfc06625919f5b17a2cc31e43d7051f23e31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Tue, 19 Mar 2024 15:44:20 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E7=94=9F=E4=BA=A7=E7=BF=BB?= =?UTF-8?q?=E5=8C=85=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../packageoverRecordMain.data.ts | 64 +++++++++++++++++-- 1 file changed, 57 insertions(+), 7 deletions(-) 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',