From baef454ef7dc66bc1dfbe7abef57f497ae1e05a1 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期三, 04 六月 2025 08:28:15 +0800
Subject: [PATCH] iqc巡检导出
---
DevApp/Gs.DevApp/UserControl/UcLookPrint.cs | 14 ++++----------
1 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/DevApp/Gs.DevApp/UserControl/UcLookPrint.cs b/DevApp/Gs.DevApp/UserControl/UcLookPrint.cs
index ef42a89..a410d71 100644
--- a/DevApp/Gs.DevApp/UserControl/UcLookPrint.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcLookPrint.cs
@@ -1,16 +1,8 @@
-锘縰sing DevExpress.XtraEditors;
-using Gs.DevApp.Entity;
+锘縰sing Gs.DevApp.Entity;
using Gs.DevApp.ToolBox;
using Newtonsoft.Json;
using System;
-using System.Collections.Generic;
-using System.ComponentModel;
using System.Data;
-using System.Drawing;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Forms;
namespace Gs.DevApp.UserControl
{
@@ -26,7 +18,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 +43,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