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/UcLookPrint.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/UcLookPrint.cs b/DevApp/Gs.DevApp/UserControl/UcLookPrint.cs
index ef42a89..da850fd 100644
--- a/DevApp/Gs.DevApp/UserControl/UcLookPrint.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcLookPrint.cs
@@ -26,7 +26,7 @@
         }
 
 
-        public bool IsReadly { get; set; }
+          private bool _rdy; public bool IsReadly { set{ _rdy = value; this.lookSearchSupplier.ReadOnly = _rdy; } get { return _rdy; } }
 
         /// <summary>
         ///     鏀瑰彉浜嬩欢
@@ -51,6 +51,8 @@
                 lookSearchSupplier.Properties.DataSource = dt;
                 lookSearchSupplier.Properties.DisplayMember = "printNo";
                 lookSearchSupplier.Properties.ValueMember = "guid";
+                lookSearchSupplier.ForceInitialize();
+                lookSearchSupplier.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup;
             }
             catch (Exception ex)
             {

--
Gitblit v1.9.3