|
|
@ -34,6 +34,17 @@ export const getLocationPage = async (params) => { |
|
|
|
return await request.get({ url: `/wms/location/page`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
export const getLocationMPage = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
|
const data = {...params} |
|
|
|
return request.post({ url: '/wms/location/Msenior', data }) |
|
|
|
} else { |
|
|
|
return await request.get({ url: `/wms/location/Mpage`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
export const getLocationPageRepleinsh = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
@ -139,4 +150,4 @@ export const selectConfigToLocation = async (params) => { |
|
|
|
// 根据code获取数据列表
|
|
|
|
export const getLocationByCodes = async (params) => { |
|
|
|
return await request.get({ url: `/wms/location/listByCodes`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|