refactor: add id

This commit is contained in:
Thanaphon Frappet 2024-11-19 18:02:11 +07:00
parent d18df61b3f
commit 7a74852ff6
2 changed files with 8 additions and 3 deletions

View file

@ -779,11 +779,15 @@ watch(
</div>
</div>
<EmployerFormAbout
prefixId="dialog"
:readonly="customerBranchFormState.dialogType === 'info'"
class="q-mb-xl"
:index="
customerBranchFormData.code &&
Number(customerBranchFormData.code.split('-').pop()).toString()
(customerBranchFormData.code &&
Number(
customerBranchFormData.code.split('-').pop(),
).toString()) ||
''
"
:customer-type="customerType"
v-model:citizen-id="customerBranchFormData.citizenId"
@ -911,6 +915,7 @@ watch(
</div>
</div>
<EmployerFormContact
prefixId="dialog"
class="q-mb-lg"
:readonly="customerBranchFormState.dialogType === 'info'"
v-model:contact-name="customerBranchFormData.contactName"