diff --git a/src/pages/03_customer-management/MainPage.vue b/src/pages/03_customer-management/MainPage.vue index 79dd80b7..38471bcf 100644 --- a/src/pages/03_customer-management/MainPage.vue +++ b/src/pages/03_customer-management/MainPage.vue @@ -462,7 +462,7 @@ async function openHistory(id: string) { async function editCustomerForm(id: string) { await customerFormStore.assignFormData(id); customerFormState.value.dialogType = 'edit'; - customerFormState.value.dialogModal = true; + customerFormState.value.drawerModal = true; customerFormState.value.editCustomerId = id; } @@ -510,6 +510,8 @@ function customerConfirmUnsave(close = true) { action: () => { customerFormStore.resetForm(); customerFormState.value.readonly = true; + + customerFormState.value.drawerModal = !close; customerFormState.value.dialogModal = !close; }, cancel: () => {}, @@ -2447,6 +2449,276 @@ const emptyCreateDialog = ref(false); + + +
+
+ +
+ +
+
+
+
+ +
+
+ +
+ + +
+
+ + {{ $t('customer.form.group.branch') }} + +
+ + +
+
+
+
+
+