From ebf3f5fb57412ff0fd26abe29ddd3abd29900828 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期五, 08 八月 2025 10:08:37 +0800
Subject: [PATCH] 条码转存

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

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 1bfb40e..1dc8b91 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"
@@ -1501,7 +1501,7 @@
         }
         #endregion
 
-        #region 鏉$爜瀛樺叆鏉$爜涓绘。
+        #region 鏉$爜杞瓨鏉$爜涓绘。
         /// <summary>
         /// 鏉$爜杞瓨鏉$爜涓绘。
         /// </summary>
@@ -1551,12 +1551,12 @@
                 }
                 else
                 {
-                    
+                    string HBarCodeType = ClsPub.isStrNull(HSelectBarCodeType);
                     // 鏉$爜杞瓨
                     msg2 = msg2.Replace("\\", "");
                     msg2 = msg2.Replace("\n", "");  //\n
                     List<HSouceOrderList> ordrlist = Newtonsoft.Json.JsonConvert.DeserializeObject<List<HSouceOrderList>>(msg2);
-                    LogService.Write(ordrlist[0]);
+                    // LogService.Write(ordrlist[0]);
 
                     long HSourceInterID = string.IsNullOrEmpty(ordrlist[0].HMainID) == true ? 0 : ClsPub.isLong(ordrlist[0].HMainID);
                     long HSourceEntryID = string.IsNullOrEmpty(ordrlist[0].HSubID) == true ? 0 : ClsPub.isLong(ordrlist[0].HSubID);
@@ -1575,14 +1575,17 @@
                         ",@HEmpID = " + ordrlist[0].HEmpID  +
                         ",@HGroupID = " + ordrlist[0].HGroupID + 
                         ",@HSourceInterID = " + HSourceInterID + 
-                        ",@HSourceEntryID = " + HSourceEntryID
+                        ",@HSourceEntryID = " + HSourceEntryID +
+                        ",@HBarCodeType = N'" + HBarCodeType + "'" + 
+                        ",@HSourceBillNo = N'" + ordrlist[0].HSourceBillNo + "'" +
+                        ",@HMaker = N'" + ordrlist[0].HMaker + "'"
                         , "h_p_SC_BarCode_Transfer");
 
                     if((bool)ds1.Tables[0].Rows[0]["returntype"] == true)
                     {
                         objJsonResult.code = "1";
                         objJsonResult.count = 1;
-                        objJsonResult.Message = "[0000-1-037]鑾峰彇璧勬簮缁戝畾鏁版嵁鎴愬姛锛�";
+                        objJsonResult.Message = ds1.Tables[0].Rows[0]["mesg"].ToString();
                     }
                     else
                     {

--
Gitblit v1.9.1