diff --git a/src/modules/04_registryPerson/components/detail/PersonalInformation/01_Profile.vue b/src/modules/04_registryPerson/components/detail/PersonalInformation/01_Profile.vue index 7730029f7..ace941cf4 100644 --- a/src/modules/04_registryPerson/components/detail/PersonalInformation/01_Profile.vue +++ b/src/modules/04_registryPerson/components/detail/PersonalInformation/01_Profile.vue @@ -408,7 +408,8 @@ function calculateMinDate() { function prefixRankRule() { return [ - () => !!formData.rank || !!formData.prefix || "กรุณาเลือกคำนำหน้าชื่อ หรือยศ", + () => + !!formData.rank || !!formData.prefix || "กรุณาเลือกคำนำหน้าชื่อ หรือยศ", ]; } @@ -588,6 +589,7 @@ onMounted(() => {
{ option-value="name" v-model="formData.prefix" clearable - class="inputgreen" :options="store.Ops.prefixOps" :label="dataLabel.prefix" :rules="prefixRankRule()" @@ -640,24 +641,24 @@ onMounted(() => {
@@ -721,6 +722,7 @@ onMounted(() => {
{ option-label="name" option-value="name" v-model="formData.gender" - class="inputgreen" :options="store.Ops.genderOps" :label="dataLabel.gender" @filter="(inputValue: string,