From 766ca8c6bfe27bc5d025ebf04ccdfb807ea65662 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期五, 27 五月 2022 19:13:56 +0800
Subject: [PATCH] 完善

---
 BLL/公用模块/FrmLogin.cs |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git "a/BLL/\345\205\254\347\224\250\346\250\241\345\235\227/FrmLogin.cs" "b/BLL/\345\205\254\347\224\250\346\250\241\345\235\227/FrmLogin.cs"
index 46aa95d..00253fd 100644
--- "a/BLL/\345\205\254\347\224\250\346\250\241\345\235\227/FrmLogin.cs"
+++ "b/BLL/\345\205\254\347\224\250\346\250\241\345\235\227/FrmLogin.cs"
@@ -266,6 +266,17 @@
             lblIPAddress.Text = "IP:" + Pub_Class.ClsPub.IPAddress + " " + Pub_Class.ClsPub.ComputerName;
             CheckUseOrgID();
             textBox1.Focus();
+            string sCompName = ClsIni.ReadIni("Erp", "HCompName", DBUtility.ClsPub.AppPath + @"/HXErp.ini");   //绯荤粺閰嶇疆鏂囦欢  瀹㈡埛鍚嶇О
+            if (sCompName == "濂ラ偊")
+            {
+                textBox1.Visible = true;
+                button1.Visible = true;
+            }
+            else
+            {
+                textBox1.Visible = false;
+                button1.Visible = false;
+            }
         }
 
         //鏍¢獙缁勭粐

--
Gitblit v1.9.1