From 465f62c705dc6f0a1b161d18bf9968d69cdabfe5 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期六, 26 十月 2024 15:58:54 +0800
Subject: [PATCH] Merge branch 'master' of http://43.142.96.171:8080/r/~tjx/GsMesClient
---
DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
index 5f30a79..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;
@@ -282,10 +289,7 @@
txt.ReadOnly = isEdt;
txt.SelectedIndex = i;
}
-
- ;
}
-
continue;
}
@@ -410,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;
}
@@ -423,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