|
@ -63,8 +63,13 @@ 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 }) |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
// 下载用户导入模板
|
|
|
export const importTemplate = () => { |
|
|
export const importTemplate = () => { |
|
|