入库单计划入库数量修改
This commit is contained in:
+7
@@ -155,6 +155,13 @@ public class StockInOrderDomainService {
|
|||||||
if (stockInOrderPO == null){
|
if (stockInOrderPO == null){
|
||||||
throw new ServiceException("入库单信息不存在");
|
throw new ServiceException("入库单信息不存在");
|
||||||
}
|
}
|
||||||
|
if (!CollectionUtils.isEmpty(stockInOrderDO.getMaterialDetailList())) {
|
||||||
|
stockInOrderDO.getMaterialDetailList().forEach(detail -> {
|
||||||
|
if (detail.getInboundQuantity() != null) {
|
||||||
|
detail.setQuantity(detail.getInboundQuantity());
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
//设置物料信息
|
//设置物料信息
|
||||||
setMaterialDetailInfo(stockInOrderDO);
|
setMaterialDetailInfo(stockInOrderDO);
|
||||||
//统计总物料种数
|
//统计总物料种数
|
||||||
|
|||||||
Reference in New Issue
Block a user