From 6acf01e390fe8dbb04c5ad7f4198905df6c974d5 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期六, 26 十月 2024 18:49:57 +0800
Subject: [PATCH] 1
---
DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
index 65f16cd..5685fb1 100644
--- a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
+++ b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
@@ -252,6 +252,13 @@
if (gridViews != null)
foreach (var gv in gridViews)
gv.OptionsBehavior.Editable = !isEdt;
+
+ var _btnAry= controls.Find("btnSelect", false);
+ if (_btnAry.Length > 0) {
+ var _btnType = _btnAry[0];
+ _btnType.Enabled = !isEdt;
+ }
+
foreach (JProperty property in dynamicObject.Properties())
{
var strName = property.Name;
@@ -407,12 +414,11 @@
txt.Text = strVal;
}
}
-
//鑷畾涔変粨搴�
if (colType is UcLookCk)
{
var txt = colType as UcLookCk;
- txt.SetCode( strVal);
+ txt.SetIdOrCode( strVal);
txt.Enabled = !isEdt;
continue;
}
@@ -420,18 +426,16 @@
if (colType is UcLookSupplier)
{
var txt = colType as UcLookSupplier;
- txt.SetCode(strVal);
+ txt.SetIdOrCode(strVal);
txt.Enabled = !isEdt;
continue;
}
if (colType is SimpleButton)
{
var txt = colType as UcLookCk;
- txt.SetCode(strVal);
txt.Enabled = !isEdt;
continue;
}
-
}
}
catch (Exception ex)
--
Gitblit v1.9.3