From a7457b6ba14ed23014f1e58cbc0ef7e4ec48bb07 Mon Sep 17 00:00:00 2001 From: "YEJIAXING-PC\\lenovo" <591141169@qq.com> Date: Thu, 22 May 2025 16:40:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E5=AD=98=E4=BA=8B=E5=8A=A1=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=EF=BC=8C=E6=B2=A1=E6=9C=89=E5=88=9B=E5=BB=BA=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E3=80=81=E6=93=8D=E4=BD=9C=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../eam/item/transaction/transaction.data.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/eam/item/transaction/transaction.data.ts b/src/views/eam/item/transaction/transaction.data.ts index 9462c35..890428b 100644 --- a/src/views/eam/item/transaction/transaction.data.ts +++ b/src/views/eam/item/transaction/transaction.data.ts @@ -94,24 +94,24 @@ export const Transaction = useCrudSchemas(reactive([ sort: 'custom', isSearch: false, }, - { - label: '创建时间', - field: 'createTime', + { + label: '操作人', + field: 'creator', sort: 'custom', - formatter: dateFormatter, isForm: false, + formatter: (_: Recordable, __: TableColumn, cellValue: number) => { + return userListAll.find((account) => account.id == cellValue)?.nickname + }, table: { width: 170 }, }, { - label: '操作人', - field: 'creator', + label: '操作时间', + field: 'createTime', sort: 'custom', + formatter: dateFormatter, isForm: false, - formatter: (_: Recordable, __: TableColumn, cellValue: number) => { - return userListAll.find((account) => account.id == cellValue)?.nickname - }, table: { width: 170 },