Browse Source

备货库存不在虚拟区或者仓储区,暂不可更新备货

k 1 year ago
parent
commit
3839849253

+ 1 - 1
warewms-ams/src/main/java/com/ruoyi/ams/order/service/impl/UpdateOrderStockingProcessImpl.java

@@ -117,7 +117,7 @@ public class UpdateOrderStockingProcessImpl implements UpdateOrderStockingProces
             }
             // 库存需要在仓储区或者虚拟区
             if (!locIdLotattVO.getZoneId().equals(Constant.ZONE_TYPE.ZONE_VIRTUAL.getValue())
-                    && !locIdLotattVO.getZoneId().equals(Constant.ZONE_TYPE.ZONE_VIRTUAL.getValue())) {
+                    && !locIdLotattVO.getZoneId().equals(Constant.ZONE_TYPE.ZONE_INV.getValue())) {
                 return AjaxResult.error("备货库存不在虚拟区或者仓储区,暂不可更新备货:" + locIdLotattVO.getLocationNo());
             }
         }