分配问题修改;

This commit is contained in:
王奎兴
2026-02-28 15:55:21 +08:00
parent 5cdc8ccc3b
commit 136da13999
@@ -823,7 +823,7 @@ public class StockOutOrderApplicationService {
//未进行分配直接跳过
continue;
}
BigDecimal alreadyAllocationQuantity = outMaterialDetailDO.getAlreadyAllocationQuantity();
BigDecimal alreadyAllocationQuantity = outMaterialDetailPO.getAllocationQuantity();
BigDecimal allocationQuantity = outMaterialDetailDO.getAllocationQuantity();
BigDecimal nowAllocationQuantity = allocationQuantity.subtract(alreadyAllocationQuantity);
outMaterialDetailDO.setNowAllocationQuantity(nowAllocationQuantity);