diff --git a/pages/productionReturn/record/returnToStore.vue b/pages/productionReturn/record/returnToStore.vue index 8b48921b..e1c3d92e 100644 --- a/pages/productionReturn/record/returnToStore.vue +++ b/pages/productionReturn/record/returnToStore.vue @@ -252,7 +252,6 @@ for (let detail of item.subList) { if (detail != undefined) { item.qty = calc.add(item.qty,detail.qty) - } } } @@ -282,7 +281,7 @@ //获取推荐库位 getRecommendLocation(label, pack, callback) { - let recommend = this.recommendLocationList.find(r => r.itemCode == balance.itemCode); + let recommend = this.recommendLocationList.find(r => r.itemCode == label.itemCode); if (recommend == undefined) { let param = { itemCode: label.itemCode,