fix: แก้การตัวสอบ
This commit is contained in:
parent
e58c670f9d
commit
4183dbb0ec
3 changed files with 11 additions and 4 deletions
|
|
@ -139,6 +139,11 @@ const branchNo = defineModel<number>('branchNo');
|
|||
class="col-6"
|
||||
:label="$t('taxNo')"
|
||||
v-model="taxNo"
|
||||
:rules="[
|
||||
(val) =>
|
||||
(val && val.length === 13 && /[0-9]+/.test(val)) ||
|
||||
$t('formDialogInputTaxNoValidate'),
|
||||
]"
|
||||
/>
|
||||
<q-input
|
||||
for="input-registerName"
|
||||
|
|
|
|||
|
|
@ -89,6 +89,11 @@ onMounted(async () => {});
|
|||
class="col-6"
|
||||
:label="$t('taxNo')"
|
||||
v-model="taxNo"
|
||||
:rules="[
|
||||
(val) =>
|
||||
(val && val.length === 13 && /[0-9]+/.test(val)) ||
|
||||
$t('formDialogInputTaxNoValidate'),
|
||||
]"
|
||||
/>
|
||||
|
||||
<q-input
|
||||
|
|
|
|||
|
|
@ -73,10 +73,7 @@ defineProps<{
|
|||
class="col-6"
|
||||
:label="$t('formDialogInputPassportRef')"
|
||||
v-model="previousPassportReference"
|
||||
:rules="[
|
||||
(val: string) =>
|
||||
!!val || $t('inputValidate') + $t('formDialogInputPassportRef'),
|
||||
]"
|
||||
|
||||
/>
|
||||
<q-input
|
||||
for="input-passport-place"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue