แก้บัค type ไม่ตรง
This commit is contained in:
parent
bd70075086
commit
83ceefe10b
2 changed files with 3 additions and 3 deletions
|
|
@ -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'
|
||||
) "
|
||||
/>
|
||||
<!-- use-input -->
|
||||
<div>
|
||||
<popupAdd
|
||||
:type="useStoreRetire.type"
|
||||
|
|
|
|||
|
|
@ -347,7 +347,6 @@ const paginationLabel = (start: string, end: string, total: string) => {
|
|||
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'
|
||||
) "
|
||||
/>
|
||||
<!-- use-input -->
|
||||
<div>
|
||||
<q-btn
|
||||
size="12px"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue