Browse Source

筛选 添加查询条件 business_type = ReturnToHold

master_hella_20240701
李达明 5 months ago
parent
commit
dafe11e16d
  1. 16
      src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue

16
src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue

@ -659,13 +659,23 @@ const importFormRef = ref()
//
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:'ReturnToHold',
}]
}
tableObject.params.filters = filters
getList() //
}
/** 初始化 **/
onMounted(async () => {
getList()

Loading…
Cancel
Save