Browse Source

高级导出接口

intex
yufei_wang 23 hours ago
parent
commit
e8e7e81616
  1. 7
      src/api/wms/finishedShipmentMain/index.ts

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

@ -47,7 +47,12 @@ export const deleteFinishedShipmentMain = async (id: number) => {
// 导出已发未结发货记录主 Excel
export const exportFinishedShipmentMain = async (params) => {
return await request.download({ url: `/wms/finished-shipment-record-main/export-excel`, params })
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/finished-shipment-record-main/export-excel-senior`, data })
}else{
return await request.download({ url: `/wms/finished-shipment-record-main/export-excel`, params })
}
}
// 下载用户导入模板

Loading…
Cancel
Save