Browse Source

SCP ——> bug 供应商询证函导出问题

hella_online_20240829
gaojs 4 months ago
parent
commit
4bd1416168
  1. 7
      src/api/wms/supplierApbalanceMain/index.ts

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

@ -58,7 +58,12 @@ export const deleteSupplierApbalanceMain = async (id: number) => {
// 导出供应商余额明细主 Excel
export const exportSupplierApbalanceMain = async (params) => {
return await request.download({ url: `/wms/supplier-apbalance-main/export-excel`, params })
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/supplier-apbalance-main/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/supplier-apbalance-main/export-excel`, params })
}
}
// 下载用户导入模板

Loading…
Cancel
Save