From 2b1ecba003f852376fd2dcc1a0cbe7dd0ec120ea Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Wed, 5 Nov 2025 20:31:25 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84=E0=B8=82?= =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1=E0=B8=95=E0=B8=B4?= =?UTF-8?q?=E0=B8=84=E0=B8=99=E0=B8=84=E0=B8=A3=E0=B8=AD=E0=B8=87=E0=B8=97?= =?UTF-8?q?=E0=B8=B5=E0=B9=88=E0=B9=81=E0=B8=9A=E0=B8=9A=E0=B8=A3=E0=B9=88?= =?UTF-8?q?=E0=B8=B2=E0=B8=87=E0=B9=84=E0=B8=A1=E0=B9=88=E0=B9=81=E0=B8=AA?= =?UTF-8?q?=E0=B8=94=E0=B8=87=20=E0=B8=9B=E0=B8=B1=E0=B8=88=E0=B8=88?= =?UTF-8?q?=E0=B8=B8=E0=B8=9A=E0=B8=B1=E0=B8=99/=E0=B9=81=E0=B8=9A?= =?UTF-8?q?=E0=B8=9A=E0=B8=A3=E0=B9=88=E0=B8=B2=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../02_organization/components/DialogHistoryPos.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/modules/02_organization/components/DialogHistoryPos.vue b/src/modules/02_organization/components/DialogHistoryPos.vue index 7842de7e9..2acfd5cd7 100644 --- a/src/modules/02_organization/components/DialogHistoryPos.vue +++ b/src/modules/02_organization/components/DialogHistoryPos.vue @@ -212,10 +212,9 @@ function formatHistoryData(data: HistoryPos[]) { function formatHistoryOwnerData(data: HistoryPos[]) { return data.map((item) => ({ ...item, - fullname: - item.firstName - ? `${item.prefix}${item.firstName} ${item.lastName}`.trim() - : "ว่าง", + fullname: item.firstName + ? `${item.prefix}${item.firstName} ${item.lastName}`.trim() + : "ว่าง", })); } @@ -266,7 +265,9 @@ watch(
{{ - store.typeOrganizational === "current" + store.typeOrganizational === "current" || + (store.typeOrganizational === "draft" && + historyType === "OWNER_HISTORY") ? props.rowIndex + 1 : props.rowIndex + 1 == 1 ? "1 (แบบร่าง)"