From 7d6cada0fa51c174e46efbe210f277b7b0819eb3 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 28 Nov 2024 16:55:52 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B9=80=E0=B8=A1?= =?UTF-8?q?=E0=B8=B4=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/14_KPI/views/report.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/modules/14_KPI/views/report.vue b/src/modules/14_KPI/views/report.vue index 7c13e0bfd..9fabdfa2b 100644 --- a/src/modules/14_KPI/views/report.vue +++ b/src/modules/14_KPI/views/report.vue @@ -261,7 +261,6 @@ function filterSelector(val: string, update: Function, type: string) { switch (type) { case "typereport": update(() => { - typeReport.value = val ? "" : typeReport.value; listReport.value = listReportMain.value.filter( (v: DataOption) => v.name.toLowerCase().indexOf(val) > -1 ); @@ -269,7 +268,6 @@ function filterSelector(val: string, update: Function, type: string) { break; case "organization": update(() => { - organization.value = val ? "" : organization.value; organizationOps.value = organizationOpsMain.value.filter( (v: DataOption) => v.name.toLowerCase().indexOf(val) > -1 ); @@ -497,8 +495,8 @@ onMounted(() => {
{ :options="listReport" label="รายงาน" use-input + hide-selected + fill-input @update:model-value="changOption" @filter="(inputValue: string, + doneFn: Function) => filterSelector(inputValue, doneFn ,'typereport')" >