From 626cc338f89b44d6d2d2c7b8108126adae52cb72 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 3 Dec 2025 09:33:58 +0700 Subject: [PATCH] fix:command-type-code-array --- src/modules/13_salary/views/04_salaryLists.vue | 12 +++++++++++- .../13_salary/views/05_salaryListsEmployee.vue | 3 ++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/modules/13_salary/views/04_salaryLists.vue b/src/modules/13_salary/views/04_salaryLists.vue index 29281be7b..9644131ca 100644 --- a/src/modules/13_salary/views/04_salaryLists.vue +++ b/src/modules/13_salary/views/04_salaryLists.vue @@ -80,6 +80,15 @@ const titleCommand = computed(() => { return `ปีงบประมาณ ${year.value + 543} รอบการขึ้นเงินเดือน ${txt}`; }); +//ประเภทคำสั่ง +const commandTypeCodeArray = computed(() => { + if (roundFilter.value?.shortCode === "OCT") { + return ["C-PM-33", "C-PM-34", "C-PM-35"]; + } else { + return ["C-PM-33", "C-PM-34"]; + } +}); + /** function เรียกข้อมูลรอบการขึ้นเงินเดือน*/ async function getRound() { showLoader(); @@ -644,13 +653,14 @@ onMounted(async () => { /> + { /> +