fix: handle code undefined
This commit is contained in:
parent
f2b9ab0217
commit
ddd1094f3a
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ export const useCustomerForm = defineStore('form-customer', () => {
|
||||||
? ''
|
? ''
|
||||||
: currentFormData.value.customerBranch?.[0].branchCode
|
: currentFormData.value.customerBranch?.[0].branchCode
|
||||||
: '',
|
: '',
|
||||||
codeCustomer: '',
|
codeCustomer: undefined,
|
||||||
|
|
||||||
legalPersonNo:
|
legalPersonNo:
|
||||||
currentFormData.value.customerBranch.length !== 0
|
currentFormData.value.customerBranch.length !== 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue