From 981ea6f779477b4b729c6796cfc42ee933c781b0 Mon Sep 17 00:00:00 2001
From: zrg <z1873@LAPTOP-EAVL132E>
Date: 星期二, 17 三月 2026 18:43:09 +0800
Subject: [PATCH] 优化自动产生工作联系单方法

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

diff --git a/WebAPI/Controllers/Sc_ProcessMangementController.cs b/WebAPI/Controllers/Sc_ProcessMangementController.cs
index bae5563..f7a4d60 100644
--- a/WebAPI/Controllers/Sc_ProcessMangementController.cs
+++ b/WebAPI/Controllers/Sc_ProcessMangementController.cs
@@ -1778,7 +1778,7 @@
                         FentityModel.Add("FSrcEntryId0", HSLEntryID.ToString());
                         FentityModel.Add("FSrcEntrySeq0", HSLSeQ.ToString());    //婧愬崟琛屽彿
 
-                        FentityModel.Add("F_WPVT_Text_uky", HSourceBillNo.ToString());    //婧愬崟琛屽彿
+                        FentityModel.Add("F_WPVT_Text_uky", HSourceBillNo.ToString());    //閲囪喘璁㈠崟琛屽彿
                         FentityModel.Add("F_WPVT_Integer_fg2", HSeQ.ToString());  //璁㈠崟琛屽彿
                     }
                 }
@@ -1861,7 +1861,7 @@
                 JArray Fentity4 = new JArray();
                 JObject FentityModel4 = new JObject();
                 FentityModel4.Add("FEntity_Link_FRuleId", "QM_PURReceive2Inspect");   //鍗曟嵁杞崲瑙勫垯
-                FentityModel4.Add("FEntity_Link_FSTableName", "T_PUR_RECEIVEENTRY");    //鏀舵枡閫氱煡鍗曞瓙琛�
+                FentityModel4.Add("FEntity_Link_FSTableName", "T_PUR_ReceiveEntry");    //鏀舵枡閫氱煡鍗曞瓙琛�
                 FentityModel4.Add("FEntity_Link_FSBillId", HSLInterID.ToString());      //鏀舵枡閫氱煡鍗曚富鍐呯爜
                 FentityModel4.Add("FEntity_Link_FSId", HSLEntryID.ToString());    //鏀舵枡閫氱煡鍗曞瓙鍐呯爜
                 FentityModel4.Add("FEntity_Link_FBaseAcceptQty", HRightQty.ToString());    //
@@ -1915,13 +1915,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