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" ||