diff --git a/pages/purchaseReturn/job/returnDetail.vue b/pages/purchaseReturn/job/returnDetail.vue index fbf9651b..2ab09a93 100644 --- a/pages/purchaseReturn/job/returnDetail.vue +++ b/pages/purchaseReturn/job/returnDetail.vue @@ -236,7 +236,9 @@ } else { var itemDetail = detail.subList.find(r => { return r.packingNumber == packingNumber && - r.batch == batch && r.fromLocationCode == result.fromLocationCode + r.batch == batch && + r.fromLocationCode == result.fromLocationCode&& + r.inventoryStatus ==result.balance.inventoryStatus }) if (itemDetail == undefined) { this.showErrorMessage("箱码【" + packingNumber + "】,批次【" + batch + "】库位【"+result.fromLocationCode+"】不在列表中")