Browse Source

筛选添加条件

business_type  = ReturnToStore
master_hella_20240701
李达明 5 months ago
parent
commit
1e4de6e433
  1. 17
      src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue

17
src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue

@ -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() //
}

Loading…
Cancel
Save