From 5633776da233d8b5b8a1b955df9afc54daeeecd8 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 24 Jul 2025 10:25:19 +0700 Subject: [PATCH] =?UTF-8?q?fix=20=3D=3D>=20=E0=B8=A3=E0=B8=B0=E0=B8=9A?= =?UTF-8?q?=E0=B8=9A=E0=B8=AD=E0=B8=AD=E0=B8=81=E0=B8=84=E0=B8=B3=E0=B8=AA?= =?UTF-8?q?=E0=B8=B1=E0=B9=88=E0=B8=87=20>>=20=E0=B8=84=E0=B8=B3=E0=B8=AA?= =?UTF-8?q?=E0=B8=B1=E0=B9=88=E0=B8=87=20=E0=B8=AD=E0=B8=99=E0=B8=B8?= =?UTF-8?q?=E0=B8=8D=E0=B8=B2=E0=B8=95=E0=B9=83=E0=B8=AB=E0=B9=89=E0=B8=A5?= =?UTF-8?q?=E0=B8=B9=E0=B8=81=E0=B8=88=E0=B9=89=E0=B8=B2=E0=B8=87=E0=B8=A5?= =?UTF-8?q?=E0=B8=B2=E0=B8=AD=E0=B8=AD=E0=B8=81=E0=B8=88=E0=B8=B2=E0=B8=81?= =?UTF-8?q?=E0=B8=A3=E0=B8=B2=E0=B8=8A=E0=B8=81=E0=B8=B2=E0=B8=A3=20(?= =?UTF-8?q?=E0=B8=81=E0=B8=A3=E0=B8=93=E0=B8=B5=E0=B8=AD=E0=B8=AD=E0=B8=81?= =?UTF-8?q?=E0=B8=84=E0=B8=B3=E0=B8=AA=E0=B8=B1=E0=B9=88=E0=B8=87=E0=B9=80?= =?UTF-8?q?=E0=B8=AA=E0=B8=A3=E0=B9=87=E0=B8=88=E0=B8=AA=E0=B8=B4=E0=B9=89?= =?UTF-8?q?=E0=B8=99)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/18_command/views/detail.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/modules/18_command/views/detail.vue b/src/modules/18_command/views/detail.vue index 66991373c..c559429ae 100644 --- a/src/modules/18_command/views/detail.vue +++ b/src/modules/18_command/views/detail.vue @@ -97,8 +97,11 @@ async function fetchDataCommandList() { * กำหนดค่า `store.readonly` เมื่อ route.name เป็น "commandViewDetailPage" จะอ่านข้อมูลได้อย่างเดียว */ onMounted(async () => { - store.readonly = route.name === "commandViewDetailPage"; await fetchDataCommandList(); + store.readonly = + route.name === "commandViewDetailPage" || + formCommandList.status === "REPORTED" || + formCommandList.status === "WAITING"; });