refactor: edit manu

This commit is contained in:
Net 2024-08-27 12:54:07 +07:00 committed by Methapon Metanipat
parent b36a92c050
commit 254710321b

View file

@ -2515,10 +2515,15 @@ const emptyCreateDialog = ref(false);
name: $t('form.field.basicInformation'),
anchor: 'form-basic-info-customer',
},
{
name: $t('customerBranch.tab.attachment'),
anchor: 'form-upload-file-customer',
},
{
name: $t('customer.form.group.branch'),
anchor: 'form-branch-customer-branch',
},
...(customerFormData.customerBranch?.map((v, i) => ({
name:
i === 0
@ -2546,7 +2551,6 @@ const emptyCreateDialog = ref(false);
style="height: 100%; max-height: 100%; overflow-y: auto"
>
<EmployerFormBasicInfo
class="q-mb-xl"
:readonly="
(customerFormState.dialogType === 'edit' &&
customerFormState.readonly === true) ||
@ -2577,6 +2581,19 @@ const emptyCreateDialog = ref(false);
v-model:birth-date="customerFormData.birthDate"
/>
<!-- <div class="row q-col-gutter-sm q-mb-xl">
<UploadFile
id="form-upload-file-customer"
class="q-mb-xl"
hide-action
:dropdown-list="uploadFileList"
v-model:file="customerFormState.file"
@send-ocr="
(group: any, file: any) => ocrStore.sendOcr({ file })
"
/>
</div> -->
<div class="row q-col-gutter-sm" id="form-branch-customer-branch">
<div
class="col-12 text-weight-bold text-body1 row items-center"