| | |
| | | StockOutParam stockOutParam = new StockOutParam(param,locDetlArraySou); |
| | | workService.startupFullTakeStore(stockOutParam, userId); |
| | | } catch (Exception e){ |
| | | throw new CoolException("生成出库任务失败:出库数量:"+locDetlArraySou.size()); |
| | | // throw new CoolException("生成出库任务失败:出库数量:"+locDetlArraySou.size()); |
| | | throw new CoolException("生成出库任务失败:"+e.getMessage()); |
| | | } |
| | | |
| | | } |
| | |
| | | for (OutLocDto dto : dtos) { |
| | | // 判断入出库类型:101.全板出库 or 103.拣料出库 |
| | | if (ioWorkType == null) { |
| | | ioType = dto.isAll() ? 101 : 103; |
| | | // ioType = dto.isAll() ? 101 : 103; |
| | | ioType = 101; |
| | | } else if (ioWorkType.equals(IoWorkType.CHECK_OUT)) { |
| | | ioType = 107; |
| | | } |