From d53b01ecb274f83171296b10ff77d305522e0170 Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期四, 29 六月 2023 14:55:27 +0800
Subject: [PATCH] 条码生成,来料检验

---
 WebAPI/Controllers/仓存管理/条码生成/Sc_BarCodeController.cs |    1 +
 WebAPI/Controllers/Sc_ProcessMangementController.cs  |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/WebAPI/Controllers/Sc_ProcessMangementController.cs b/WebAPI/Controllers/Sc_ProcessMangementController.cs
index ca35e9d..73bcda8 100644
--- a/WebAPI/Controllers/Sc_ProcessMangementController.cs
+++ b/WebAPI/Controllers/Sc_ProcessMangementController.cs
@@ -1205,7 +1205,7 @@
             Int64 HSourceEntryID, string HSourceBillNo, string user,
             Int64 HWHID, Int64 HSPID, Int64 HSupID, Int64 HKeeperID,
             Int64 HMaterID, string HSourceBillType, Int64 HSLInterID,
-            Int64 HSLEntryID, string HSLBillNo, Int64 HSLSeQ, string HBillNo, Int64 HInterID)
+            Int64 HSLEntryID, string HSLBillNo, Int64 HSLSeQ, string HBillNo, Int64 HInterID, string HBatchNo)
         {
             try
             {
@@ -1300,6 +1300,7 @@
                 FentityModel.Add("FBaseAcceptQty", HRightQty.ToString());//鍩烘湰鍗曚綅鎺ユ敹鏁�
                 FentityModel.Add("FCurrency", new JObject() { ["Fnumber"] = "PRE001" });//甯佸埆
                 FentityModel.Add("FIsSplitRow ", false);// 鏄惁鎷嗗垎琛�
+                FentityModel.Add("FLot", new JObject() { ["Fnumber"] = HBatchNo.ToString() });//鎵瑰彿
 
                 JArray Fentity2 = new JArray();
                 JObject FentityModel2 = new JObject();
diff --git "a/WebAPI/Controllers/\344\273\223\345\255\230\347\256\241\347\220\206/\346\235\241\347\240\201\347\224\237\346\210\220/Sc_BarCodeController.cs" "b/WebAPI/Controllers/\344\273\223\345\255\230\347\256\241\347\220\206/\346\235\241\347\240\201\347\224\237\346\210\220/Sc_BarCodeController.cs"
index 700941b..a788ec6 100644
--- "a/WebAPI/Controllers/\344\273\223\345\255\230\347\256\241\347\220\206/\346\235\241\347\240\201\347\224\237\346\210\220/Sc_BarCodeController.cs"
+++ "b/WebAPI/Controllers/\344\273\223\345\255\230\347\256\241\347\220\206/\346\235\241\347\240\201\347\224\237\346\210\220/Sc_BarCodeController.cs"
@@ -670,6 +670,7 @@
                 string HSelectBarCodeType = sArray[3].ToString();
                 string CampanyName = sArray[4].ToString()=="xxx"?"": sArray[4].ToString();
                 string UserName = sArray[5].ToString();
+                ClsPub.CurUserName = UserName;
 
                 //鑾峰彇鍐呯爜
                 HInterID = DBUtility.ClsPub.CreateBillID_Prod(ModName, ref DBUtility.ClsPub.sExeReturnInfo);

--
Gitblit v1.9.1