Browse Source

生产计划筛选导出api修改

master
陈薪名 1 year ago
parent
commit
048466d408
  1. 7
      src/api/wms/productionMain/index.ts

7
src/api/wms/productionMain/index.ts

@ -55,7 +55,12 @@ export const deleteProductionMain = async (id: number) => {
// 导出生产计划主 Excel // 导出生产计划主 Excel
export const exportProductionMain = async (params) => { export const exportProductionMain = async (params) => {
return await request.download({ url: `/wms/production-main/export-excel`, params }) if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/production-main/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/production-main/export-excel`, params })
}
} }
// 下载用户导入模板 // 下载用户导入模板

Loading…
Cancel
Save