Browse Source

高级筛选接口

intex
yufei_wang 1 day ago
parent
commit
891e2f6095
  1. 8
      src/api/wms/finishedShipmentDetail/index.ts
  2. 5
      src/api/wms/unfinishedShipmentDetail/index.ts

8
src/api/wms/finishedShipmentDetail/index.ts

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

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

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

Loading…
Cancel
Save