From 126afe97f8af968b041633197b04772b9423b757 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 11 Oct 2024 09:52:27 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=20step=20?= =?UTF-8?q?=E0=B8=AD=E0=B8=AD=E0=B8=81=E0=B8=84=E0=B8=B3=E0=B8=AA=E0=B8=B1?= =?UTF-8?q?=E0=B9=88=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/18_command/components/Step/0_Main.vue | 2 +- src/modules/18_command/components/Step/1_Detail.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/18_command/components/Step/0_Main.vue b/src/modules/18_command/components/Step/0_Main.vue index 8f8f6be9b..2c1862116 100644 --- a/src/modules/18_command/components/Step/0_Main.vue +++ b/src/modules/18_command/components/Step/0_Main.vue @@ -46,7 +46,7 @@ async function fetchData() { isDraft.value = data.isDraft; isSign.value = data.isSign; isAttachment.value = data.isAttachment; - store.readonly = step.value === 5; + store.readonly = step.value > 2; }) .catch((err) => { messageError($q, err); diff --git a/src/modules/18_command/components/Step/1_Detail.vue b/src/modules/18_command/components/Step/1_Detail.vue index c6d86cf05..65a057ca6 100644 --- a/src/modules/18_command/components/Step/1_Detail.vue +++ b/src/modules/18_command/components/Step/1_Detail.vue @@ -36,7 +36,7 @@ const props = defineProps({ const commandId = ref(route.params.id.toString()); //ID คำสั่ง // ฟอร์มข้อมูล -let formData = reactive({ +let formData = reactive({ commandNo: "", commandYear: null, detailHeader: "",