From 3d429071ceeda5ce75ca660c13459c13f3d92337 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期三, 26 二月 2025 10:30:11 +0800
Subject: [PATCH] 调拨

---
 DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs |   31 +++++++++++++++++++++++++++++--
 1 files changed, 29 insertions(+), 2 deletions(-)

diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
index 54f32a5..0f3d47a 100644
--- a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
+++ b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
@@ -641,7 +641,17 @@
                                 txt.Enabled = false;
                             continue;
                         }
-
+                        //鑷畾閿�鍞�
+                        if (colType is UcLookSales)
+                        {
+                            var txt = colType as UcLookSales;
+                            txt.SetIdOrCode(strVal);
+                            if (txt.IsReadly == false)
+                                txt.Enabled = !isEdt;
+                            else
+                                txt.Enabled = false;
+                            continue;
+                        }
                         if (colType is SimpleButton)
                         {
                             var txt = colType as SimpleButton;
@@ -909,7 +919,14 @@
                     txt.Enabled = !isEdt;
                     continue;
                 }
-
+                //鑷畾閿�鍞�
+                if (ctrl is UcLookSales)
+                {
+                    var txt = ctrl as UcLookSales;
+                    txt.SetIdOrCode("-1");
+                    txt.Enabled = !isEdt;
+                    continue;
+                }
                 if (ctrl is SimpleButton)
                 {
                     var txt = ctrl as SimpleButton;
@@ -1161,6 +1178,16 @@
                         txt.Enabled = false;
                     continue;
                 }
+                //鑷畾閿�鍞�
+                if (ctrl is UcLookSales)
+                {
+                    var txt = ctrl as UcLookSales;
+                    if (txt.IsReadly == false)
+                        txt.Enabled = !isEdt;
+                    else
+                        txt.Enabled = false;
+                    continue;
+                }
                 if (ctrl is SimpleButton)
                 {
                     var txt = ctrl as SimpleButton;

--
Gitblit v1.9.3