From c26efe6c2180ab7516863806de44f38b4532fa1a Mon Sep 17 00:00:00 2001 From: waruneeta Date: Wed, 7 Feb 2024 18:40:24 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84=E0=B8=82?= =?UTF-8?q?=E0=B8=82=E0=B9=89=E0=B8=AD=E0=B8=A1=E0=B8=B9=E0=B8=A5=E0=B8=95?= =?UTF-8?q?=E0=B8=AD=E0=B8=99=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=20=E0=B8=82=E0=B8=A3=E0=B8=81.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DialogAddEmployee.vue | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/components/DialogAddEmployee.vue b/src/components/DialogAddEmployee.vue index 272e53787..ce09fb1ea 100644 --- a/src/components/DialogAddEmployee.vue +++ b/src/components/DialogAddEmployee.vue @@ -36,10 +36,10 @@ const informaData = ref({ 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="##########" />