refactor: by data
This commit is contained in:
parent
d1133d0bc2
commit
425bd0b784
1 changed files with 2 additions and 2 deletions
|
|
@ -1872,6 +1872,7 @@ const emptyCreateDialog = ref(false);
|
||||||
<EmployerFormBranch
|
<EmployerFormBranch
|
||||||
v-if="!!customerFormState.editCustomerId"
|
v-if="!!customerFormState.editCustomerId"
|
||||||
:index="idx"
|
:index="idx"
|
||||||
|
v-model:customer="customerFormData"
|
||||||
v-model:customer-branch="customerFormData.customerBranch[idx]"
|
v-model:customer-branch="customerFormData.customerBranch[idx]"
|
||||||
:customer-type="customerFormData.customerType"
|
:customer-type="customerFormData.customerType"
|
||||||
:customer-name="`${customerFormData.firstName} ${customerFormData.lastName}`"
|
:customer-name="`${customerFormData.firstName} ${customerFormData.lastName}`"
|
||||||
|
|
@ -2710,6 +2711,7 @@ const emptyCreateDialog = ref(false);
|
||||||
<EmployerFormBranch
|
<EmployerFormBranch
|
||||||
v-if="!!customerFormState.editCustomerId"
|
v-if="!!customerFormState.editCustomerId"
|
||||||
:index="idx"
|
:index="idx"
|
||||||
|
v-model:customer="customerFormData"
|
||||||
v-model:customer-branch="
|
v-model:customer-branch="
|
||||||
customerFormData.customerBranch[idx]
|
customerFormData.customerBranch[idx]
|
||||||
"
|
"
|
||||||
|
|
@ -3104,8 +3106,6 @@ const emptyCreateDialog = ref(false);
|
||||||
:dropdown-list="uploadFileListEmployee"
|
:dropdown-list="uploadFileListEmployee"
|
||||||
@send-ocr="
|
@send-ocr="
|
||||||
async (v: any, f: any) => {
|
async (v: any, f: any) => {
|
||||||
|
|
||||||
|
|
||||||
await ocrStore.sendOcr({ file: f });
|
await ocrStore.sendOcr({ file: f });
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue