แก้ไขข้อมูลตอนเพิ่ม ขรก.

This commit is contained in:
Warunee Tamkoo 2024-02-07 18:40:24 +07:00
parent 8f81cb2c32
commit c26efe6c21

View file

@ -36,10 +36,10 @@ const informaData = ref<any>({
birthDate: null,
genderId: null,
bloodId: null,
nationality: null,
ethnicity: null,
nationality: "ไทย",
ethnicity: "ไทย",
statusId: null,
religionId: null,
religionId: 'ceaec498-71b4-4f82-b5a2-7d6ec988b753',
tel: null,
employeeType: null,
employeeClass: null,
@ -576,12 +576,6 @@ const fetchPerson = async () => {
type="tel"
v-model="informaData.tel"
:label="`${'เบอร์โทร'}`"
:rules="[
(val: string) => !!val || `${'กรุณากรอก เบอร์โทร'}`,
(val: string) =>
val.length >= 10 ||
`${'กรุณากรอกเบอร์โทรให้ครบ'}`,
]"
mask="##########"
/>
</div>