From ac59880eecc91d254fd02c3e1f1b7b230ec68ecc Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期二, 23 四月 2024 09:57:48 +0800
Subject: [PATCH] 1

---
 WebAPI/Controllers/Sc_MouldRepairInBillListController.cs |   21 ++++++++++++---------
 1 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/WebAPI/Controllers/Sc_MouldRepairInBillListController.cs b/WebAPI/Controllers/Sc_MouldRepairInBillListController.cs
index f1872c1..205b36f 100644
--- a/WebAPI/Controllers/Sc_MouldRepairInBillListController.cs
+++ b/WebAPI/Controllers/Sc_MouldRepairInBillListController.cs
@@ -1013,8 +1013,8 @@
 
                     oItemSub.HCloseType = false;   //鍏抽棴绫诲瀷
 
-                    oItemSub.HSourceInterID = 0;     // 婧愬崟涓诲唴鐮�
-                    oItemSub.HSourceEntryID = 0;   //婧愬崟瀛愬唴鐮�
+                    //oItemSub.HSourceInterID = 0;     // 婧愬崟涓诲唴鐮�
+                    //oItemSub.HSourceEntryID = 0;   //婧愬崟瀛愬唴鐮�
 
 
                     oBill.DetailColl.Add(oItemSub);
@@ -1065,7 +1065,7 @@
         }
         #endregion
 
-        #region 鍏朵粬鍏ュ簱鍗� 缂栬緫椤甸潰鍒濆鍖�
+        #region 鐩存帴璋冩嫧鍗� 缂栬緫椤甸潰鍒濆鍖�
         [Route("Kf_MoveStockBill/Kf_MoveStockBillEdit")]
         [HttpGet]
         public object Kf_MoveStockBillEdit(long HInterID)
@@ -1105,7 +1105,7 @@
         }
         #endregion
 
-        #region 鍏跺畠鍏ュ簱鍗曞鏍�/鍙嶅鏍稿姛鑳�
+        #region 鐩存帴璋冩嫧鍗� 瀹℃牳/鍙嶅鏍稿姛鑳�
         [Route("Kf_MoveStockBill/CheckKf_MoveStockBill")]
         [HttpGet]
         public object CheckKf_MoveStockBill(string HInterID, int Type, string user)
@@ -1303,7 +1303,7 @@
         }
         #endregion
 
-        #region 鍏跺畠鍏ュ簱鍗曞叧闂�/鍙嶅叧闂姛鑳�
+        #region 鐩存帴璋冩嫧鍗� 鍏抽棴/鍙嶅叧闂姛鑳�
         [Route("Kf_MoveStockBill/CloseKf_MoveStockBill")]
         [HttpGet]
         public object CloseKf_MoveStockBill(string HInterID, int Type, string user)
@@ -1409,7 +1409,7 @@
         }
         #endregion
 
-        #region 鍏朵粬鍏ュ簱鍗� 浣滃簾/鍙嶄綔搴熷姛鑳�
+        #region 鐩存帴璋冩嫧鍗� 浣滃簾/鍙嶄綔搴熷姛鑳�
         [Route("Kf_MoveStockBill/DropKf_MoveStockBill")]
         [HttpGet]
         public object DropKf_MoveStockBill(string HInterID, int Type, string user)
@@ -1539,8 +1539,7 @@
         }
         #endregion
 
-
-        #region 璋冩嫧鍗曞垪琛�
+        #region 鐩存帴璋冩嫧鍗曞垪琛�
         /// <summary>
         /// 璋冩嫧鍗曞垪琛�
         /// </summary>
@@ -1589,7 +1588,7 @@
         }
         #endregion
 
-        #region 璋冩嫧鍗�  鍒犻櫎
+        #region 鐩存帴璋冩嫧鍗�  鍒犻櫎
         [Route("Kf_MoveStockBill/DelteteGetMoveStockBill")]
         [HttpGet]
         public object DelteteGetMoveStockBill(string HInterID, string user)
@@ -1632,6 +1631,10 @@
                 //==================================================================================  
 
                 oCN.BeginTran();
+
+                //鍒嗗竷寮忚皟鍏ュ崟鏂板鍥炲~鍒嗗竷寮忚皟鍑哄崟鍏宠仈鏁伴噺
+                oCN.RunProc("exec h_p_Kf_UpDateRelation_MoveStockRequestToPOStockIn_Del " + HInterID);
+
                 oCN.RunProc("Delete From Kf_ICStockBillMain where HInterID = " + HInterID);
                 oCN.RunProc("Delete From Kf_ICStockBillSub where HInterID = " + HInterID);
 

--
Gitblit v1.9.1