|
|
@ -192,6 +192,7 @@ |
|
|
|
const { tableObject, tableMethods } = useTable({ |
|
|
|
getListApi: SupplierinvoiceRecordMainApi.getSupplierinvoiceRecordMainPage // 分页接口 |
|
|
|
}) |
|
|
|
tableObject.params.isLS = 1 |
|
|
|
|
|
|
|
// 获得表格的各种操作 |
|
|
|
const { getList, setSearchParams } = tableMethods |
|
|
@ -225,6 +226,7 @@ |
|
|
|
filters: tableObject.params.filters |
|
|
|
}) |
|
|
|
} else { |
|
|
|
tableObject.params.isLS = 1 |
|
|
|
getList() |
|
|
|
} |
|
|
|
} else if (val == 'filtrate') { // 筛选 |
|
|
@ -431,7 +433,11 @@ |
|
|
|
const searchFormClick = (searchData) => { |
|
|
|
tableObject.params = { |
|
|
|
isSearch: true, |
|
|
|
filters: searchData.filters |
|
|
|
filters: [...searchData.filters,{ |
|
|
|
action : "==", |
|
|
|
column: "isLS", |
|
|
|
value: 1, |
|
|
|
}] |
|
|
|
} |
|
|
|
getList() // 刷新当前列表 |
|
|
|
} |
|
|
|