refactor: header branch
This commit is contained in:
parent
4f93d44c7f
commit
60709887a1
1 changed files with 6 additions and 3 deletions
|
|
@ -1723,9 +1723,12 @@ const emptyCreateDialog = ref(false);
|
||||||
anchor: 'form-branch-customer-branch',
|
anchor: 'form-branch-customer-branch',
|
||||||
},
|
},
|
||||||
...(customerFormData.customerBranch?.map((v, i) => ({
|
...(customerFormData.customerBranch?.map((v, i) => ({
|
||||||
name: $t('customer.form.branch.title', {
|
name:
|
||||||
name: i,
|
i === 0
|
||||||
}),
|
? $t('customer.form.headQuarters.title')
|
||||||
|
: $t('customer.form.branch.title', {
|
||||||
|
name: i,
|
||||||
|
}),
|
||||||
anchor: `form-branch-customer-no-${i}`,
|
anchor: `form-branch-customer-no-${i}`,
|
||||||
sub: true,
|
sub: true,
|
||||||
})) || []),
|
})) || []),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue