From 9f7b0ecace9c80ff2a1d95f4343058b3b031bd22 Mon Sep 17 00:00:00 2001
From: dytyqx <1342948614@qq.com>
Date: 星期一, 30 三月 2026 21:39:29 +0800
Subject: [PATCH] 容器管理新增字段子单据类型

---
 WebAPI/Controllers/Sc_ProcessMangementController.cs |   20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/WebAPI/Controllers/Sc_ProcessMangementController.cs b/WebAPI/Controllers/Sc_ProcessMangementController.cs
index 7693aa3..68deccf 100644
--- a/WebAPI/Controllers/Sc_ProcessMangementController.cs
+++ b/WebAPI/Controllers/Sc_ProcessMangementController.cs
@@ -1777,9 +1777,11 @@
                         FentityModel.Add("FSrcInterId0", HSLInterID.ToString());      //鏀舵枡閫氱煡鍗曚富ID
                         FentityModel.Add("FSrcEntryId0", HSLEntryID.ToString());
                         FentityModel.Add("FSrcEntrySeq0", HSLSeQ.ToString());    //婧愬崟琛屽彿
+                        DataSet BfDs = oCN.RunProcReturn("exec h_p_QC_POStockInCheckBill_getDefineFieldFromSourceBill " + HSLInterID.ToString() + "," + HSLEntryID.ToString() , "h_p_QC_POStockInCheckBill_getDefineFieldFromSourceBill");
 
-                        FentityModel.Add("F_WPVT_Text_uky", HSourceBillNo.ToString());    //閲囪喘璁㈠崟琛屽彿
-                        FentityModel.Add("F_WPVT_Integer_fg2", HSeQ.ToString());  //璁㈠崟琛屽彿
+
+                        FentityModel.Add("F_WPVT_Text_uky", BfDs.Tables[0].Rows[0]["璁㈠崟鍙�"].ToString());    //閲囪喘璁㈠崟琛屽彿
+                        FentityModel.Add("F_WPVT_Integer_fg2", BfDs.Tables[0].Rows[0]["闇�姹傚崟鎹鍙�"].ToString());  //璁㈠崟琛屽彿
                     }
                 }
                 FentityModel.Add("FBaseUnitId", new JObject() { ["Fnumber"] = HUnitNumber.ToString() });//鍩烘湰鍗曚綅
@@ -1915,13 +1917,13 @@
                 K3CloudApiClient client = new K3CloudApiClient("http://47.96.97.237/k3cloud");
                 //        K3CloudApiClient client = new K3CloudApiClient("http://192.168.80.90/k3cloud/");
 
-                if (oSystemParameter.ShowBill(ref sErr))
-                {
-                    if (string.Equals(oSystemParameter.omodel.WMS_CampanyName, "閿﹂殕"))
-                    {
-                        result0 = InvokeHelper.Save("QM_InspectBill", JsonConvert.SerializeObject(json));//淇濆瓨
-                    }
-                }
+                //if (oSystemParameter.ShowBill(ref sErr))
+                //{
+                //    if (string.Equals(oSystemParameter.omodel.WMS_CampanyName, "閿﹂殕"))
+                //    {
+                //        result0 = InvokeHelper.Save("QM_InspectBill", JsonConvert.SerializeObject(json));//淇濆瓨
+                //    }
+                //}
                 result1 = InvokeHelper.Submit("QM_InspectBill", JsonConvert.SerializeObject(json));//鎻愪氦
                 result2 = InvokeHelper.Audit("QM_InspectBill", JsonConvert.SerializeObject(json));//瀹℃牳
                 if (JObject.Parse(result1)["Result"]["ResponseStatus"]["IsSuccess"].ToString().ToUpper() != "TRUE")

--
Gitblit v1.9.1