src/main/java/com/zy/common/web/WcsController.java
@@ -450,7 +450,7 @@ WrkMast wrkMast = wrkMastService.selectById(wrkNo); if (wrkMast == null) { throw new CoolException("异常口入库任务号无任务:" + wrkNo); } else if (wrkMast.getLocNo() != null) { } else if (wrkMast.getLocNo() != null && wrkMast.getLocNo().length() == 7) { throw new CoolException("异常口入库库位已分配:" + wrkMast.getLocNo()); } @@ -709,7 +709,7 @@ } if (locMast == null) { return R.error("库存没有"+type+"类型空托盘"); return R.error("库存没有"+type+"类型空托盘或无可用堆垛机"); } String locNo = locMast.getLocNo();