|
|
@ -750,10 +750,19 @@ const labelPrint = async (row) => { |
|
|
|
|
|
|
|
// 筛选提交 |
|
|
|
const searchFormClick = (searchData) => { |
|
|
|
tableObject.params = { |
|
|
|
isSearch: true, |
|
|
|
filters: searchData.filters |
|
|
|
} |
|
|
|
tableObject.params.isSearch = true |
|
|
|
if(!searchData.filters){//重置的时候应用 |
|
|
|
searchData.filters = [] |
|
|
|
} |
|
|
|
let filters = [...searchData.filters] |
|
|
|
if(!filters.find(item=>item.column=='business_type')) { |
|
|
|
filters = [...filters,{ |
|
|
|
action:'==', |
|
|
|
column:'business_type', |
|
|
|
value:'ReturnToStore', |
|
|
|
}] |
|
|
|
} |
|
|
|
tableObject.params.filters = filters |
|
|
|
getList() // 刷新当前列表 |
|
|
|
} |
|
|
|
|
|
|
|