Browse Source

修改导出文件打不开bug

linshi20240813
TengXF 3 months ago
parent
commit
bfc08f1b66
  1. 2
      src/api/wms/productreceiptRecordMain/index.ts

2
src/api/wms/productreceiptRecordMain/index.ts

@ -95,7 +95,7 @@ export const exportProductreceiptRecordMain = async (params) => {
params.filters.push(cmd)
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/productreceipt-record-main/export-excel-senior', data })
return await request.downloadPost({ url: '/wms/productreceipt-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/productreceipt-record-main/export-excel`, params })
}

Loading…
Cancel
Save