From 9614bd465e8a1588eba367594795001a04b92002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BF=97=E5=9B=BD?= <854933521@qq.com> Date: Fri, 25 Oct 2024 13:47:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A2=84=E7=94=9F=E4=BA=A7?= =?UTF-8?q?=E4=B8=8A=E6=9E=B6=202024/8/2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/request2.js | 23 ++++++++++++++++++ .../record/productPutawayRecord.vue | 24 +++++++++++++------ 2 files changed, 40 insertions(+), 7 deletions(-) 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 @@