refactor: edit name id

This commit is contained in:
Thanaphon Frappet 2024-11-08 11:27:58 +07:00
parent 25f21cd158
commit 0767f983a5

View file

@ -241,7 +241,7 @@ watch(
hide-bottom-space
class="col-6 col-md-3"
:label="$t('customer.form.headQuarters.telephoneNo')"
for="input-first-name-en"
for="input-telephone-no"
:model-value="readonly ? telephoneNo || '-' : telephoneNo"
@update:model-value="
(v) => (typeof v === 'string' ? (telephoneNo = v) : '')
@ -281,7 +281,7 @@ watch(
hide-bottom-space
class="col-12 col-md-7"
:label="$t('customer.form.cardNumber')"
for="input-legal-person-no"
for="input-card-number"
v-model="citizenId"
mask="#############"
:rules="[
@ -356,7 +356,7 @@ watch(
<div class="col-9 row q-col-gutter-sm">
<q-input
:for="`${prefixId}-input-first-name`"
:for="`${prefixId}-input-prefix-name`"
dense
outlined
hide-bottom-space
@ -376,7 +376,7 @@ watch(
/>
<q-input
:for="`${prefixId}-input-first-name`"
:for="`${prefixId}-input-first-name-en`"
dense
outlined
:readonly="readonly"
@ -391,7 +391,7 @@ watch(
]"
/>
<q-input
:for="`${prefixId}-input-last-name`"
:for="`${prefixId}-input-last-name-en`"
dense
outlined
:readonly="readonly"