From 990f4b559fa547468a679f076e3496fccf3a8899 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Tue, 26 Nov 2024 15:20:35 +0800 Subject: [PATCH] =?UTF-8?q?YT-1283=E6=89=80=E6=9C=89=E5=8F=91=E8=BF=90?= =?UTF-8?q?=E7=BB=93=E7=AE=97=E6=A8=A1=E5=9D=97=E9=A1=B5=E9=9D=A2=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9C=80=E5=90=8E=E6=9B=B4=E6=96=B0=E8=80=85?= =?UTF-8?q?=EF=BC=8C=E6=9C=80=E5=90=8E=E6=9B=B4=E6=96=B0=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E5=85=AC=E5=85=B1=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../deliverJobMain/deliverJobMain.data.ts | 34 ++++++++++- .../deliverRecordMain.data.ts | 56 +++++++++++++++++++ .../deliverRequestMain.data.ts | 2 - .../deliverplan/saleMain/saleMain.data.ts | 24 ++++---- .../customerStatementMain.data.ts | 2 +- 5 files changed, 100 insertions(+), 18 deletions(-) diff --git a/src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts b/src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts index 72ef90780..25697de78 100644 --- a/src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts +++ b/src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts @@ -585,6 +585,7 @@ export const DeliverJobMain = useCrudSchemas( }, isTable: false }, + { label: '创建时间', field: 'createTime', @@ -635,7 +636,6 @@ export const DeliverJobMain = useCrudSchemas( table: { width: 180 }, - isTable: false, form: { component: 'DatePicker', componentProps: { @@ -652,7 +652,6 @@ export const DeliverJobMain = useCrudSchemas( table: { width: 150 }, - isTable: false }, { label: '操作', @@ -904,6 +903,7 @@ export const DeliverJobDetail = useCrudSchemas(reactive([ }, isTable: false, }, + { label: '创建时间', field: 'createTime', @@ -943,6 +943,36 @@ export const DeliverJobDetail = useCrudSchemas(reactive([ }, isTable: true, }, + { + label: '最后更新时间', + field: 'updateTime', + 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: 'updater', + sort: 'custom', + table: { + width: 150 + }, + }, + ])) //表单校验 diff --git a/src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts b/src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts index 6d87a4b22..9aee9b616 100644 --- a/src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts +++ b/src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts @@ -402,6 +402,34 @@ export const DeliverRecordMain = useCrudSchemas( }, isTable: false }, + { + label: '最后更新时间', + field: 'updateTime', + 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: 'updater', + sort: 'custom', + table: { + width: 150 + }, + }, // { // label: '代码', // field: 'code', @@ -814,6 +842,34 @@ export const DeliverRecordDetail = useCrudSchemas(reactive([ }, isTable: true, }, + { + label: '最后更新时间', + field: 'updateTime', + 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: 'updater', + sort: 'custom', + table: { + width: 150 + }, + }, // { // label: '任务明细ID', // field: 'jobDetailId', diff --git a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts index 9ffaa9d3b..ba7796931 100644 --- a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts @@ -1115,7 +1115,6 @@ export const DeliverRequestDetail = useCrudSchemas(reactive([ table: { width: 180 }, - isTable: false, form: { component: 'DatePicker', componentProps: { @@ -1135,7 +1134,6 @@ export const DeliverRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, - isTable: false, isTableForm: false, isForm: false }, diff --git a/src/views/wms/deliversettlementManage/deliverplan/saleMain/saleMain.data.ts b/src/views/wms/deliversettlementManage/deliverplan/saleMain/saleMain.data.ts index f8f69a610..f7fda27e5 100644 --- a/src/views/wms/deliversettlementManage/deliverplan/saleMain/saleMain.data.ts +++ b/src/views/wms/deliversettlementManage/deliverplan/saleMain/saleMain.data.ts @@ -176,15 +176,6 @@ export const SaleMain = useCrudSchemas(reactive([ }, isTable: false, }, - { - label: '创建者', - field: 'creator', - sort: 'custom', - table: { - width: 150 - }, - isForm: false, - }, { label: '创建时间', field: 'createTime', @@ -216,14 +207,13 @@ export const SaleMain = useCrudSchemas(reactive([ }, }, { - label: '最后更新者', - field: 'updater', + label: '创建者', + field: 'creator', sort: 'custom', table: { width: 150 }, isForm: false, - isTable: false }, { label: '最后更新时间', @@ -245,7 +235,15 @@ export const SaleMain = useCrudSchemas(reactive([ } }, isForm: false, - isTable: false + }, + { + label: '最后更新者', + field: 'updater', + sort: 'custom', + table: { + width: 150 + }, + isForm: false, }, { label: '当前阶段', diff --git a/src/views/wms/deliversettlementManage/moldAllocation/customerStatement/customerStatementMain.data.ts b/src/views/wms/deliversettlementManage/moldAllocation/customerStatement/customerStatementMain.data.ts index 124616c97..1a5904214 100644 --- a/src/views/wms/deliversettlementManage/moldAllocation/customerStatement/customerStatementMain.data.ts +++ b/src/views/wms/deliversettlementManage/moldAllocation/customerStatement/customerStatementMain.data.ts @@ -116,7 +116,7 @@ export const CustomerStatementMain = useCrudSchemas(reactive([ component: 'DatePicker', componentProps: { type: 'datetime', - valueFormat: 'YYYY-MM' + valueFormat: 'YYYY-MM', } }, },