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) => { const searchFormClick = (searchData) => {
tableObject.params = { tableObject.params.isSearch = true
isSearch: true, if(!searchData.filters){//
filters: 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() // getList() //
} }
/** 初始化 **/ /** 初始化 **/
onMounted(async () => { onMounted(async () => {
getList() getList()

Loading…
Cancel
Save