diff --git a/src/pages/inventoryMove/coms/comMoveRecord.vue b/src/pages/inventoryMove/coms/comMoveRecord.vue index 161473dc..2860bdeb 100644 --- a/src/pages/inventoryMove/coms/comMoveRecord.vue +++ b/src/pages/inventoryMove/coms/comMoveRecord.vue @@ -391,9 +391,10 @@ var params = this.setParams() let hint="" this.dataContent.subList.forEach(res=>{ - if(res.fromLocationCode==res.toLocationCode&& - res.fromInventoryStatus==res.toInventoryStatus){ - hint +=`包装号【${res.fromPackingNumber}】来源库位与目标库位 来源状态与目标状态一致,不可以提交\n` + if(res.fromLocationCode==res.toLocationCode){ + if(res.fromInventoryStatus==res.toInventoryStatus){ + hint +=`包装号【${res.fromPackingNumber}】来源库位与目标库位 来源状态与目标状态一致,不可以提交\n` + } } }) if(hint){