From afcc93c44595df80d1acb4da981a1d89ca81f718 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 8 Nov 2023 13:56:56 +0700 Subject: [PATCH] =?UTF-8?q?clear=20=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=A5?= =?UTF-8?q?=E0=B8=B0=E0=B9=80=E0=B8=AD=E0=B8=B5=E0=B8=A2=E0=B8=94=E0=B8=AD?= =?UTF-8?q?=E0=B8=B7=E0=B9=88=E0=B8=99=E0=B9=86=20=E0=B8=A2=E0=B8=B7?= =?UTF-8?q?=E0=B8=A1=E0=B8=84=E0=B8=B7=E0=B8=99=E0=B9=80=E0=B8=A7=E0=B8=A5?= =?UTF-8?q?=E0=B8=B2=E0=B9=80=E0=B8=9B=E0=B8=A5=E0=B8=B5=E0=B9=88=E0=B8=A2?= =?UTF-8?q?=E0=B8=99=E0=B9=80=E0=B8=A5=E0=B8=82=E0=B8=9A=E0=B8=B1=E0=B8=95?= =?UTF-8?q?=E0=B8=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../07_insignia/components/5_Borrow/DialogForm.vue | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/modules/07_insignia/components/5_Borrow/DialogForm.vue b/src/modules/07_insignia/components/5_Borrow/DialogForm.vue index 53989b675..df9e7dab4 100644 --- a/src/modules/07_insignia/components/5_Borrow/DialogForm.vue +++ b/src/modules/07_insignia/components/5_Borrow/DialogForm.vue @@ -223,6 +223,8 @@ const clickSave = async () => { // ค้นหาคนจากเลขประจำตัวประชาชน const searchcardid = async () => { + console.log("test2"); + if (cardid.value.length === 13) { showLoader(); const node = await listPerson.value.find( @@ -246,8 +248,18 @@ const searchcardid = async () => { reason.value = ""; hideLoader(); } + } else { + fullName.value = ""; + brand.value = ""; + clearReceiveDate() + // OrganazationId.value = ""; + } }; +// watch(cardid,()=>{ +// if(cardid.value.length === 13) + +// }) // ปิด dialog const closeDialog = () => {