|
|
@ -102,6 +102,26 @@ export const exportProductreceiptRecordMain = async (params) => { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 导出制品收货记录主 Excel
|
|
|
|
export const exportProductreceiptRecordScapMain = async (params) => { |
|
|
|
// params.type = 'predict'
|
|
|
|
if (params.isSearch) { |
|
|
|
// const cmd = {
|
|
|
|
// 'column':'type',
|
|
|
|
// 'action':'==',
|
|
|
|
// 'value':'predict'
|
|
|
|
// }
|
|
|
|
// params.filters.push(cmd)
|
|
|
|
delete params.isSearch |
|
|
|
const data = {...params} |
|
|
|
return await request.downloadPost({ url: '/wms/productreceipt-record-main/export-excel-senior-scrap', data }) |
|
|
|
} else { |
|
|
|
return await request.download({ url: `/wms/productreceipt-record-main/export-excel-scrap`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 导出装配收货记录主 Excel
|
|
|
|
export const exportProductreceiptRecordAssembleMain = async (params) => { |
|
|
|
params.type = 'assemble' |
|
|
|