| | |
| | | waitPakin.setManu(String.valueOf(param.getLocId()));//mes具体库位编号 |
| | | waitPakin.setThreeCode(param.getBizNo()); |
| | | waitPakin.setBeBatch(param.getPackage1());//是否散货,0 非散货;1 散货;为了管控出货速率,散货可以出慢点。 |
| | | waitPakin.setBoxType1("erp"); |
| | | if (!waitPakinService.insert(waitPakin)) { |
| | | throw new CoolException("保存入库通知档失败"); |
| | | } |
| | |
| | | @Value("${wcs.status-sync.enabled:true}") |
| | | private Boolean enabled; |
| | | |
| | | @Scheduled( |
| | | initialDelayString = "${wcs.status-sync.initial-delay:10000}", |
| | | fixedDelayString = "${wcs.status-sync.fixed-delay:5000}" |
| | | ) |
| | | // @Scheduled( |
| | | // initialDelayString = "${wcs.status-sync.initial-delay:10000}", |
| | | // fixedDelayString = "${wcs.status-sync.fixed-delay:5000}" |
| | | // ) |
| | | private void execute() { |
| | | if (!Boolean.TRUE.equals(enabled)) { |
| | | return; |
| | |
| | | } else { |
| | | this.locType1 = 2; // 高库位 |
| | | } |
| | | this.locType1 = 1; // 低库位 |
| | | log.info(JSON.toJSONString(this)); |
| | | } |
| | | |
| | |
| | | locTypeDto == null || locTypeDto.getLocType1() == null ? null : locTypeDto.getLocType1().intValue(), |
| | | findLocNoAttributeVo == null ? null : findLocNoAttributeVo.getMatnr()); |
| | | if (!Cools.isEmpty(stationCrnLocTypes)) { |
| | | return findRun2EmptyLocByCrnLocTypeEntries(rowLastno, rowLastnoType, stationCrnLocTypes, |
| | | LocMast locMast = findRun2EmptyLocByCrnLocTypeEntries(rowLastno, rowLastnoType, stationCrnLocTypes, |
| | | locTypeDto, staDescId, sourceStaNo, startupDto, preferredArea, "station-priority"); |
| | | if (!Cools.isEmpty(locMast)) { |
| | | return locMast; |
| | | } |
| | | } |
| | | if (preferredArea == null) { |
| | | List<Integer> defaultCrnNos = new ArrayList<>(orderedCrnNos); |
| | |
| | | ,{field: 'anfme', align: 'center',title: '数量', hide: false} |
| | | ,{field: 'zpallet', align: 'center',title: '托盘条码', hide: false} |
| | | |
| | | ,{field: 'boxType1', align: 'center',title: '货主', hide: false} |
| | | ,{field: 'boxType3', align: 'center',title: '采购单号', hide: false} |
| | | // ,{field: 'model', align: 'center',title: '代码', hide: true} |
| | | // ,{field: 'color', align: 'center',title: '颜色', hide: true} |
| | |
| | | '<rect x="50" y="0" width="15" height="4" rx="1"/><rect x="55" y="4" width="5" height="32" rx="1.5"/><rect x="50" y="36" width="15" height="4" rx="1"/>' + |
| | | '</g>' + |
| | | '</svg>'; |
| | | } |
| | | } |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="boxType1" placeholder="货主" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="specs" placeholder="规格" autocomplete="off"> |
| | | </div> |
| | | </div> |