diff --git a/DOAN.Service/MES/Material/MmInventoryService.cs b/DOAN.Service/MES/Material/MmInventoryService.cs index 1fb5e43..d07b2cb 100644 --- a/DOAN.Service/MES/Material/MmInventoryService.cs +++ b/DOAN.Service/MES/Material/MmInventoryService.cs @@ -265,7 +265,8 @@ namespace DOAN.Service.BZFM LocationName = mmLocation.LocationName, WarehouseCode = mmLocation.WarehouseCode, WarehouseName = mmLocation.WarehouseName, - Quantity = parm.Quantity, + //TODO 待调整(可能涉及记录汇总) + Quantity = delta, Unit = parm.Unit, ProductionDate = parm.ProductionDate, ExpiryDate = parm.ExpiryDate, @@ -364,7 +365,8 @@ namespace DOAN.Service.BZFM LocationName = mmLocation.LocationName, WarehouseCode = mmLocation.WarehouseCode, WarehouseName = mmLocation.WarehouseName, - Quantity = parm.Quantity, + //TODO 待调整(可能涉及记录汇总) + Quantity = -delta, Unit = parm.Unit, CreatedTime = nowDate, TransactionType = parm.TransactionType,