diff --git a/src/components/03_customer-management/FormEmployeeVisa.vue b/src/components/03_customer-management/FormEmployeeVisa.vue index 572d66a1..8b912492 100644 --- a/src/components/03_customer-management/FormEmployeeVisa.vue +++ b/src/components/03_customer-management/FormEmployeeVisa.vue @@ -37,11 +37,13 @@ const expireDate = defineModel('expireDate'); const remark = defineModel('remark'); const workerType = defineModel('workerType'); const number = defineModel('number'); +const reportDate = defineModel('reportDate'); -const calculatedVisaDate = computed(() => { - if (!issueDate.value) return undefined; - return calculate90DayNext(issueDate.value); -}); +// +// const calculatedVisaDate = computed(() => { +// if (!issueDate.value) return undefined; +// return calculate90DayNext(issueDate.value); +// }); defineProps<{ title?: string; @@ -138,6 +140,10 @@ watch( ); }, ); +// +// watch([() => issueDate.value], () => { +// reportDate.value = calculate90DayNext(issueDate.value); +// });