From 654edbac0bd35d9c45825821dfec5d749bc81067 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期六, 16 八月 2025 00:18:25 +0800
Subject: [PATCH] 1

---
 WebAPI/Controllers/SCGL/日计划管理/Sc_JIT_ComplementGoodBillController.cs |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git "a/WebAPI/Controllers/SCGL/\346\227\245\350\256\241\345\210\222\347\256\241\347\220\206/Sc_JIT_ComplementGoodBillController.cs" "b/WebAPI/Controllers/SCGL/\346\227\245\350\256\241\345\210\222\347\256\241\347\220\206/Sc_JIT_ComplementGoodBillController.cs"
index a9104bf..bc98a66 100644
--- "a/WebAPI/Controllers/SCGL/\346\227\245\350\256\241\345\210\222\347\256\241\347\220\206/Sc_JIT_ComplementGoodBillController.cs"
+++ "b/WebAPI/Controllers/SCGL/\346\227\245\350\256\241\345\210\222\347\256\241\347\220\206/Sc_JIT_ComplementGoodBillController.cs"
@@ -719,11 +719,11 @@
                     string JIDLT = ""; //JIT鍒拌揣鍓嶇疆鏈燂紙澶╋級
                     string JIMLC = ""; //JIT鏈�灏忚捣閫侀噺
 
-                    HORGNumber = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["缁勭粐缂栫爜"].ToString());
+                    HORGNumber = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["缁勭粐缂栫爜"].ToString()).Replace("'", "");
                     HORGName = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["缁勭粐"].ToString());
-                    HSupNumer = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["渚涘簲鍟嗕唬鐮�"].ToString());
+                    HSupNumer = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["渚涘簲鍟嗕唬鐮�"].ToString()).Replace("'", "");
                     HSupName = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["渚涘簲鍟�"].ToString());
-                    HMaterNumer = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["鐗╂枡浠g爜"].ToString());
+                    HMaterNumer = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["鐗╂枡浠g爜"].ToString()).Replace("'", "");
                     HMaterName = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["鐗╂枡鍚嶇О"].ToString());
                     HMaterModel = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["瑙勬牸鍨嬪彿"].ToString());
                     HUntilName = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["璁¢噺鍗曚綅"].ToString());
@@ -809,7 +809,7 @@
 
                         string msg = "";
                         oSystemParameter.ShowBill(ref msg);
-                        if (oSystemParameter.omodel.WMS_CampanyName == "瀹濆伐")
+                        if (oSystemParameter.omodel.WMS_CampanyName == "瀹濆伐"|| oSystemParameter.omodel.WMS_CampanyName == "涓夊崌")
                         {
                             //JIT渚涜揣鎻愬墠鏈燂紙澶╋級
                             if (JISLT == "")
@@ -1435,11 +1435,11 @@
                     string JIDLT = ""; //JIT鍒拌揣鍓嶇疆鏈燂紙澶╋級
                     string JIMLC = ""; //JIT鏈�灏忚捣閫侀噺
 
-                    HORGNumber = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["缁勭粐缂栫爜"].ToString());
+                    HORGNumber = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["缁勭粐缂栫爜"].ToString()).Replace("'","");
                     HORGName = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["缁勭粐"].ToString());
-                    HWorkShopNumer = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["杞﹂棿浠g爜"].ToString());
+                    HWorkShopNumer = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["杞﹂棿浠g爜"].ToString()).Replace("'", "");
                     HWorkShopName = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["杞﹂棿"].ToString());
-                    HMaterNumer = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["鐗╂枡浠g爜"].ToString());
+                    HMaterNumer = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["鐗╂枡浠g爜"].ToString()).Replace("'", "");
                     HMaterName = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["鐗╂枡鍚嶇О"].ToString());
                     HMaterModel = DBUtility.ClsPub.isStrNull(tb2.Rows[i]["瑙勬牸鍨嬪彿"].ToString());
 
@@ -1508,7 +1508,7 @@
 
                         string msg = "";
                         oSystemParameter.ShowBill(ref msg);
-                        if (oSystemParameter.omodel.WMS_CampanyName == "瀹濆伐")
+                        if (oSystemParameter.omodel.WMS_CampanyName == "瀹濆伐"|| oSystemParameter.omodel.WMS_CampanyName == "涓夊崌")
                         {
                             //JIT渚涜揣鎻愬墠鏈燂紙澶╋級
                             if (JISLT == "")
@@ -1701,7 +1701,7 @@
                     }
                     else
                     {
-                        oCN.RunProc("	update  JIT_NeedMaterPlanConfigBillMain set HLeadTime=" + JISLT + ",HLeadTime_Sec=" + JIDLT + "  where HMaterID=" + HMaterID + " and HWorkShopID = " + HWorkShopID);
+                        oCN.RunProc("	update  JIT_NeedMaterPlanConfigBillSub set HLeadTime=" + JISLT + ",HLeadTime_Sec=" + JIDLT + "  where HMaterID=" + HMaterID + " and HWorkShopID = " + HWorkShopID);
                     }
 
                     i++;

--
Gitblit v1.9.1