diff --git a/src/pages/03_customer-management/form.ts b/src/pages/03_customer-management/form.ts index abbff607..6f8c78f4 100644 --- a/src/pages/03_customer-management/form.ts +++ b/src/pages/03_customer-management/form.ts @@ -235,7 +235,7 @@ export const useCustomerForm = defineStore('form-customer', () => { ? '' : currentFormData.value.customerBranch?.[0].branchCode : '', - codeCustomer: '', + codeCustomer: undefined, legalPersonNo: currentFormData.value.customerBranch.length !== 0