From 0182a12e08e1253e9fb2d1b4dabb353babf1feea Mon Sep 17 00:00:00 2001
From: lu <123456>
Date: 星期六, 25 十月 2025 09:01:49 +0800
Subject: [PATCH] 更新操作人

---
 DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs |   38 +++++++++++++++++++++-----------------
 1 files changed, 21 insertions(+), 17 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs
index 5020849..49cf3f2 100644
--- a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs
@@ -68,17 +68,20 @@
                 ucLookHuoZhu1.SetHzLx(_ucHzlx);
                 ucLookHuoZhu1.SetHzId(_ucHz);
                 _bindLookSearch(txt_qt035.Text.Trim(), "","");
-            };
-            //閫夋嫨棰嗙敤缁勭粐
-            txt_qt024.EditChanged += (s, e) =>
-            {
-                string _orgId = txt_qt024.GetId();
-                if (string.IsNullOrEmpty(_orgId))
-                    return;
                 txt_qt013.getSuppler(_orgId, _ucKh);
-                txt_qt009.getSuppler(_orgId, _ucBm);
+                txt_qt009.getSuppler(_orgId, _ucBm, " len(a.departmentcode)>2 ");
                 txt_wwgys.getSuppler(_orgId, _ucGys);
             };
+            //閫夋嫨棰嗙敤缁勭粐2025骞�-10-24宸茶绂佺敤锛屼负鑰冭檻鎬ц兘锛屽垹闄�
+            //txt_qt024.EditChanged += (s, e) =>
+            //{
+            //    string _orgId = txt_qt024.GetId();
+            //    if (string.IsNullOrEmpty(_orgId))
+            //        return;
+            //    txt_qt013.getSuppler(_orgId, _ucKh);
+            //    txt_qt009.getSuppler(_orgId, _ucBm);
+            //    txt_wwgys.getSuppler(_orgId, _ucGys);
+            //};
             //閫夋嫨鏉ユ簮鍗曞彿
             txt_qt035.ButtonClick += (s, e) =>
             {
@@ -420,7 +423,7 @@
             }
             //2025/07/12鍔犱笂淇敼鐘舵�佷笅涓嶈兘淇敼
             txt_qt023.IsReadly = true;
-            txt_qt024.IsReadly = true;
+            //txt_qt024.IsReadly = true;
             ucLookHuoZhu1.Enabled = false;
         }
         /// <summary>
@@ -439,7 +442,7 @@
             ucLookHuoZhu1.Enabled = true;
             //澧炲姞鏃讹紝榛樿缁勭粐
             string deftOrg = UtilityHelper.GetFirstOrg(txt_qt023);
-            string deftOrg2 = UtilityHelper.GetFirstOrg(txt_qt024);
+            //string deftOrg2 = UtilityHelper.GetFirstOrg(txt_qt024);
         }
         /// <summary>
         /// 淇濆瓨浜嬩欢
@@ -454,7 +457,8 @@
             string inHz = ucLookHuoZhu1.GetHzId();//璐т富
             string inRkyy = txt_qt010.Text.Trim();//鍘熷洜
             string inDjlx = txt_qt019.Text.Trim();//鍗曟嵁绫诲瀷
-            string inLyOrg = txt_qt024.GetId();//棰嗙敤缁勭粐
+           // string inLyOrg = txt_qt024.GetId();//棰嗙敤缁勭粐
+            string inLyOrg = inOrgId;//棰嗙敤缁勭粐绛変簬搴撳瓨缁勭粐
             string inLyCus = txt_qt013.GetId();//棰嗙敤瀹㈡埛
             string inLyDepart = txt_qt009.GetId();//棰嗙敤閮ㄩ棬
             string inKcfx = txt_qt020.Text.Trim();//搴撳瓨鏂瑰悜
@@ -476,12 +480,12 @@
                 Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨璐т富锛�");
                 return;
             }
-            if (string.IsNullOrEmpty(inLyOrg))
-            {
-                Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨棰嗙敤缁勭粐锛�");
-                txt_qt024.Focus();
-                return;
-            }
+            //if (string.IsNullOrEmpty(inLyOrg))
+            //{
+            //    Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨棰嗙敤缁勭粐锛�");
+            //    txt_qt024.Focus();
+            //    return;
+            //}
             if (txt_qtlx.SelectedIndex <= 0)
             {
                 Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨鍑哄簱绫诲瀷锛�");

--
Gitblit v1.9.3