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')" >