|
@ -59,7 +59,7 @@ export const exportCountRecordMain = async (params) => { |
|
|
if (params.isSearch) { |
|
|
if (params.isSearch) { |
|
|
delete params.isSearch |
|
|
delete params.isSearch |
|
|
const data = {...params} |
|
|
const data = {...params} |
|
|
return request.post({ url: '/wms/count-record-main/export-excel-senior', data }) |
|
|
return request.downloadPost({ url: '/wms/count-record-main/export-excel-senior', data }) |
|
|
} else { |
|
|
} else { |
|
|
return await request.download({ url: `/wms/count-record-main/export-excel`, params }) |
|
|
return await request.download({ url: `/wms/count-record-main/export-excel`, params }) |
|
|
} |
|
|
} |
|
@ -73,4 +73,4 @@ export const importTemplate = () => { |
|
|
// 生成盘点调整
|
|
|
// 生成盘点调整
|
|
|
export const generateCountRecordMain = async (id) => { |
|
|
export const generateCountRecordMain = async (id) => { |
|
|
return await request.put({ url: `/wms/count-record-main/generate?id=` + id}) |
|
|
return await request.put({ url: `/wms/count-record-main/generate?id=` + id}) |
|
|
} |
|
|
} |
|
|