|
|
|
@ -2623,8 +2623,6 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
stockEntity.setGoodsName(stockArticleEntity.getDescriptionGoods()); |
|
|
|
|
stockEntity.setMarketId(stockArticleEntity.getMallId()); |
|
|
|
|
stockEntity.setReservationCode(reservationEntity.getReservationCode()); |
|
|
|
|
stockEntity.setStockupArea(stockupDTO.getStockupAllocationName()); |
|
|
|
|
// stockEntity.setStockupAreaId(stockupDTO.getStockupAllocationId());
|
|
|
|
|
if (Func.isNotEmpty(stockupDTO.getAllocationId())) { |
|
|
|
|
log.info(method + "库位备货"); |
|
|
|
|
//查询库位零担
|
|
|
|
@ -2692,7 +2690,6 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
} else { |
|
|
|
|
log.info(method + "无库位无托盘备货"); |
|
|
|
|
} |
|
|
|
|
distributionStockService.save(stockEntity); |
|
|
|
|
if (!Func.isEmpty(stockupDTO.getStockupAllocationId())){ |
|
|
|
|
JSONObject jsonObject = new JSONObject(); |
|
|
|
|
jsonObject.put("warehouseId", myCurrentWarehouse.getId()); |
|
|
|
@ -2702,7 +2699,9 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
jsonObject.put("num", stockupDTO.getNum()); |
|
|
|
|
//备货库位上架
|
|
|
|
|
warehouseUpdownStockUpAreaClient.upStockUpShelf(jsonObject); |
|
|
|
|
stockEntity.setStockupAreaId(stockupDTO.getStockupAllocationId()); |
|
|
|
|
} |
|
|
|
|
distributionStockService.save(stockEntity); |
|
|
|
|
return Resp.scanSuccess("备货成功", "本次成功备货" + stockupDTO.getNum() + "件"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|