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, () => { บันทึก