| | |
| | | if (Cools.isEmpty(mat)) { |
| | | throw new CoolException(detlDto.getMatnr() + "商品档案不存在"); |
| | | } |
| | | OrderDetl orderDetl = orderDetlService.selectItem(orderNo, mat.getMatnr(), detlDto.getBatch(), detlDto.getCsocode()); |
| | | AgvWaitPakin waitPakin = new AgvWaitPakin(); |
| | | waitPakin.sync(mat); |
| | | if (orderDetl != null) { |
| | | waitPakin.setWeight(orderDetl.getWeight()); |
| | | waitPakin.setVolume(orderDetl.getVolume()); |
| | | } |
| | | waitPakin.setOrderNo(orderNo); // 单据编号 |
| | | waitPakin.setBatch(detlDto.getBatch()); // 序列码 |
| | | //waitPakin.setZpallet(zpallet); // 货架码 |