fix: moo, soi, street

This commit is contained in:
puriphatt 2024-09-17 10:40:11 +07:00
parent 234b03c7fa
commit db1e57fca0

View file

@ -371,6 +371,7 @@ watch(districtId, fetchSubDistrict);
:label="$t('form.moo')"
:readonly="readonly || sameWithEmployer"
:for="`${prefixId}-${indexId !== undefined ? `input-moo-${indexId}` : 'input-moo'}`"
@update:model-value="(v) => (typeof v === 'string' ? (moo = v) : '')"
/>
<q-input
outlined
@ -381,6 +382,7 @@ watch(districtId, fetchSubDistrict);
:label="$t('form.soi')"
:readonly="readonly || sameWithEmployer"
:for="`${prefixId}-${indexId !== undefined ? `input-soi-${indexId}` : 'input-soi'}`"
@update:model-value="(v) => (typeof v === 'string' ? (soi = v) : '')"
/>
<q-input
outlined
@ -391,6 +393,9 @@ watch(districtId, fetchSubDistrict);
:label="$t('form.street')"
:readonly="readonly || sameWithEmployer"
:for="`${prefixId}-${indexId !== undefined ? `input-street-${indexId}` : 'input-street'}`"
@update:model-value="
(v) => (typeof v === 'string' ? (street = v) : '')
"
/>
<q-select
autocomplete="off"
@ -599,6 +604,9 @@ watch(districtId, fetchSubDistrict);
label="Moo"
:readonly="readonly || sameWithEmployer"
:for="`${prefixId}-${indexId !== undefined ? `input-moo-${indexId}` : 'input-moo'}`"
@update:model-value="
(v) => (typeof v === 'string' ? (mooEN = v) : '')
"
/>
<q-input
outlined
@ -609,6 +617,9 @@ watch(districtId, fetchSubDistrict);
label="Soi"
:readonly="readonly || sameWithEmployer"
:for="`${prefixId}-${indexId !== undefined ? `input-soi-${indexId}` : 'input-soi'}`"
@update:model-value="
(v) => (typeof v === 'string' ? (soiEN = v) : '')
"
/>
<q-input
outlined
@ -619,6 +630,9 @@ watch(districtId, fetchSubDistrict);
label="Street"
:readonly="readonly || sameWithEmployer"
:for="`${prefixId}-${indexId !== undefined ? `input-street-${indexId}` : 'input-street'}`"
@update:model-value="
(v) => (typeof v === 'string' ? (streetEN = v) : '')
"
/>
<q-select
autocomplete="off"