From 1a94e0e270668ef1cfbcd5043b72bc6591a50706 Mon Sep 17 00:00:00 2001 From: llj <132905093+newwwwwwtree@users.noreply.github.com> Date: 星期四, 07 八月 2025 15:18:46 +0800 Subject: [PATCH] 价目表新增审核按钮无效修理bug --- WebAPI/Controllers/SCGL/日计划管理/Sc_JIT_ComplementGoodBillController.cs | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 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..0eaaec0 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 == "") -- Gitblit v1.9.1