import request from '/@/utils/request';
|
enum Api {
|
AddWmsInventoryCheckRange = '/api/wmsInventoryCheckRange/add',
|
DeleteWmsInventoryCheckRange = '/api/wmsInventoryCheckRange/delete',
|
UpdateWmsInventoryCheckRange = '/api/wmsInventoryCheckRange/update',
|
PageWmsInventoryCheckRange = '/api/wmsInventoryCheckRange/page',
|
ListWmsInventoryCheckRange = '/api/wmsInventoryCheckRange/list',
|
DetailWmsInventoryCheckRange = '/api/wmsInventoryCheckRange/detail',
|
ImportExcelWmsInventoryCheckRange = '/api/wmsInventoryCheckRange/importExcel',
|
DownloadExcelTemplateWmsInventoryCheckRange = '/api/wmsInventoryCheckRange/downloadExcelTemplate',
|
}
|
|
// 增加盘点范围表
|
export const addWmsInventoryCheckRange = (params?: any) =>
|
request({
|
url: Api.AddWmsInventoryCheckRange,
|
method: 'post',
|
data: params
|
});
|
|
// 删除盘点范围表
|
export const deleteWmsInventoryCheckRange = (params?: any) =>
|
request({
|
url: Api.DeleteWmsInventoryCheckRange,
|
method: 'post',
|
data: params
|
});
|
|
// 编辑盘点范围表
|
export const updateWmsInventoryCheckRange = (params?: any) =>
|
request({
|
url: Api.UpdateWmsInventoryCheckRange,
|
method: 'post',
|
data: params
|
});
|
|
// 导入盘点范围表
|
export const importExcelWmsInventoryCheckRange = (params?: any) =>
|
request({
|
url: Api.ImportExcelWmsInventoryCheckRange,
|
method: 'post',
|
data: params
|
});
|
|
// 下载导入盘点范围表模板
|
export const downloadExcelTemplateWmsInventoryCheckRange = (params?: any) =>
|
request({
|
url: Api.DownloadExcelTemplateWmsInventoryCheckRange,
|
method: 'get',
|
data: params,
|
responseType: 'blob'
|
});
|
|
|
// 分页查询盘点范围表
|
export const pageWmsInventoryCheckRange = (params?: any) =>
|
request({
|
url: Api.PageWmsInventoryCheckRange,
|
method: 'post',
|
data: params
|
});
|
|
// 不分页查询盘点范围表
|
export const listWmsInventoryCheckRange = (params?: any) =>
|
request({
|
url: Api.ListWmsInventoryCheckRange,
|
method: 'get',
|
data: params
|
});
|
|
// 详情盘点范围表
|
export const detailWmsInventoryCheckRange = (id: any) =>
|
request({
|
url: Api.DetailWmsInventoryCheckRange,
|
method: 'get',
|
data: { id }
|
});
|