|
@ -44,8 +44,13 @@ export const deletePurchaseprice = async (id: number) => { |
|
|
|
|
|
|
|
|
// 导出采购价格单 Excel
|
|
|
// 导出采购价格单 Excel
|
|
|
export const exportPurchaseprice = async (params) => { |
|
|
export const exportPurchaseprice = async (params) => { |
|
|
|
|
|
if (params.isSearch) { |
|
|
|
|
|
const data = {...params} |
|
|
|
|
|
return await request.downloadPost({ url: `/wms/purchaseprice/export-excel-senior`, data }) |
|
|
|
|
|
} else { |
|
|
return await request.download({ url: `/wms/purchaseprice/export-excel`, params }) |
|
|
return await request.download({ url: `/wms/purchaseprice/export-excel`, params }) |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// 下载用户导入模板
|
|
|
// 下载用户导入模板
|
|
|
export const importTemplate = () => { |
|
|
export const importTemplate = () => { |
|
|