|
|
|
@ -580,6 +580,8 @@ public class ProductionInboundServiceImpl implements ProductionInboundService { |
|
|
|
Location location = locationService.getByLocationIdAndSite(dto.getSite(), dto.getLocationNo()); |
|
|
|
if (location != null) { |
|
|
|
warehouseId = location.getWarehouseId(); |
|
|
|
} else { |
|
|
|
throw new XJException("库位不存在: " + dto.getLocationNo()); |
|
|
|
} |
|
|
|
// 2. 生成事务号 |
|
|
|
TransNoControl transTrans = transNoService.getTransNo(dto.getSite(), "SR", 10); |
|
|
|
|