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="##########" />