From 1c4329d8e0e737f9167592fd460421753fb34570 Mon Sep 17 00:00:00 2001 From: songguoqiang <765017469@qq.com> Date: Wed, 9 Oct 2024 14:55:32 +0800 Subject: [PATCH] =?UTF-8?q?YT-170=EF=BC=9A=E5=AE=A2=E6=88=B7=E5=AF=B9?= =?UTF-8?q?=E8=B4=A6=E5=8D=95=E5=AD=97=E6=AE=B5=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../customerStatementMain.data.ts | 40 ++++++++++++++++++- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/src/views/wms/deliversettlementManage/customerStatement/customerStatement/customerStatementMain.data.ts b/src/views/wms/deliversettlementManage/customerStatement/customerStatement/customerStatementMain.data.ts index b454b1130..4e81001b8 100644 --- a/src/views/wms/deliversettlementManage/customerStatement/customerStatement/customerStatementMain.data.ts +++ b/src/views/wms/deliversettlementManage/customerStatement/customerStatement/customerStatementMain.data.ts @@ -12,6 +12,7 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ { label: 'id', field: 'id', + isDetail:false, sort: 'custom', isTable: false, isForm: false, @@ -48,11 +49,21 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] } }, + detail: { + dateFormat: 'YYYY-MM' + }, + table: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + valueFormat: 'YYYY-MM' + } + }, form: { component: 'DatePicker', componentProps: { type: 'datetime', - valueFormat: 'x' + valueFormat: 'YYYY-MM' } }, }, @@ -69,11 +80,14 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ }, }, { - label: '重新比对更新时间', + label: '重新比对时间', field: 'comparisonTime', sort: 'custom', isTable:false, formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, form: { component: 'DatePicker', componentProps: { @@ -88,6 +102,9 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ sort: 'custom', isTable:false, formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, form: { component: 'DatePicker', componentProps: { @@ -102,6 +119,9 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ sort: 'custom', isTable:false, formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, form: { component: 'DatePicker', componentProps: { @@ -116,6 +136,9 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ sort: 'custom', isTable:false, formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, form: { component: 'DatePicker', componentProps: { @@ -130,6 +153,9 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ sort: 'custom', isTable:false, formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, form: { component: 'DatePicker', componentProps: { @@ -144,6 +170,9 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ sort: 'custom', isTable:false, formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, form: { component: 'DatePicker', componentProps: { @@ -157,6 +186,9 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ field: 'abrogateTime', sort: 'custom', isTable:false, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, formatter: dateFormatter, form: { component: 'DatePicker', @@ -192,6 +224,9 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ sort: 'custom', formatter: dateFormatter, isSearch: true, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, search: { component: 'DatePicker', componentProps: { @@ -214,6 +249,7 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ // }, { label: '操作', + isDetail:false, field: 'action', isForm: false, table: {