From 2c60540518b5f2071987dcbe6aa237af4b97c77a Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期一, 12 五月 2025 23:49:52 +0800 Subject: [PATCH] 修复了一些已知问题 --- Tiger.Business.WMS/Transaction/Old/ProductionMaterialReq.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Tiger.Business.WMS/Transaction/Old/ProductionMaterialReq.cs b/Tiger.Business.WMS/Transaction/Old/ProductionMaterialReq.cs index 3245a62..7d347e5 100644 --- a/Tiger.Business.WMS/Transaction/Old/ProductionMaterialReq.cs +++ b/Tiger.Business.WMS/Transaction/Old/ProductionMaterialReq.cs @@ -147,7 +147,7 @@ var actQty = req.Dtls.First().PRQTY - req.Dtls.First().QTY; if (inv != null && actQty > 0) { - inv.poolItem = inv.Item.GetPoolItem(input.AuthOption.OrgCode, nameof(req), req.BILLCODE, req.Dtls[0].BILLLINE, actQty, false); + inv.poolItem = inv.Item.GetPoolItem(input.AuthOption.OrgCode, TransID, nameof(req), req.BILLCODE, req.Dtls[0].BILLLINE, actQty, false); } else { @@ -202,7 +202,7 @@ var actQty = sumDtls.Where(x => x.ItemCode == inv.Item.ITEM_CODE).Select(x => x.actQty).First(); if (actQty > 0) { - inv.poolItem = inv.Item.GetPoolItem(input.AuthOption.OrgCode, nameof(req), req.BILLCODE, null, actQty, false); + inv.poolItem = inv.Item.GetPoolItem(input.AuthOption.OrgCode, TransID, nameof(req), req.BILLCODE, null, actQty, false); } else { @@ -255,7 +255,7 @@ var actQty = sumDtls.Where(x => x.ItemCode == inv.Item.ITEM_CODE).Select(x => x.actQty).First(); if (actQty > 0) { - inv.poolItem = inv.Item.GetPoolItem(input.AuthOption.OrgCode, nameof(req), req.BILLCODE, null, actQty, false); + inv.poolItem = inv.Item.GetPoolItem(input.AuthOption.OrgCode, TransID, nameof(req), req.BILLCODE, null, actQty, false); } else { @@ -388,7 +388,7 @@ var actQty = sumDtls.Where(x => x.ItemCode == inv.Item.ITEM_CODE).Select(x => x.actQty).First(); if (actQty > 0) { - inv.poolItem = inv.Item.GetPoolItem(OrgCode, nameof(req), req.BILLCODE, null, actQty, false); + inv.poolItem = inv.Item.GetPoolItem(OrgCode, TransID, nameof(req), req.BILLCODE, null, actQty, false); } else { -- Gitblit v1.9.3