From cdca5a70b3fac5f804a6eabb7a3976f8c00e35e8 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期二, 08 四月 2025 16:40:30 +0800
Subject: [PATCH] fqc

---
 DevApp/Gs.DevApp/UserControl/UcLookItems.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/UcLookItems.cs b/DevApp/Gs.DevApp/UserControl/UcLookItems.cs
index ef9ff44..892c309 100644
--- a/DevApp/Gs.DevApp/UserControl/UcLookItems.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcLookItems.cs
@@ -25,7 +25,7 @@
            // getSuppler("");
 
         }
-        public bool IsReadly { get; set; }
+          private bool _rdy; public bool IsReadly { set{ _rdy = value; this.lookSearchSupplier.ReadOnly = _rdy; } get { return _rdy; } }
         /// <summary>
         ///     鏀瑰彉浜嬩欢
         /// </summary>
@@ -59,6 +59,8 @@
                 lookSearchSupplier.Properties.DataSource = dt;
                 lookSearchSupplier.Properties.DisplayMember = "itemName";
                 lookSearchSupplier.Properties.ValueMember = "id";
+                lookSearchSupplier.ForceInitialize();
+                lookSearchSupplier.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup;
             }
             catch (Exception ex)
             {

--
Gitblit v1.9.3