From f8ccd06cca50bed1e226bb81634057908958ab57 Mon Sep 17 00:00:00 2001
From: cnf <3200815559@qq.com>
Date: 星期六, 23 八月 2025 16:15:49 +0800
Subject: [PATCH] 1增加了通用控件选择库位 2增加撤回报工,自动入库维护功能

---
 DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
index f0e2c71..2656a70 100644
--- a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
+++ b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
@@ -550,6 +550,13 @@
                             txt.IsReadly = isEdt;
                             continue;
                         }
+                        if (colType is UcLookKw)
+                        {
+                            var txt = colType as UcLookKw;
+                            txt.SetIdOrCode(strVal);
+                            txt.IsReadly = isEdt;
+                            continue;
+                        }
                         //鑷畾鐢ㄦ埛
                         if (colType is UcLookUser)
                         {
@@ -910,6 +917,14 @@
                     txt.IsReadly = isEdt;
                     continue;
                 }
+                //
+                if (ctrl is UcLookKw)
+                {
+                    var txt = ctrl as UcLookKw;
+                    txt.SetIdOrCode("-1");
+                    txt.IsReadly = isEdt;
+                    continue;
+                }
                 //鑷畾涔夊崟鎹被鍨嬩笅鎷�
                 if (ctrl is UcDictionaryComBox)
                 {
@@ -1033,6 +1048,13 @@
                     txt.IsReadly = isEdt;
                     continue;
                 }
+                //鑷畾涔変粨搴�
+                if (ctrl is UcLookKw)
+                {
+                    var txt = ctrl as UcLookKw;
+                    txt.IsReadly = isEdt;
+                    continue;
+                }
                 //鑷畾涔変緵搴斿晢
                 if (ctrl is UcLookSupplier)
                 {

--
Gitblit v1.9.3