refactor: edit name model of address
This commit is contained in:
parent
daef0b4283
commit
c47a678886
6 changed files with 64 additions and 51 deletions
|
|
@ -2574,10 +2574,16 @@ const emptyCreateDialog = ref(false);
|
|||
employeeFormState.formDataEmployeeSameAddr
|
||||
"
|
||||
v-model:address="currentFromDataEmployee.address"
|
||||
v-model:addressEN="currentFromDataEmployee.addressEN"
|
||||
v-model:provinceId="currentFromDataEmployee.provinceId"
|
||||
v-model:districtId="currentFromDataEmployee.districtId"
|
||||
v-model:subDistrictId="currentFromDataEmployee.subDistrictId"
|
||||
v-model:address-en="currentFromDataEmployee.addressEN"
|
||||
v-model:moo="currentFromDataEmployee.moo"
|
||||
v-model:moo-en="currentFromDataEmployee.mooEN"
|
||||
v-model:soi="currentFromDataEmployee.soi"
|
||||
v-model:soi-en="currentFromDataEmployee.soiEN"
|
||||
v-model:street="currentFromDataEmployee.street"
|
||||
v-model:street-en="currentFromDataEmployee.streetEN"
|
||||
v-model:province-id="currentFromDataEmployee.provinceId"
|
||||
v-model:district-id="currentFromDataEmployee.districtId"
|
||||
v-model:sub-district-id="currentFromDataEmployee.subDistrictId"
|
||||
employee
|
||||
dense
|
||||
class="q-mb-xl"
|
||||
|
|
@ -3804,11 +3810,17 @@ const emptyCreateDialog = ref(false);
|
|||
id="drawer-form-personal-address"
|
||||
employee
|
||||
v-model:address="currentFromDataEmployee.address"
|
||||
v-model:addressEN="currentFromDataEmployee.addressEN"
|
||||
v-model:provinceId="currentFromDataEmployee.provinceId"
|
||||
v-model:districtId="currentFromDataEmployee.districtId"
|
||||
v-model:subDistrictId="currentFromDataEmployee.subDistrictId"
|
||||
v-model:sameWithEmployer="
|
||||
v-model:address-en="currentFromDataEmployee.addressEN"
|
||||
v-model:moo="currentFromDataEmployee.moo"
|
||||
v-model:moo-en="currentFromDataEmployee.mooEN"
|
||||
v-model:soi="currentFromDataEmployee.soi"
|
||||
v-model:soi-en="currentFromDataEmployee.soiEN"
|
||||
v-model:street="currentFromDataEmployee.street"
|
||||
v-model:street-en="currentFromDataEmployee.streetEN"
|
||||
v-model:province-id="currentFromDataEmployee.provinceId"
|
||||
v-model:district-id="currentFromDataEmployee.districtId"
|
||||
v-model:sub-district-id="currentFromDataEmployee.subDistrictId"
|
||||
v-model:same-with-employer="
|
||||
employeeFormState.formDataEmployeeSameAddr
|
||||
"
|
||||
:readonly="!employeeFormState.isEmployeeEdit"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue