|
|
@ -63,7 +63,12 @@ export const deleteProductionscrapRecordMain = async (id: number) => { |
|
|
|
|
|
|
|
// 导出线边原料报废记录主 Excel
|
|
|
|
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 }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
|