From 5b83a166f857ae61353aea3baeaf2373f5537183 Mon Sep 17 00:00:00 2001
From: zrg <z1873@LAPTOP-EAVL132E>
Date: 星期二, 02 十二月 2025 12:27:44 +0800
Subject: [PATCH] 1

---
 WebAPI/Controllers/QC_ManagementController.cs |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/WebAPI/Controllers/QC_ManagementController.cs b/WebAPI/Controllers/QC_ManagementController.cs
index 2d4fb46..82ca164 100644
--- a/WebAPI/Controllers/QC_ManagementController.cs
+++ b/WebAPI/Controllers/QC_ManagementController.cs
@@ -1083,6 +1083,7 @@
                 msg2 = msg2.Replace("\\", "");
                 msg2 = msg2.Replace("\n", "");  //\n
                 lsmain = oListModels.getObjectByJson_Gy_QCCheckProjectMain(msg2);
+                string ts;
                 foreach (Model.ClsGy_QCCheckProjectMain oItem in lsmain)
                 {
                     //oItem.HMaker = "";
@@ -1107,6 +1108,7 @@
                         return objJsonResult;
                     }
                     oBill.omodel = oItem;
+                    ts = oItem.HCheckBillType;
                 }
                 //琛ㄤ綋鏁版嵁
                 //鎸� },{鏉ユ媶鍒嗘暟缁� //鍘绘帀銆愬拰銆�
@@ -1248,7 +1250,7 @@
                 }
 
                 //鍒犻櫎鍓嶆帶鍒�=========================================      
-                string sql1 = "exec h_p_Gy_QCCheckProject_BeforeDelCtrl  " + BillOld.omodel.HInterID + ",'" + BillOld.omodel.HBillNo + "','" + UserName + "'";
+                string sql1 = "exec h_p_Gy_QCCheckProject_BeforeDelCtrl  " + oBill.omodel.HInterID + ",'" + oBill.omodel.HBillNo + "','" + UserName + "'";
                 ds = oCN.RunProcReturn(sql1, "h_p_Gy_QCCheckProject_BeforeDelCtrl");
                 if (ds == null || ds.Tables.Count == 0 || ds.Tables[0].Rows.Count == 0)
                 {
@@ -1270,7 +1272,7 @@
                 //==================================================================================  
 
                 //鍒犻櫎鍗曟嵁锛堝寘鍚垹闄ゅ悗鎺у埗銆佸啓鍏ユ棩蹇楋級
-                if (!oBill.DeleteBill(BillOld.omodel.HInterID, BillOld.omodel.HBillNo, "h_p_Gy_QCCheckProject_AfterDelCtrl", UserName, ref ClsPub.sExeReturnInfo))
+                if (!oBill.DeleteBill(oBill.omodel.HInterID, oBill.omodel.HBillNo, "h_p_Gy_QCCheckProject_AfterDelCtrl", UserName, ref ClsPub.sExeReturnInfo))
                 {
                     objJsonResult.code = "0";
                     objJsonResult.count = 0;
@@ -1749,7 +1751,7 @@
                     oItemSub.HRelationMoney = 0;
                     oItemSub.HCloseMan = "";
                     oItemSub.HRemark = "";
-                    oItemSub.HProcCheckEmp = oBill.omodel.HFirstCheckEmp;//妫�娴嬪憳
+                    // oItemSub.HProcCheckEmp = oBill.omodel.HFirstCheckEmp;//妫�娴嬪憳
                     oBill.DetailColl.Add(oItemSub);
 
                 }

--
Gitblit v1.9.1