From 665b0cca249cf71fd4bfb460bfb4ec8ba12d55b6 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 25 Mar 2025 17:02:17 +0700 Subject: [PATCH] =?UTF-8?q?fix=20=E0=B9=80=E0=B8=87=E0=B8=B4=E0=B8=99?= =?UTF-8?q?=E0=B9=80=E0=B8=94=E0=B8=B7=E0=B8=AD=E0=B8=99=E0=B8=84=E0=B9=88?= =?UTF-8?q?=E0=B8=B2=E0=B8=88=E0=B9=89=E0=B8=B2=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../detail/Salary/02_NotReceiveSalary.vue | 19 +++++++++++++------ .../components/detail/Salary/Main.vue | 14 +++++++++++--- .../components/detail/TabMain.vue | 5 +++-- 3 files changed, 27 insertions(+), 11 deletions(-) diff --git a/src/modules/04_registryPerson/components/detail/Salary/02_NotReceiveSalary.vue b/src/modules/04_registryPerson/components/detail/Salary/02_NotReceiveSalary.vue index 51ecd7408..c148fe868 100644 --- a/src/modules/04_registryPerson/components/detail/Salary/02_NotReceiveSalary.vue +++ b/src/modules/04_registryPerson/components/detail/Salary/02_NotReceiveSalary.vue @@ -32,6 +32,9 @@ const { } = useCounterMixin(); const { createPathUploadFlie, getPathUploadFlie, uploadFile } = useRegistryNewDataStore(); +const salaryText = ref( + route.name === "registryNewByid" ? "เงินเดือน" : "ค่าจ้าง" +); const id = ref(""); const profileId = ref( @@ -166,7 +169,7 @@ const pagination = ref({ const columnsHistory = ref(baseColumns.value); const visibleColumnsHistory = ref(baseVisibleColumns.value); -const fileGroup = ref("เอกสารบันทึกวันที่ไม่ได้รับเงินเดือน"); +const fileGroup = ref(`เอกสารบันทึกวันที่ไม่ได้รับ${salaryText.value}`); const fileUpload = ref(null); const fileData = ref(null); const isUpload = ref(false); @@ -443,7 +446,9 @@ onMounted(() => { icon="mdi-history" @click.stop.prevent="onClickHistory(props.row.id)" > - ประวัติบันทึกวันที่ไม่ได้รับเงินเดือนฯ + {{ + `ประวัติบันทึกวันที่ไม่ได้รับ${salaryText}ฯ` + }} { icon="mdi-history" @click="onClickHistory(props.row.id)" > - ประวัติบันทึกวันที่ไม่ได้รับเงินเดือนฯ + {{ + `ประวัติบันทึกวันที่ไม่ได้รับ${salaryText}ฯ` + }} { @@ -789,7 +796,7 @@ onMounted(() => { diff --git a/src/modules/04_registryPerson/components/detail/Salary/Main.vue b/src/modules/04_registryPerson/components/detail/Salary/Main.vue index 2aed9c576..a78286a65 100644 --- a/src/modules/04_registryPerson/components/detail/Salary/Main.vue +++ b/src/modules/04_registryPerson/components/detail/Salary/Main.vue @@ -1,5 +1,6 @@