From 36a19c5dced471cbfbf0898b529b1ed43f29c72b Mon Sep 17 00:00:00 2001 From: git_rabbit Date: Mon, 12 Jan 2026 10:35:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=87=BA=E5=85=A5=E5=BA=93?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=EF=BC=8C=E8=AE=B0=E5=BD=95=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DOAN.Service/MES/Material/MmInventoryService.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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,