From 874685954cc8140683f0511e4c49225bc6a00eef Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Tue, 27 Feb 2024 16:16:46 +0700 Subject: [PATCH] validate --- .../13_salary/components/SalaryRound/DialogForm.vue | 8 ++++++++ src/modules/13_salary/interface/response/Main.ts | 1 + 2 files changed, 9 insertions(+) diff --git a/src/modules/13_salary/components/SalaryRound/DialogForm.vue b/src/modules/13_salary/components/SalaryRound/DialogForm.vue index 49e979f62..e367697f4 100644 --- a/src/modules/13_salary/components/SalaryRound/DialogForm.vue +++ b/src/modules/13_salary/components/SalaryRound/DialogForm.vue @@ -24,6 +24,7 @@ const effectiveDate = ref(null); /** ตัวแปร validate */ const periodRef = ref(null); const effectiveDateRef = ref(null); +const yearRef = ref(null); const typeOptions = ref([ { id: "SPECIAL", name: "รอบพิเศษ" }, { id: "APR", name: "รอบเมษายน" }, @@ -32,6 +33,7 @@ const typeOptions = ref([ const objectForm: ObjectRef = { period: periodRef, effectiveDate: effectiveDateRef, + year: yearRef, }; const props = defineProps({ @@ -161,6 +163,7 @@ watch(