From dcdc8c5d4be03a513dd600bbd812387e1d362f05 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 13 Aug 2024 10:10:21 +0700 Subject: [PATCH 1/3] =?UTF-8?q?=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=20=3D>=20permissi?= =?UTF-8?q?on=20=E0=B8=A3=E0=B8=AD=E0=B8=9A=E0=B8=81=E0=B8=B2=E0=B8=A3?= =?UTF-8?q?=E0=B8=82=E0=B8=B6=E0=B9=89=E0=B8=99=E0=B9=80=E0=B8=87=E0=B8=B4?= =?UTF-8?q?=E0=B8=99=E0=B9=80=E0=B8=94=E0=B8=B7=E0=B8=AD=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/SalaryRound/DialogForm.vue | 19 ++++++++-- src/modules/13_salary/views/salaryRound.vue | 37 +++++++++++++------ 2 files changed, 40 insertions(+), 16 deletions(-) diff --git a/src/modules/13_salary/components/SalaryRound/DialogForm.vue b/src/modules/13_salary/components/SalaryRound/DialogForm.vue index ff2600929..5c000139e 100644 --- a/src/modules/13_salary/components/SalaryRound/DialogForm.vue +++ b/src/modules/13_salary/components/SalaryRound/DialogForm.vue @@ -96,10 +96,18 @@ function onSubmit() { function inputEdit(val: boolean) { return { "full-width cursor-pointer inputgreen ": val, - "full-width cursor-pointer inputgreen": !val, + "full-width cursor-pointer ": !val, }; } +function onUpdatePeriod(val: string) { + if (val === "SPECIAL") { + isActive.value = true; + } else { + isActive.value = false; + } +} + /** callbackFunction ทำการ fetch ข้อมูลไฟล์เมื่อเปิด Dialog*/ watch( () => modal.value, @@ -137,6 +145,7 @@ watch(
diff --git a/src/modules/13_salary/views/salaryRound.vue b/src/modules/13_salary/views/salaryRound.vue index c5c77cc1b..bcba2d192 100644 --- a/src/modules/13_salary/views/salaryRound.vue +++ b/src/modules/13_salary/views/salaryRound.vue @@ -1,6 +1,7 @@