diff --git a/src/components/02_personnel-management/FormPerson.vue b/src/components/02_personnel-management/FormPerson.vue index 9fe0e5e3..17af05ca 100644 --- a/src/components/02_personnel-management/FormPerson.vue +++ b/src/components/02_personnel-management/FormPerson.vue @@ -135,12 +135,17 @@ defineProps<{ @@ -175,6 +171,7 @@ defineProps<{ +import { ref } from 'vue'; + const customerName = defineModel('customerName'); const customerNameEn = defineModel('customerNameEn'); const taxNo = defineModel('taxNo'); @@ -10,6 +12,13 @@ const customerBranchId = defineModel('customerBranchId'); const employeeID = defineModel('employeeID'); const nrcNo = defineModel('nrcNo'); +const branchOption = ref([ + { + label: 'uuu', + value: 'ad87961c-c44f-47ca-8c1e-0ef30c2b16ba', + }, +]); + defineProps<{ dense?: boolean; outlined?: boolean; @@ -72,16 +81,27 @@ defineProps<{
diff --git a/src/components/03_customer-management/FormEmployeePassport.vue b/src/components/03_customer-management/FormEmployeePassport.vue index 36c4f837..3bbfe610 100644 --- a/src/components/03_customer-management/FormEmployeePassport.vue +++ b/src/components/03_customer-management/FormEmployeePassport.vue @@ -53,7 +53,7 @@ onMounted(async () => {
• {{ $t(`formDialogTitlePassport`) }}
{ class="col-3" :options="addrOptions.provinceOps" lazy-rules + :rules="[ + (val: string) => + !!val || $t('selectValidate') + $t('formDialogInputPassportType'), + ]" /> { class="col-3" :label="$t('formDialogInputPassportNo')" v-model="passportNumber" + :rules="[ + (val: string) => + !!val || $t('inputValidate') + $t('formDialogInputPassportNo'), + ]" /> { class="col-6" :label="$t('formDialogInputPassportRef')" v-model="previousPassportReference" + :rules="[ + (val: string) => + !!val || $t('inputValidate') + $t('formDialogInputPassportRef'), + ]" /> { class="col-3" :options="addrOptions.provinceOps" lazy-rules + :rules="[ + (val: string) => + !!val || $t('selectValidate') + $t('formDialogInputPassportCountry'), + ]" /> { { @@ -215,8 +229,8 @@ onMounted(async () => { diff --git a/src/components/03_customer-management/FormEmployeeVisa.vue b/src/components/03_customer-management/FormEmployeeVisa.vue index 3bb7fb90..5b8b6cef 100644 --- a/src/components/03_customer-management/FormEmployeeVisa.vue +++ b/src/components/03_customer-management/FormEmployeeVisa.vue @@ -52,7 +52,7 @@ onMounted(async () => {
• {{ $t(`formDialogTitleVisa`) }}
{ class="col-3" :options="addrOptions.provinceOps" lazy-rules + :rules="[ + (val: string) => + !!val || $t('selectValidate') + $t('formDialogInputVisaType'), + ]" /> { class="col-3" :label="$t('formDialogInputVisaNo')" v-model="visaNumber" + :rules="[ + (val: string) => + !!val || $t('inputValidate') + $t('formDialogInputVisaNo'), + ]" /> { { { class="col-6" :label="$t('formDialogInputVisaPlace')" v-model="visaIssuingPlace" + :rules="[ + (val: string) => + !!val || $t('selectValidate') + $t('formDialogInputVisaPlace'), + ]" /> {