From e33ee3adc98f5411395682cbfc9b1d367cdae7ee Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期六, 15 二月 2025 10:20:22 +0800
Subject: [PATCH] 1.生产报工优化 2.采购入库优化

---
 service/Warehouse/InventoryManager.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/service/Warehouse/InventoryManager.cs b/service/Warehouse/InventoryManager.cs
index a5fc989..68195fe 100644
--- a/service/Warehouse/InventoryManager.cs
+++ b/service/Warehouse/InventoryManager.cs
@@ -217,6 +217,7 @@
                     ? null
                     : (byte)(c_mes_inv_item_barcodes.EpFlag.Value ? 1 : 0),
                 DepotsCode = depotSection.DepotCode,
+                DepotId = depotSection.DepotId,
                 DepotsId = depotSection.DepotId,
                 DepotSectionsCode = p_section_code,
                 CheckDate = c_mes_inv_item_barcodes.CreateDate,
@@ -226,7 +227,8 @@
                 WorkLine = c_mes_inv_item_barcodes.WorkLine,
                 // ItemUnit = c_mes_inv_item_barcodes.Unit,
                 SuppNo = c_mes_inv_item_barcodes.SuppNo,
-                ItemId = c_mes_inv_item_barcodes.ItemId
+                ItemId = c_mes_inv_item_barcodes.ItemId,
+                IndepUserCode = c_user
                 // Fsubsidiary = c_organize
             }).IgnoreColumns(true).ExecuteCommand();
 

--
Gitblit v1.9.3