src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java
@@ -100,6 +100,11 @@ if (param.getCombMats().size()>1){ throw new CoolException("不允许混料===>>" + param.getBarcode()); } Mat mat1 = matService.selectByMatnr(param.getCombMats().get(0).getMatnr()); if(!Cools.isEmpty(mat1)){ param.getCombMats().get(0).setBatch(mat1.getMatnr()); param.getCombMats().get(0).setAnfme(mat1.getPrice()); } if(Cools.isEmpty(param.getCombMats().get(0).getBatch())){ throw new CoolException("批号(唯一码)不能为空===>>" + param.getBarcode()); }