From 1525834a9ef7cecf959a693b1f0e1eabfabac319 Mon Sep 17 00:00:00 2001
From: yxj <1qaz@123>
Date: 星期三, 26 五月 2021 16:36:03 +0800
Subject: [PATCH] 条码生成模块点击生成按键后变灰

---
 SCM/条码打印/Gy_BarCodeBill.cs |    4 ++--
 SCM/公用类/ClsPub1.cs         |   27 ++++++++++++++-------------
 2 files changed, 16 insertions(+), 15 deletions(-)

diff --git "a/SCM/\345\205\254\347\224\250\347\261\273/ClsPub1.cs" "b/SCM/\345\205\254\347\224\250\347\261\273/ClsPub1.cs"
index 3ec16a8..023bc7e 100644
--- "a/SCM/\345\205\254\347\224\250\347\261\273/ClsPub1.cs"
+++ "b/SCM/\345\205\254\347\224\250\347\261\273/ClsPub1.cs"
@@ -11,19 +11,20 @@
 {
     public class ClsPub1
     {
-        //public static string WEBSURL = "http://124.70.129.242/WEBS-WMS/WebService1.asmx";    //闆呯惇璇�
-        //public static string WEBSURL = "http://192.168.1.29/WEBS-WMS/WebService1.asmx";   //鍦i緳    鍐呯綉
-        //public static string WEBSURL = "http://122.227.138.236/WEBS-WMS/WebService1.asmx";   //鍦i緳
-        //public static string WEBSURL = "http://220.189.218.154:8091/WEBS-WMS/WebService1.asmx";         //鍥涚淮灏�    澶栫綉
-        //public static string WEBSURL = "http://220.189.218.154:8091/WEBS-WMS-TEST/WebService1.asmx";         //鍥涚淮灏旀祴璇�
-        //public static string WEBSURL = "http://122.227.199.62:5050/LMESWEBS/WebService1.asmx";         //闊╃數    澶栫綉JIT
-        //public static string WEBSURL = "http://122.227.199.62:5050/WMSWEBS/WebService1.asmx";     //闊╃數    澶栫綉
-        //public static string WEBSURL = "http://192.168.10.60/WMSWEBS/WebService1.asmx";         //闊╃數    鍐呯綉瀹佹尝
-        //public static string WEBSURL = "http://60.190.50.86:5050/WEBS_CE/WebService1.asmx";       //椋為緳
-        //public static string WEBSURL = "http://192.192.192.13/WMSWEBS/WebService1.asmx";      //鍗撳姏
-        //public static string WEBSURL = "http://192.168.63.137/WEBS-WMS/WebService1.asmx";
-        public static string WEBSURL = "http://192.168.63.79/WEBS-WMS/WebService1.asmx";   //鍏徃鍙板紡鏈�
-        //public static string WEBSURL = "http://192.168.0.108/WEBS-WMS/WebService1.asmx";   //瀹�
+        //public static string WEBSURL = "http://124.70.129.242/WEBS-WMS/WebService1.asmx";             //闆呯惇璇�
+        //public static string WEBSURL = "http://192.168.1.29/WEBS-WMS/WebService1.asmx";               //鍦i緳    鍐呯綉
+        //public static string WEBSURL = "http://122.227.138.236/WEBS-WMS/WebService1.asmx";            //鍦i緳(涓嶇敤)
+        //public static string WEBSURL = "http://220.189.218.154:8091/WEBS-WMS/WebService1.asmx";       //鍥涚淮灏�   澶栫綉
+        //public static string WEBSURL = "http://192.168.0.66/WEBS-WMS/WebService1.asmx";               //鍥涚淮灏�   鍐呯綉
+        //public static string WEBSURL = "http://220.189.218.154:8091/WEBS-WMS-TEST/WebService1.asmx";  //鍥涚淮灏旀祴璇�
+        //public static string WEBSURL = "http://122.227.199.62:5050/LMESWEBS/WebService1.asmx";        //闊╃數    澶栫綉JIT锛堜笉鐢級
+        //public static string WEBSURL = "http://122.227.199.62:5050/WMSWEBS/WebService1.asmx";         //闊╃數    澶栫綉
+        //public static string WEBSURL = "http://192.168.10.60/WMSWEBS/WebService1.asmx";               //闊╃數    鍐呯綉瀹佹尝
+        //public static string WEBSURL = "http://60.190.50.86:5050/WEBS_CE/WebService1.asmx";           //椋為緳
+        //public static string WEBSURL = "http://192.192.192.13/WMSWEBS/WebService1.asmx";              //鍗撳姏
+        //public static string WEBSURL = "http://192.168.63.139/WEBS-WMS/WebService1.asmx";
+        public static string WEBSURL = "http://192.168.63.79/WEBS-WMS/WebService1.asmx";              //鍏徃鍙板紡鏈�
+        //public static string WEBSURL = "http://192.168.0.108/WEBS-WMS/WebService1.asmx";              //瀹�
         public static long HOrgID = 0;
         public static string HOrgNumber = "";
         public static long HPersonL = 2;   // 浠撳簱浜哄憳涓�1锛岃溅闂翠汉鍛樹负2
diff --git "a/SCM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill.cs" "b/SCM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill.cs"
index fa3eb29..fec435d 100644
--- "a/SCM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill.cs"
+++ "b/SCM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill.cs"
@@ -671,8 +671,8 @@
             {
                 return false;
             }
-            SaveBarCode();
             bc.Enabled = false;
+            SaveBarCode();
             return true;
         }
 
@@ -2564,7 +2564,7 @@
                             default:
                                 break;
                         }
-                        bc.Enabled = true;
+                        //bc.Enabled = true;
                         break;
                     }
                 case 117:  //F6

--
Gitblit v1.9.1