From 994d1ca168f1e4818cbd7eb1117c580d39b6af53 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Sun, 18 Aug 2024 09:33:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9B=B4=E6=8E=A5=E9=87=87?= =?UTF-8?q?=E8=B4=AD=E4=B8=8A=E6=9E=B6=E6=8E=A8=E8=8D=90=E5=BA=93=E4=BD=8D?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/putaway/record/putawayRecord.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/pages/putaway/record/putawayRecord.vue b/src/pages/putaway/record/putawayRecord.vue index f212cfa3..5fc5f1d9 100644 --- a/src/pages/putaway/record/putawayRecord.vue +++ b/src/pages/putaway/record/putawayRecord.vue @@ -468,7 +468,7 @@ batch:item.batch, inventoryStatus:item.inventoryStatus, itemCode:item.itemCode, - toLocationCode:item.toLocationCode, + toLocationCode:code, expectinNumber: item.packingNumber + "-" + Date.now(), } checkItemCodeAndLocation(param).then(res=>{ @@ -476,13 +476,14 @@ this.editItem.toLocationCode = code; }else { if(res.data.errorMsg){ - this.showErrorMessage(res.data.errorMsg) + this.showErrorMessage("系统异常:"+res.data.errorMsg) }else { if(res.data.balanceMsg){ - this.$refs.comMessage.showQuestionMessage('已经有库存余额,是否继续上架?', res => { - if (res) { + this.$refs.comMessage.showQuestionMessage("系统异常:"+res.data.balanceMsg, confirmRes => { + if (confirmRes) { + this.editItem.toLocationCode = code; }else { - this.removeRecommendLocation(res.data.recommendList) + this.removeRecommendLocation(res.data.expectinNumberList) } }); }else {