From b9e761a526461a4365124690e01dc0f4a9dcdc6b Mon Sep 17 00:00:00 2001 From: AnandaTon Date: Thu, 9 Nov 2023 17:46:11 +0700 Subject: [PATCH] =?UTF-8?q?halfDay=20=E0=B9=83=E0=B8=AA=E0=B9=88=E0=B9=83?= =?UTF-8?q?=E0=B8=99=20formData?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../05_leave/componenst/Forms/01_SickForm.vue | 560 ++++++++---------- .../componenst/Forms/12_FollowSpouseForm.vue | 2 +- .../05_leave/interface/request/SickForm.ts | 2 + 3 files changed, 254 insertions(+), 310 deletions(-) diff --git a/src/modules/05_leave/componenst/Forms/01_SickForm.vue b/src/modules/05_leave/componenst/Forms/01_SickForm.vue index b446ab5..84f9850 100644 --- a/src/modules/05_leave/componenst/Forms/01_SickForm.vue +++ b/src/modules/05_leave/componenst/Forms/01_SickForm.vue @@ -1,347 +1,289 @@ diff --git a/src/modules/05_leave/componenst/Forms/12_FollowSpouseForm.vue b/src/modules/05_leave/componenst/Forms/12_FollowSpouseForm.vue index f242f3f..6202542 100644 --- a/src/modules/05_leave/componenst/Forms/12_FollowSpouseForm.vue +++ b/src/modules/05_leave/componenst/Forms/12_FollowSpouseForm.vue @@ -22,7 +22,7 @@ const formData = reactive({ startLeaveDate: null, endLeaveDate: null, leaveTotal: "", //จำนวนวันลา - salary: 0, //เงินเดือนปัจจุบัน + salary: 25000, //เงินเดือนปัจจุบัน spouseName: "", //ชื่อคู่สมรส spousePosition: "", //ตำแหน่งคู่สมรส spouseLevel: "", //ระดับคู่สมรส diff --git a/src/modules/05_leave/interface/request/SickForm.ts b/src/modules/05_leave/interface/request/SickForm.ts index 56b9b51..83b71a9 100644 --- a/src/modules/05_leave/interface/request/SickForm.ts +++ b/src/modules/05_leave/interface/request/SickForm.ts @@ -2,6 +2,7 @@ interface FormData { leaveNo: string //เขียนที่*** startLeaveDate: Date | null //*วัน เดือน ปีเริ่มต้นลา endLeaveDate: Date | null //*วัน เดือน ปีสิ้นสุดลา + halfDay: string leaveTotal: string //จำนวนวันลา contractTel: string //หมายเลขโทรศัพท์ที่ติดต่อได้ leaveContactTel: string //หมายเลขที่ติดต่อขณะลา @@ -15,6 +16,7 @@ interface FormRef { leaveNo: object | null //เขียนที่*** startLeaveDate: object | null //*วัน เดือน ปีเริ่มต้นลา endLeaveDate: object | null //*วัน เดือน ปีสิ้นสุดลา + halfDay: object | null leaveTotal: object | null //จำนวนวันลา contractTel: object | null //หมายเลขโทรศัพท์ที่ติดต่อได้ leaveContactTel: object | null //หมายเลขที่ติดต่อขณะลา