feat: add customer branch
This commit is contained in:
parent
e58db7085c
commit
64a9df2613
1 changed files with 2 additions and 1 deletions
|
|
@ -139,7 +139,8 @@ export const useCustomerForm = defineStore('form-customer', () => {
|
|||
currentFormData.value.customerBranch?.push({
|
||||
id: '',
|
||||
code: '',
|
||||
branchNo: 1,
|
||||
branchNo:
|
||||
(currentFormData.value.customerBranch?.at(-1)?.branchNo || 0) + 1,
|
||||
address: '',
|
||||
addressEN: '',
|
||||
provinceId: '',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue