From 4607cca3338f28545078b57a2d8840feff27e6d8 Mon Sep 17 00:00:00 2001 From: "STW_TTTY\\stwtt" Date: Tue, 24 Sep 2024 17:19:11 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20=E0=B8=94?= =?UTF-8?q?=E0=B8=B1=E0=B8=81=E0=B8=9B=E0=B8=B8=E0=B9=88=E0=B8=A1=20?= =?UTF-8?q?=E0=B8=9A=E0=B8=B1=E0=B8=99=E0=B8=97=E0=B8=B6=E0=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/18_command/components/DialogCreateCommand.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/18_command/components/DialogCreateCommand.vue b/src/modules/18_command/components/DialogCreateCommand.vue index bf4d0c4a0..166f8ced1 100644 --- a/src/modules/18_command/components/DialogCreateCommand.vue +++ b/src/modules/18_command/components/DialogCreateCommand.vue @@ -44,7 +44,7 @@ const commandNo = ref(""); const commandYear = ref(new Date().getFullYear()); const rows = ref([]); // รายการคำสั่ง -const selected = ref([]); // id คำสั่งที่เลือก +const selected = ref([]); // id คำสั่งที่เลือก const filter = ref(""); // คำค้นหา const total = ref(0); @@ -238,6 +238,8 @@ function clearValue() { commandYear.value = new Date().getFullYear(); selectCreate.value = "NEW"; + selected.value = [] + filter.value = '' } const selectCreate = ref("NEW"); @@ -542,7 +544,7 @@ watch(modal, () => { บันทึก