|
|
@ -239,6 +239,9 @@ public class ProductionscrapRecordMainServiceImpl implements ProductionscrapReco |
|
|
|
transactionCreateReqVO.setPackUnit(jobUtils.getItemareaDO(transactionCreateReqVO.getItemCode(), areabasicDO.getCode()).getInPackUnit()); |
|
|
|
transactionCreateReqVO.setPackQty(jobUtils.getItempackageDO(transactionCreateReqVO.getItemCode(), transactionCreateReqVO.getPackUnit()).getPackQty()); |
|
|
|
} |
|
|
|
LocationDO locationDO = locationService.selectLocation(transactionCreateReqVO.getLocationCode()); |
|
|
|
transactionCreateReqVO.setWarehouseCode(locationDO.getWarehouseCode()); |
|
|
|
transactionCreateReqVO.setLocationGroupCode(locationDO.getLocationGroupCode()); |
|
|
|
transactionCreateReqVOList.add(transactionCreateReqVO); |
|
|
|
} |
|
|
|
// 增加库存事务
|
|
|
|