|
|
@ -43,6 +43,16 @@ export const getPackageunitPageTree = async (params) => { |
|
|
|
return await request.get({ url: `/wms/packageunit/pageTree`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
// 查询物品父级包装规格信息
|
|
|
|
export const getPackageunitPageParent = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
|
const data = {...params} |
|
|
|
return await request.post({ url: '/wms/packageunit/seniorParent', data }) |
|
|
|
} else { |
|
|
|
return await request.get({ url: `/wms/packageunit/pageParent`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
// 查询物品包装规格信息 详情
|
|
|
|
export const getPackageunit = async (id: number) => { |
|
|
|
return await request.get({ url: `/wms/packageunit/get?id=` + id }) |
|
|
|