diff --git a/src/pages/03_customer-management/MainPage.vue b/src/pages/03_customer-management/MainPage.vue index 708b966a..52e7b960 100644 --- a/src/pages/03_customer-management/MainPage.vue +++ b/src/pages/03_customer-management/MainPage.vue @@ -411,6 +411,7 @@ function customerConfirmUnsave() { action: () => { customerFormStore.resetForm(); customerFormState.value.editReadonly = true; + customerFormState.value.dialogModal = false; }, cancel: () => {}, }); @@ -1708,6 +1709,7 @@ function createCustomerForm(customerType: 'CORP' | 'PERS') { await fetchListCustomer(); } " + :close="() => (customerFormState.editReadonly = true)" :before-close=" () => { if (customerFormStore.isFormDataDifferent()) {