From a80c1ccadaa85132c7ac26474e7aab3da7706cbc Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期一, 02 六月 2025 13:24:13 +0800 Subject: [PATCH] iqc导出 --- DevApp/Gs.DevApp/UserControl/UcLookGx.cs | 16 ++++------------ 1 files changed, 4 insertions(+), 12 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/UcLookGx.cs b/DevApp/Gs.DevApp/UserControl/UcLookGx.cs index 1dddcd1..e7de230 100644 --- a/DevApp/Gs.DevApp/UserControl/UcLookGx.cs +++ b/DevApp/Gs.DevApp/UserControl/UcLookGx.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 @@ } - private bool _rdy; public bool IsReadly { set{ _rdy = value; this.lookSearchSupplier.ReadOnly = _rdy; } get { return _rdy; } } + private bool _rdy; public bool IsReadly { set { _rdy = value; this.lookSearchSupplier.ReadOnly = _rdy; } get { return _rdy; } } /// <summary> @@ -58,7 +50,7 @@ var rtn = UtilityHelper.ReturnToTablePage(strReturn); var dt = rtn.rtnData.list; lookSearchSupplier.Properties.DataSource = dt; - lookSearchSupplier.Properties.DisplayMember = "processName"; + lookSearchSupplier.Properties.DisplayMember = "processNoAndName"; lookSearchSupplier.Properties.ValueMember = "processNo"; lookSearchSupplier.ForceInitialize(); lookSearchSupplier.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup; @@ -107,6 +99,6 @@ if (!string.IsNullOrEmpty(Code)) lookSearchSupplier.EditValue = (((Code.ToString().Trim()))); } - + } } \ No newline at end of file -- Gitblit v1.9.3