From 5afff49d3471e7c966f5e7d5ed30c28891f71c5d Mon Sep 17 00:00:00 2001 From: cnf <3200815559@qq.com> Date: 星期一, 01 九月 2025 17:48:55 +0800 Subject: [PATCH] Merge branch 'master' of http://git.gs-mes.com:8080/r/~kyy/LW_MesClient --- DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs | 26 +++++++++++++++++++++++++- 1 files changed, 25 insertions(+), 1 deletions(-) diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs index f0e2c71..abed60c 100644 --- a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs +++ b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs @@ -274,7 +274,7 @@ { colmn.Visible = !isEdt; if (colmn.Visible == true) - colmn.VisibleIndex = 99999; + colmn.VisibleIndex = 1; } else { @@ -546,6 +546,13 @@ if (colType is UcLookOrg) { var txt = colType as UcLookOrg; + txt.SetIdOrCode(strVal); + txt.IsReadly = isEdt; + continue; + } + if (colType is UcLookKw) + { + var txt = colType as UcLookKw; txt.SetIdOrCode(strVal); txt.IsReadly = isEdt; continue; @@ -910,6 +917,14 @@ txt.IsReadly = isEdt; continue; } + // + if (ctrl is UcLookKw) + { + var txt = ctrl as UcLookKw; + txt.SetIdOrCode("-1"); + txt.IsReadly = isEdt; + continue; + } //鑷畾涔夊崟鎹被鍨嬩笅鎷� if (ctrl is UcDictionaryComBox) { @@ -1030,6 +1045,13 @@ if (ctrl is UcLookCk) { var txt = ctrl as UcLookCk; + txt.IsReadly = isEdt; + continue; + } + //鑷畾涔変粨搴� + if (ctrl is UcLookKw) + { + var txt = ctrl as UcLookKw; txt.IsReadly = isEdt; continue; } @@ -3170,6 +3192,8 @@ return false; } + + /// <summary> /// 璁剧疆GridView澶嶉�夋鍒楃偣鍑绘椂鑷姩鍒锋柊鏉′欢姹囨�� /// 2025-08-15 kyy 鏂板鍏敤鏂规硶 -- Gitblit v1.9.3