From f11adc0d0a9ccc43721ed0015dc6a56ef2e50645 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Tue, 20 Aug 2024 09:47:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9B=B4=E6=8E=A5=E4=B8=8A?= =?UTF-8?q?=E6=9E=B6=E4=BF=AE=E6=94=B9=E5=BA=93=E4=BD=8D=E8=B5=8B=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/putaway/record/putawayRecord.vue | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/pages/putaway/record/putawayRecord.vue b/src/pages/putaway/record/putawayRecord.vue index b1b5c250..318d6569 100644 --- a/src/pages/putaway/record/putawayRecord.vue +++ b/src/pages/putaway/record/putawayRecord.vue @@ -483,12 +483,33 @@ this.$refs.comMessage.showQuestionMessage("系统异常:"+res.data.balanceMsg, confirmRes => { if (confirmRes) { this.editItem.toLocationCode = code; + var item = this.detailSource.find(res => { + if (res.itemCode == this.editItem.itemCode) { + return res + } + }) + if(item){ + item.subList.forEach(r=>{ + r.toLocationCode =code + }) + } }else { this.removeRecommendLocation(res.data.expectinNumberList) } }); }else { + //所有库位赋值 this.editItem.toLocationCode = code; + var item = this.detailSource.find(res => { + if (res.itemCode == this.editItem.itemCode) { + return res + } + }) + if(item){ + item.subList.forEach(r=>{ + r.toLocationCode =code + }) + } } }