Browse Source

HL-5298 采购订单物料类型全部筛选问题

hella_online_20240823
zhang_li 3 months ago
parent
commit
fd2a3db385
  1. 6
      src/api/wms/purchaseMainWms/index.ts
  2. 6
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMainWms/index.vue

6
src/api/wms/purchaseMainWms/index.ts

@ -73,10 +73,10 @@ export const witPurchaseMain = async (id: number) => {
// 导出采购订单主 Excel // 导出采购订单主 Excel
export const exportPurchaseMain = async (params) => { export const exportPurchaseMain = async (params) => {
if (params.isSearch) { if (params.isSearch) {
const data = {...params} const data = { ...params }
return await request.downloadPost({ url: `/wms/purchase-main/export-excel-senior`, data }) return await request.downloadPost({ url: `/wms/purchase-main/export-excel-seniorWMS`, data })
} else { } else {
return await request.download({ url: `/wms/purchase-main/export-excel`, params }) return await request.download({ url: `/wms/purchase-main/excelWMS`, params })
} }
} }

6
src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMainWms/index.vue

@ -412,7 +412,11 @@ console.log('PurchaseMain.allSchemas.searchSchema',PurchaseMain.allSchemas.searc
} }
const searchList = (model)=>{ const searchList = (model)=>{
selectionRows.value = [] selectionRows.value = []
setSearchParams(model) const model1 = {
...model
}
model1.itemTypeList =model.itemTypeList.filter(item=>item)
setSearchParams(model1)
} }
const selectionRows = ref<any>([]) const selectionRows = ref<any>([])
const getSelectionRows = (currentPage,currentPageSelectionRows) => { const getSelectionRows = (currentPage,currentPageSelectionRows) => {

Loading…
Cancel
Save