Browse Source

筛选参数缺失拼接businessType

master_hella_20240701
yufei0306 6 months ago
parent
commit
84f3d9e560
  1. 14
      src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue

14
src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue

@ -558,10 +558,18 @@ const importSuccess = () => {
// //
const searchFormClick = (searchData) => { const searchFormClick = (searchData) => {
tableObject.params = { tableObject.params.isSearch = true
isSearch: true, let filters = [...searchData.filters]
filters: searchData.filters if ( routeName.value == 'DeliverRequestMain') {
filters = [...filters,{
businessType: 'Deliver'
}]
} else if ( routeName.value == 'ZZBJDeliverRequestMain') {
filters = [...filters,{
businessType: 'ZZBJDeliver'
}]
} }
tableObject.params.filters = filters
getList() // getList() //
} }

Loading…
Cancel
Save