From 8dfa5ca02e7925241a1f33f8d3f226a89abdef24 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 21 Sep 2023 17:01:30 +0700 Subject: [PATCH] =?UTF-8?q?comment=20=E0=B8=AA=E0=B8=B3=E0=B8=99=E0=B8=B1?= =?UTF-8?q?=E0=B8=81=E0=B8=99=E0=B8=B2=E0=B8=A2=E0=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/5_Borrow/DialogForm.vue | 41 ++++++++++--------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/src/modules/07_insignia/components/5_Borrow/DialogForm.vue b/src/modules/07_insignia/components/5_Borrow/DialogForm.vue index ba1e40563..0e27b7b63 100644 --- a/src/modules/07_insignia/components/5_Borrow/DialogForm.vue +++ b/src/modules/07_insignia/components/5_Borrow/DialogForm.vue @@ -126,18 +126,17 @@ const fetchOrgList = async () => { id: e.organizationId, name: e.organizationName, })); - - if (props.action == "editData") { - OrgList.value = [ - { - id: "00000000-0000-0000-0000-000000000000", - name: "สำนักนายกรัฐมนตรี", - }, - ...orgArr, - ]; - } else { - OrgList.value = orgArr; - } + // if (props.action == "editData") { + // OrgList.value = [ + // { + // id: "00000000-0000-0000-0000-000000000000", + // name: "สำนักนายกรัฐมนตรี", + // }, + // ...orgArr, + // ]; + // } else { + OrgList.value = orgArr; + // } }) .catch((err) => { messageError($q, err); @@ -160,7 +159,6 @@ const fetchOrgList = async () => { // }); // }; - // บันทึกข้อมูลการยืม-คืน const clickSave = async () => { await myForm.value!.validate().then((result: boolean) => { @@ -236,12 +234,12 @@ const closeDialog = () => { // reset วันที่ยืม const clearReceiveDate = () => { receivedate.value = null; -} +}; // reset วันที่คืน const clearReturnDate = () => { returndate.value = null; -} +};