From adc7a0f3cb9cfb620d07951e189431164bb0d462 Mon Sep 17 00:00:00 2001 From: "STW_TTTY\\stwtt" Date: Mon, 8 Jul 2024 12:04:06 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20=E0=B9=84?= =?UTF-8?q?=E0=B8=A1=E0=B9=88=E0=B8=A1=E0=B8=B5=E0=B8=81=E0=B8=B2=E0=B8=A3?= =?UTF-8?q?=E0=B8=AA=E0=B9=88=E0=B8=87=20=E0=B8=88=E0=B8=B3=E0=B8=99?= =?UTF-8?q?=E0=B8=A7=E0=B8=99=E0=B8=A7=E0=B8=B1=E0=B8=99=20/=E0=B9=81?= =?UTF-8?q?=E0=B8=81=E0=B9=89=20convert=20date=20=E0=B8=88=E0=B8=B2?= =?UTF-8?q?=E0=B8=81=20api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FormLeave/11_WorkInternationalForm.vue | 604 +++++++++--------- 1 file changed, 304 insertions(+), 300 deletions(-) diff --git a/src/modules/05_leave/components/FormLeave/11_WorkInternationalForm.vue b/src/modules/05_leave/components/FormLeave/11_WorkInternationalForm.vue index 22af512..4ccc342 100644 --- a/src/modules/05_leave/components/FormLeave/11_WorkInternationalForm.vue +++ b/src/modules/05_leave/components/FormLeave/11_WorkInternationalForm.vue @@ -195,6 +195,11 @@ watch(props, () => { } }); +watch(()=>formDataWorkInternational.leaveEndDate,()=>{ + if(formDataWorkInternational.leaveStartDate !== null && formDataWorkInternational.leaveEndDate !== null){ + fetchCheck() + } +}) /**Hook */ onMounted(() => { if (props.data) { @@ -214,136 +219,135 @@ onMounted(() => {