From 0dc75053c9863e6a129a8889a76c45976e2f8666 Mon Sep 17 00:00:00 2001 From: tengxiaofei <302828528@qq.com> Date: Mon, 26 Aug 2024 19:49:44 +0800 Subject: [PATCH] =?UTF-8?q?HL-5424=EF=BC=9A=E5=88=9B=E5=BB=BA=E4=BA=BA?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E6=97=B6=E9=97=B4=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../containerMainRequest.data.ts | 30 +++++++++++++++++-- .../initialContainerMainRequest.data.ts | 24 +++++++++++++-- 2 files changed, 48 insertions(+), 6 deletions(-) diff --git a/src/views/wms/inventoryjobManage/containermanage/containerMainRequest/containerMainRequest.data.ts b/src/views/wms/inventoryjobManage/containermanage/containerMainRequest/containerMainRequest.data.ts index c023ed086..2c1333d9a 100644 --- a/src/views/wms/inventoryjobManage/containermanage/containerMainRequest/containerMainRequest.data.ts +++ b/src/views/wms/inventoryjobManage/containermanage/containerMainRequest/containerMainRequest.data.ts @@ -224,7 +224,7 @@ export const ContainerMainRequest = useCrudSchemas(reactive([ defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] } }, - isTable: true, + isTable: false, isForm: false, }, { @@ -234,7 +234,7 @@ export const ContainerMainRequest = useCrudSchemas(reactive([ width: 130 }, isForm: false, - isTable: true + isTable: false }, { label: '最后更新时间', @@ -511,6 +511,9 @@ export const ContainerDetailRequest = useCrudSchemas(reactive([ field: 'createTime', sort: 'custom', formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, search: { component: 'DatePicker', componentProps: { @@ -519,10 +522,31 @@ export const ContainerDetailRequest = useCrudSchemas(reactive([ defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] } }, - isTable: false, + form: { + component: 'DatePicker', + componentProps: { + style: {width:'100%'}, + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', + } + }, + table: { + width: 150 + }, + isTable: true, isForm: false, isTableForm: false }, + { + label: '创建者', + field: 'creator', + table: { + width: 130 + }, + isForm: false, + isTable: true + }, { label: '地点ID', field: 'siteId', diff --git a/src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/initialContainerMainRequest.data.ts b/src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/initialContainerMainRequest.data.ts index 119add89e..868d9fc26 100644 --- a/src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/initialContainerMainRequest.data.ts +++ b/src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/initialContainerMainRequest.data.ts @@ -228,7 +228,7 @@ export const ContainerMainRequest = useCrudSchemas(reactive([ defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] } }, - isTable: true, + isTable: false, table: { width: 180 }, @@ -241,7 +241,7 @@ export const ContainerMainRequest = useCrudSchemas(reactive([ width: 130 }, isForm: false, - isTable: true + isTable: false }, { label: '最后更新时间', @@ -489,13 +489,31 @@ export const ContainerDetailRequest = useCrudSchemas(reactive([ defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] } }, - isTable: false, + form: { + component: 'DatePicker', + componentProps: { + style: {width:'100%'}, + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', + } + }, + isTable: true, table: { width: 180 }, isForm: false, isTableForm: false }, + { + label: '创建者', + field: 'creator', + table: { + width: 130 + }, + isForm: false, + isTable: true + }, { label: '地点ID', field: 'siteId',