From 83ceefe10bc72e25201e7b001b1bb79bd6b92385 Mon Sep 17 00:00:00 2001 From: AnandaTon Date: Thu, 28 Sep 2023 16:11:23 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=9A=E0=B8=B1?= =?UTF-8?q?=E0=B8=84=20type=20=E0=B9=84=E0=B8=A1=E0=B9=88=E0=B8=95?= =?UTF-8?q?=E0=B8=A3=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/06_retirement/views/Main.vue | 4 ++-- src/modules/10_order/views/Main.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/06_retirement/views/Main.vue b/src/modules/06_retirement/views/Main.vue index 435fffc7f..ee3a43109 100644 --- a/src/modules/06_retirement/views/Main.vue +++ b/src/modules/06_retirement/views/Main.vue @@ -147,7 +147,7 @@ const pagination = ref({ const filterSelector = (val: any, update: Function, year: any) => { update(() => { yearOptions.value = yearOptionsFilter.value.filter( - (v: any) => v.name.toLowerCase().indexOf(val.toLowerCase()) > -1 + (v: any) => v.name.valueOf(val.toLowerCase()) > -1 ); }); }; @@ -225,13 +225,13 @@ const typeReportChangeName = (val: string) => { :readonly="false" :borderless="false" :outlined="true" - use-input :hide-dropdown-icon="false" style="min-width: 150px" @filter="(inputValue:any, doneFn:Function) => filterSelector(inputValue, doneFn,'yearOptions' ) " /> +
{ option-value="id" option-label="name" lazy-rules - use-input hide-bottom-space :readonly="false" :borderless="false" @@ -358,6 +357,7 @@ const paginationLabel = (start: string, end: string, total: string) => { doneFn:Function) => filterSelector(inputValue, doneFn,'fiscalyearOP' ) " /> +