diff --git a/src/modules/05_leave/componenst/Forms/12_FollowSpouseForm.vue b/src/modules/05_leave/componenst/Forms/12_FollowSpouseForm.vue index ab92d65..aca653f 100644 --- a/src/modules/05_leave/componenst/Forms/12_FollowSpouseForm.vue +++ b/src/modules/05_leave/componenst/Forms/12_FollowSpouseForm.vue @@ -27,7 +27,10 @@ const formData = reactive({ spousePosition: "", //ตำแหน่งคู่สมรส spouseLevel: "", //ระดับคู่สมรส dutyCountry: "", //ไปปฏิบัติราชการ ณ ประเทศ - followHistory: "", //ประวัติการลาติดตามคู่สมรส + followHistoryCountry: "", //ประวัติการลาติดตามคู่สมรส + followHistoryTime: "", + followHistoryStart: null, + followHistoryEnd: null, leaveDetail: "", //รายละเอียดการลา file: [], //เอกสารปะกอบ }) @@ -43,7 +46,10 @@ const leaveDetailRef = ref(null) const spousePositionRef = ref(null) const spouseLevelRef = ref(null) const dutyCountryRef = ref(null) -const followHistoryRef = ref(null) +const followHistoryCountryRef = ref(null) +const followHistoryTimeRef = ref(null) +const followHistoryStartRef = ref(null) +const followHistoryEndRef = ref(null) const fileRef = ref(null) const FormRef: FormRef = { @@ -56,7 +62,10 @@ const FormRef: FormRef = { spousePosition: spousePositionRef, //ตำแหน่งคู่สมรส spouseLevel: spouseLevelRef, //ระดับคู่สมรส dutyCountry: dutyCountryRef, //ไปปฏิบัติราชการ ณ ประเทศ - followHistory: followHistoryRef, //ประวัติการลาติดตามคู่สมรส + followHistoryCountry: followHistoryCountryRef, //ประวัติการลาติดตามคู่สมรส + followHistoryEnd: followHistoryEndRef, //ประวัติการลาติดตามคู่สมรส + followHistoryTime: followHistoryTimeRef, //ประวัติการลาติดตามคู่สมรส + followHistoryStart: followHistoryStartRef, //ประวัติการลาติดตามคู่สมรส leaveDetail: leaveDetailRef, //รายละเอียดการลา leaveContactLocation: leaveContactLocationRef, //สถานที่ติดต่อขณะลา file: fileRef, @@ -277,17 +286,84 @@ function onValidate() { :rules="[val => !!val || `${'ปฏิบัติราชการ ณ ประเทศ'}`]" /> +
+
ประวัติการลาติดตามคู่สมรสครั้งสุดท้าย
- + + + + + + + + + + + + +