From a92916c2c69e95bb8da9c9a0f6f3e124c0e76f48 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期一, 17 三月 2025 13:42:06 +0800
Subject: [PATCH] 报表
---
DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
index 9eea9e9..60e3a1c 100644
--- a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
+++ b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
@@ -409,7 +409,13 @@
if (colType is CheckEdit)
{
var txt = colType as CheckEdit;
- if (txt != null)
+ if (_isRead(txt.Tag))
+ {
+ txt.ReadOnly = true;
+ }
+ else
+ txt.ReadOnly = isEdt;
+ if (txt != null) {
switch (strVal)
{
case "True":
@@ -425,8 +431,8 @@
txt.Checked = false;
break;
}
-
- txt.ReadOnly = isEdt;
+ }
+
continue;
}
//鍗曢��
@@ -452,6 +458,7 @@
txt.Enabled = !isEdt;
continue;
}
+
//鏃堕棿
if (colType is DateTimePicker)
{
@@ -797,7 +804,6 @@
else
txt.ReadOnly = isEdt;
continue;
-
}
//鑷畾涔変粨搴�
if (ctrl is UcLookCk)
--
Gitblit v1.9.3