From 55ea7f7c5bc6826763a33530d8b4e0f12509e5c7 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 11 Dec 2024 11:51:23 +0700 Subject: [PATCH] =?UTF-8?q?filter=20=3D=3D>=20=E0=B8=84=E0=B8=B3=E0=B8=AA?= =?UTF-8?q?=E0=B8=B1=E0=B9=88=E0=B8=87=E0=B9=81=E0=B8=A5=E0=B8=B0=E0=B8=95?= =?UTF-8?q?=E0=B9=89=E0=B8=99=E0=B9=81=E0=B8=9A=E0=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/05_command/views/lists.vue | 13 ++++------ src/modules/05_command/views/salaryLists.vue | 25 ++------------------ 2 files changed, 6 insertions(+), 32 deletions(-) diff --git a/src/modules/05_command/views/lists.vue b/src/modules/05_command/views/lists.vue index 8dd969f7..306fd2e4 100644 --- a/src/modules/05_command/views/lists.vue +++ b/src/modules/05_command/views/lists.vue @@ -247,7 +247,6 @@ async function fetchDataCommandTypeId(id: string) { */ function filterSelector(val: string, update: Function) { update(() => { - category.value = val ? "" : category.value; categoryOP.value = dataCategory.value.filter( (v: DateOption) => v.name.indexOf(val) > -1 ); @@ -281,13 +280,11 @@ onMounted(async () => { borderless dense outlined - clearable v-model="keyword" placeholder="ค้นหา" - @clear="(keyword = ''), searchByStatus()" @keydown.enter.prevent="searchByStatus()" > -