feat: add more anchor

This commit is contained in:
Methapon2001 2024-08-06 11:51:36 +07:00
parent ebc55023dd
commit a86bcf4786

View file

@ -1765,6 +1765,10 @@ function createEmployeeForm() {
name: $t('customer.form.group.basicInfo'),
anchor: 'form-basic-info-customer',
},
{
name: $t('customer.form.group.branch'),
anchor: 'form-branch-customer-branch',
},
...(customerFormData.customerBranch?.map((v) => ({
name: $t('customer.form.branch.title', {
name: v.branchNo || 0,
@ -1803,7 +1807,9 @@ function createEmployeeForm() {
v-model:branch-options="registerAbleBranchOption"
/>
<FormBranch
id="form-branch-customer"
v-if="!!customerFormState.editCustomerId"
id="form-branch-customer-branch"
:customer-type="customerFormData.customerType"
:editable="
customerFormState.dialogType === 'create' ||
customerFormState.editReadonly === false