Browse Source

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

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

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

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

Loading…
Cancel
Save