diff --git a/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue b/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue index 465bb607f..0bdbf2899 100644 --- a/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue +++ b/src/modules/11_discipline/components/3_InvestigateDisciplinary/Form.vue @@ -193,7 +193,7 @@ function validateForm() { * @param val จำนวนวันที่ต้องการขยาย */ function calEndDate(val: string) { - const date = new Date(props.data.investigationDateEnd); + const date = new Date(props.data.disciplinaryDateEnd); const dateNew = new Date(); formData.disciplinaryDateEnd = new Date( dateNew.setDate(date.getDate() + Number(val)) @@ -459,6 +459,7 @@ onMounted(async () => {