From 0f4219c99ffc1db07cd23faaa6a3290611515518 Mon Sep 17 00:00:00 2001 From: TengXF <302828528@qq.com> Date: Wed, 21 Aug 2024 14:57:30 +0800 Subject: [PATCH] =?UTF-8?q?HL-5424=20=E7=89=A9=E6=96=99=E9=9A=94=E7=A6=BB?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=20=E5=88=9B=E5=BB=BA=E4=BA=BA=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inventorymoveJobMain.data.ts | 71 +++++++++++-------- 1 file changed, 40 insertions(+), 31 deletions(-) diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveJobMain/inventorymoveJobMain.data.ts b/src/views/wms/moveManage/inventorymove/inventorymoveJobMain/inventorymoveJobMain.data.ts index 6f0905ed8..eef4d6bb0 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveJobMain/inventorymoveJobMain.data.ts +++ b/src/views/wms/moveManage/inventorymove/inventorymoveJobMain/inventorymoveJobMain.data.ts @@ -494,7 +494,7 @@ export const InventorymoveJobMain = useCrudSchemas(reactive([ table: { width: 180 }, - isTable: true, + isTable: false, form: { component: 'DatePicker', componentProps: { @@ -503,7 +503,7 @@ export const InventorymoveJobMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, - isSearch: true, + isSearch: false, search: { component: 'DatePicker', componentProps: { @@ -520,7 +520,7 @@ export const InventorymoveJobMain = useCrudSchemas(reactive([ table: { width: 150 }, - isTable: true, + isTable: false, }, { label: '最后更新时间', @@ -806,34 +806,43 @@ export const InventorymoveJobDetail = useCrudSchemas(reactive([ // 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: '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', + } + }, + isSearch: true, + search: { + component: 'DatePicker', + componentProps: { + valueFormat: 'YYYY-MM-DD HH:mm:ss', + type: 'daterange', + defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] + } + }, + }, + { + label: '创建者', + field: 'creator', + sort: 'custom', + table: { + width: 150 + }, + }, ])) //表单校验