From c2248f08e9bdc75cac6a329bf37234c7af17f16c Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期五, 01 十一月 2024 15:20:47 +0800 Subject: [PATCH] 小细节 --- DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs index 299df99..712ce51 100644 --- a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs +++ b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs @@ -463,6 +463,14 @@ txt.Enabled = !isEdt; continue; } + //鑷畾涔夌墿鏂� + if (colType is UcLookItems) + { + var txt = colType as UcLookItems; + txt.SetIdOrCode(strVal); + txt.Enabled = !isEdt; + continue; + } if (colType is SimpleButton) { var txt = colType as SimpleButton; @@ -570,6 +578,14 @@ txt.Enabled = !isEdt; continue; } + //鑷畾涔夌墿鏂� + if (ctrl is UcLookItems) + { + var txt = ctrl as UcLookItems; + txt.SetIdOrCode("-1"); + txt.Enabled = !isEdt; + continue; + } if (ctrl is SimpleButton) { var txt = ctrl as SimpleButton; -- Gitblit v1.9.3