From 8cdab650c9a9b5e00c4219a3e8a16233a0b52661 Mon Sep 17 00:00:00 2001 From: waruneeta Date: Tue, 20 Feb 2024 14:34:41 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=9F=E0=B8=AD?= =?UTF-8?q?=E0=B8=A3=E0=B9=8C=E0=B8=A1=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A?= =?UTF-8?q?=E0=B8=B5=E0=B8=A2=E0=B8=99=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7?= =?UTF-8?q?=E0=B8=B1=E0=B8=95=E0=B8=B4=20=E0=B9=80=E0=B8=9B=E0=B8=A5?= =?UTF-8?q?=E0=B8=B5=E0=B9=88=E0=B8=A2=E0=B8=99=E0=B8=84=E0=B8=B3=E0=B8=99?= =?UTF-8?q?=E0=B8=B3=E0=B8=AB=E0=B8=99=E0=B9=89=E0=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/04_registry/components/Information/OldName.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/04_registry/components/Information/OldName.vue b/src/modules/04_registry/components/Information/OldName.vue index 9039d1256..794d9b072 100644 --- a/src/modules/04_registry/components/Information/OldName.vue +++ b/src/modules/04_registry/components/Information/OldName.vue @@ -102,7 +102,7 @@ :hide-dropdown-icon="!edit" hide-bottom-space :class="getClass(edit)" - :readonly="!edit" + :readonly="!edit || status != 'prefix'" :borderless="!edit" :rules="[(val:string) => !!val || `${'กรุณาเลือก คำนำหน้าชื่อ'}`]" :outlined="edit" @@ -128,7 +128,7 @@ :outlined="edit" dense lazy-rules - :readonly="!edit || status == 'lastName'" + :readonly="!edit || status == 'lastName' || status == 'prefix'" :borderless="!edit" v-model="firstName" :rules="[(val) => !!val || `${'กรุณากรอกชื่อ'}`]" @@ -143,7 +143,7 @@ :outlined="edit" dense lazy-rules - :readonly="!edit || status == 'firstName'" + :readonly="!edit || status == 'firstName' || status == 'prefix'" :borderless="!edit" v-model="lastName" :rules="[(val) => !!val || `${'กรุณากรอกนามสกุล'}`]"