自动化立体仓库 - WMS系统
#
Junjie
1 天以前 528df0077f514bf0b0926e113630a570b9046eb2
#
1个文件已修改
17 ■■■■■ 已修改文件
src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/service/impl/MobileServiceImpl.java
@@ -661,6 +661,17 @@
                    throw new CoolException("单据编号已作业完成");
                }
                List<WaitPakin> waitPakinList = waitPakinService.selectList(new EntityWrapper<WaitPakin>()
                        .eq("matnr", elem.getMatnr())
                        .eq("batch", elem.getBatch())
                        .eq("order_no", elem.getOrderNo())
                        .eq("anfme", elem.getAnfme())
                        .eq("standby1", elem.getStandby1())
                );
                if (!waitPakinList.isEmpty()) {
                    throw new CoolException("该订单物料已经组托!");
                }
                // 订单明细数量校验
                OrderDetl orderDetl = OrderInAndOutUtil.selectItem(Boolean.TRUE, order.getId(), elem.getMatnr(), elem.getBatch(), elem.getBrand(), elem.getStandby1(), elem.getStandby2(), elem.getStandby3(),
                        elem.getBoxType1(), elem.getBoxType2(), elem.getBoxType3());
@@ -1303,6 +1314,12 @@
    @Override
    public void toAllOut(PalletToAllOutParam param, Long userId) {
        String barcodeSize = param.getBarcode().substring(0, 2);
        String newBarcodeSize = param.getNewBarcode().substring(0, 2);
        if (!barcodeSize.equals(newBarcodeSize)) {
            throw new CoolException("托盘尺寸不一致");
        }
        WrkMast wrkMast = wrkMastService.selectByBarcode(param.getBarcode());
        if (wrkMast == null) {
            throw new CoolException("工作档不存在");