From 26ab90b232a84e95be2c5376b88b492e6b16625c Mon Sep 17 00:00:00 2001 From: hwj Date: Thu, 22 Jan 2026 17:53:38 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E6=9B=B4=E6=8D=A2=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E5=8F=B0=E8=B4=A6/=E6=A8=A1=E5=85=B7=E5=8F=B0?= =?UTF-8?q?=E8=B4=A6-=E8=AF=A6=E6=83=85-=E7=82=B9=E6=A3=80=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/erp/mold/detail/index.vue | 2 +- src/views/mes/deviceledger/index.vue | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/erp/mold/detail/index.vue b/src/views/erp/mold/detail/index.vue index 5a85b323..01fd7ae2 100644 --- a/src/views/erp/mold/detail/index.vue +++ b/src/views/erp/mold/detail/index.vue @@ -400,7 +400,7 @@ const buildStepGroups = ( const groups = new Map() for (const row of rows ?? []) { - const time = formatHistoryTime(row?.[options.timeField] ?? row?.createTime) + const time = formatHistoryTime(row?.taskTime ?? row?.[options.timeField] ?? row?.createTime) const operator = String(row?.operator ?? row?.creatorName ?? row?.creator ?? '-') const groupKey = `${row?.managementId ?? ''}__${time}__${operator}` diff --git a/src/views/mes/deviceledger/index.vue b/src/views/mes/deviceledger/index.vue index 9bd27b22..2484a60f 100644 --- a/src/views/mes/deviceledger/index.vue +++ b/src/views/mes/deviceledger/index.vue @@ -265,7 +265,7 @@ v-else direction="vertical" class="device-ledger-history-steps"
保养时间 - {{ String(formatHistoryTime(item.taskTime)).split(' ')[0] }} + {{ String(formatHistoryTime(item.taskTime))}}
@@ -525,7 +525,7 @@ type HistoryStepItem = { criteria?: any images?: string[] remark?: any - inspectionTime?: any + taskTime?: any createTime?: any } type HistoryStepGroup = { key: string; time: string; operator: string; items: HistoryStepItem[] } @@ -534,7 +534,7 @@ const buildStepGroups = (rows: any[], options: { timeField: string; nameFieldCan const groups = new Map() for (const row of rows ?? []) { - const time = formatHistoryTime(row?.[options.timeField] ?? row?.createTime) + const time = formatHistoryTime(row?.taskTime ?? row?.[options.timeField] ?? row?.createTime) const operator = String(row?.operator ?? row?.creatorName ?? row?.creator ?? '-') const groupKey = `${row?.managementId ?? ''}__${time}__${operator}`