Browse Source

WMS bug HL-6227:线边报废筛选功能,创建时间条件未生效 导出

hella_online_20241011
gaojs 2 months ago
parent
commit
1f24a438b2
  1. 5
      src/api/wms/productionscrapRecordMain/index.ts

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

@ -63,7 +63,12 @@ export const deleteProductionscrapRecordMain = async (id: number) => {
// 导出线边原料报废记录主 Excel // 导出线边原料报废记录主 Excel
export const exportProductionscrapRecordMain = async (params) => { export const exportProductionscrapRecordMain = async (params) => {
if (params.isSearch){
const data = {...params}
return await request.downloadPost({ url: `/wms/productionscrap-record-main/export-excel-senior`, data })
}else {
return await request.download({ url: `/wms/productionscrap-record-main/export-excel`, params }) return await request.download({ url: `/wms/productionscrap-record-main/export-excel`, params })
}
} }
// 下载用户导入模板 // 下载用户导入模板

Loading…
Cancel
Save