From 95224671b1e9d6762417057ddb1dcc93d584c594 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Mon, 24 Feb 2025 15:04:50 +0700 Subject: [PATCH] =?UTF-8?q?fix=20=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=87?= =?UTF-8?q?=E0=B8=B2=E0=B8=99=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A=E0=B8=B5?= =?UTF-8?q?=E0=B8=A2=E0=B8=99=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1?= =?UTF-8?q?=E0=B8=95=E0=B8=B4=20xlsx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/21_report/views/02_reportRegistry.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/21_report/views/02_reportRegistry.vue b/src/modules/21_report/views/02_reportRegistry.vue index 15b99dc4f..3b118433a 100644 --- a/src/modules/21_report/views/02_reportRegistry.vue +++ b/src/modules/21_report/views/02_reportRegistry.vue @@ -565,7 +565,7 @@ async function onSearch() { function exportToExcel() { const newData = rows.value.map((e: any) => { const { dateAppointFull, profileId, empType, ...rest } = e; - return rest; + return { ...rest, dateRetireLaw: date2Thai(e.dateRetireLaw) }; }); const headers = columns.value?.map((item: any) => item.label) || []; // หัวคอลัมน์ภาษาไทย