diff --git a/src/api/request2.js b/src/api/request2.js index 07560d3c..c3f423b5 100644 --- a/src/api/request2.js +++ b/src/api/request2.js @@ -332,7 +332,30 @@ export function validateItemAndLocation(data) { export function getPutawayRecommendLocation(data) { return http.post("/wms/location/recommendLocationNew",data) } +//获取推荐目标库位 +// expectinNumber: 预计入number +// itemCode: 物料代码 +// inventoryStatus:库存状态 +export function getrecommendLocationExpectin(params) { + return request({ + url: baseApi + "/wms/location/recommendLocationExpectin", + method: "post", + data: params, + }); +} + +//移除预占用的推荐库位 +// expectinNumber: 预计入number +// itemCode: 物料代码 +// inventoryStatus:库存状态 +export function recommendLocationRemoveExpectin(params) { + return request({ + url: baseApi + "/wms/location/recommendLocationRemoveExpectin", + method: "post", + data: params, + }); +} /** * 查询物品信息接口 * @param {*} code 物品代码 diff --git a/src/pages/productPutaway/record/productPutawayRecord.vue b/src/pages/productPutaway/record/productPutawayRecord.vue index 3db68c3f..f94dcf5e 100644 --- a/src/pages/productPutaway/record/productPutawayRecord.vue +++ b/src/pages/productPutaway/record/productPutawayRecord.vue @@ -43,7 +43,7 @@