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 + }) + } } }