From b0688c1efd606284fd5bc31f2d60a1fec9aef968 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期二, 08 四月 2025 11:20:50 +0800
Subject: [PATCH] 自定义菜单优化

---
 WebAPI/Controllers/仓存管理/验收入库/Kf_StepFoldinBillController.cs |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diff --git "a/WebAPI/Controllers/\344\273\223\345\255\230\347\256\241\347\220\206/\351\252\214\346\224\266\345\205\245\345\272\223/Kf_StepFoldinBillController.cs" "b/WebAPI/Controllers/\344\273\223\345\255\230\347\256\241\347\220\206/\351\252\214\346\224\266\345\205\245\345\272\223/Kf_StepFoldinBillController.cs"
index c30698b..0220b1d 100644
--- "a/WebAPI/Controllers/\344\273\223\345\255\230\347\256\241\347\220\206/\351\252\214\346\224\266\345\205\245\345\272\223/Kf_StepFoldinBillController.cs"
+++ "b/WebAPI/Controllers/\344\273\223\345\255\230\347\256\241\347\220\206/\351\252\214\346\224\266\345\205\245\345\272\223/Kf_StepFoldinBillController.cs"
@@ -258,6 +258,7 @@
                 string HCloseMan = mainList[0].HCloseMan;
                 string HCloseDate = mainList[0].HCloseDate;
                 long HCurID = mainList[0].HCurID;
+                long HProjectID = mainList[0].HProjectID;        //-椤圭洰
 
                 //杩涜 浼氳鏈熼棿 缁撹处 鐨勫垽鏂拰鎺у埗
                 string s = "";
@@ -279,12 +280,12 @@
 	                    ,HSupID,HWHID,HSCWHID,HEmpID,HManagerID,HSecManagerID,HKeeperID,HDeptID
 	                    ,HMaker,HMakeDate,HChecker,HUpDater
 	                    ,HDeleteMan,HCloseMan
-	                    ,HRemark,HExplanation,HInnerBillNo,HCurID)
+	                    ,HRemark,HExplanation,HInnerBillNo,HCurID,HProjectID)
                         values(" + HInterID + ",'" + HBillNo + "','" + HDate + "','" + 1251 + "','" +
                     1251 + "'," + HBillStatus + "," + DateTime.Now.Year + "," + DateTime.Now.Month + "," + HSupID +
                     "," + HWHID + "," + HSCWHID + "," + HEmpID + "," + HManagerID + "," + HSecManagerID +
                     "," + HKeeperID + "," + HDeptID + ",'" + HMaker + "','" + HMakeDate + "','" + HChecker + "','" + HUpDater + "','" + HDeleteMan + "','" + HCloseMan + "','"
-                    + HRemark + "','" + HExplanation + "','" + HInnerBillNo + "'," + HCurID + "" + ")");
+                    + HRemark + "','" + HExplanation + "','" + HInnerBillNo + "'," + HCurID + "," + HProjectID + "" + ")");
                 }
                 else if (OperationType == 3 || ds.Tables[0].Rows.Count != 0)
                 { //淇敼
@@ -311,7 +312,7 @@
                     String sql = "update Kf_ICStockBillMain   set " +
                                "HRemark='" + HRemark + "', HUpDater='" + HMaker + "', HUpDateDate=getdate()" +
                                  ",HSupID=" + HSupID + ",HWHID=" + HWHID + ",HSCWHID=" + HSCWHID + ", HEmpID=" + HEmpID + ",HManagerID=" + HManagerID + ",HSecManagerID = " + HSecManagerID
-                                 + ",HKeeperID=" + HKeeperID + ",HDeptID=" + HDeptID + "  where HInterID=" + HInterID;
+                                 + ",HKeeperID=" + HKeeperID + ",HDeptID=" + HDeptID + ",HProjectID=" + HProjectID + "  where HInterID=" + HInterID;
 
                     oCN.RunProc(sql);
 
@@ -533,10 +534,6 @@
                 {
                     HBillNo = ds.Tables[0].Rows[0]["HBillNo"].ToString();
                 }
-
-
-
-
                 //Type 1 瀹℃牳  2  鍙嶅鏍�
                 if (Type == 1)
                 {
@@ -560,7 +557,6 @@
                         objJsonResult.data = null;
                         return objJsonResult;
                     }
-
                     if (!BillOld.CheckBill(int.Parse(HInterID), HBillNo, "h_p_Cg_POInStockBill_AfterCheckCtrl", user, ref ClsPub.sExeReturnInfo))
                     {
                         objJsonResult.code = "0";

--
Gitblit v1.9.1