Browse Source

高级导出接口

intex
yufei_wang 5 days ago
parent
commit
e8e7e81616
  1. 5
      src/api/wms/finishedShipmentMain/index.ts

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

@ -47,8 +47,13 @@ export const deleteFinishedShipmentMain = async (id: number) => {
// 导出已发未结发货记录主 Excel // 导出已发未结发货记录主 Excel
export const exportFinishedShipmentMain = async (params) => { export const exportFinishedShipmentMain = async (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 }) return await request.download({ url: `/wms/finished-shipment-record-main/export-excel`, params })
} }
}
// 下载用户导入模板 // 下载用户导入模板
export const importTemplate = () => { export const importTemplate = () => {

Loading…
Cancel
Save