From 027328b812b5599320a0fafbedc9a392253046f3 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期六, 21 十二月 2024 14:15:05 +0800
Subject: [PATCH] 超领
---
DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
index bd91ba9..6cb3967 100644
--- a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
+++ b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
@@ -603,6 +603,17 @@
txt.Enabled = false;
continue;
}
+ //鑷畾daa
+ if (colType is UcLookDaa)
+ {
+ var txt = colType as UcLookDaa;
+ txt.SetIdOrCode(strVal);
+ if (txt.IsReadly == false)
+ txt.Enabled = !isEdt;
+ else
+ txt.Enabled = false;
+ continue;
+ }
if (colType is SimpleButton)
{
var txt = colType as SimpleButton;
@@ -823,6 +834,14 @@
txt.Enabled = !isEdt;
continue;
}
+ //鑷畾daa
+ if (ctrl is UcLookDaa)
+ {
+ var txt = ctrl as UcLookDaa;
+ txt.SetIdOrCode("-1");
+ txt.Enabled = !isEdt;
+ continue;
+ }
if (ctrl is SimpleButton)
{
var txt = ctrl as SimpleButton;
@@ -1040,6 +1059,16 @@
txt.Enabled = false;
continue;
}
+ //鑷畾daa
+ if (ctrl is UcLookDaa)
+ {
+ var txt = ctrl as UcLookDaa;
+ if (txt.IsReadly == false)
+ txt.Enabled = !isEdt;
+ else
+ txt.Enabled = false;
+ continue;
+ }
}
}
--
Gitblit v1.9.3