From c20e67d1a1e726f36dc8d876310d535c0df38b5e Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 1 May 2026 15:31:18 +0700 Subject: [PATCH] fix(command): loadFile --- src/modules/18_command/components/Step/View0_Live.vue | 1 - src/modules/18_command/views/detail.vue | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/18_command/components/Step/View0_Live.vue b/src/modules/18_command/components/Step/View0_Live.vue index 263445a25..ffaa97790 100644 --- a/src/modules/18_command/components/Step/View0_Live.vue +++ b/src/modules/18_command/components/Step/View0_Live.vue @@ -191,7 +191,6 @@ async function uploadFileDoc( * @param group ประเภพไฟล์ "คำสั่ง","แนบท้าย" */ async function fetchDoc(group: string) { - showLoader(); let type = group === "order" ? "คำสั่ง" : "แนบท้าย"; if (group === "order") { await fetchDocOrder(type); diff --git a/src/modules/18_command/views/detail.vue b/src/modules/18_command/views/detail.vue index 5e41124dc..e9020037e 100644 --- a/src/modules/18_command/views/detail.vue +++ b/src/modules/18_command/views/detail.vue @@ -109,8 +109,8 @@ async function fetchCheckIdofficer() { * กำหนดค่า `store.readonly` เมื่อ route.name เป็น "commandViewDetailPage" จะอ่านข้อมูลได้อย่างเดียว */ onMounted(async () => { - await fetchDataCommandList(); await fetchCheckIdofficer(); + await fetchDataCommandList(); store.readonly = route.name === "commandViewDetailPage" || formCommandList.status === "REPORTED" ||