diff --git a/src/pages/03_customer-management/form.ts b/src/pages/03_customer-management/form.ts index 036f34c5..a8fe3e00 100644 --- a/src/pages/03_customer-management/form.ts +++ b/src/pages/03_customer-management/form.ts @@ -71,6 +71,8 @@ export const useCustomerForm = defineStore('form-customer', () => { currentFormData.value = structuredClone(defaultFormData); currentFormData.value.registeredBranchId = branchStore.currentMyBranch?.id || ''; + resetFormData = structuredClone(defaultFormData); + resetFormData.registeredBranchId = branchStore.currentMyBranch?.id || ''; return; }