From e19ea4337fa65725e6e22073a7b600dcc9887d4b Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期一, 07 四月 2025 08:27:54 +0800
Subject: [PATCH] 鸟嘴提示
---
DevApp/Gs.DevApp/UserControl/UcLookSupplier.cs | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/DevApp/Gs.DevApp/UserControl/UcLookSupplier.cs b/DevApp/Gs.DevApp/UserControl/UcLookSupplier.cs
index c4266f5..2643608 100644
--- a/DevApp/Gs.DevApp/UserControl/UcLookSupplier.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcLookSupplier.cs
@@ -20,7 +20,7 @@
lookSearchSupplier.EditValueChanged +=
LookSearchSupplier_EditValueChanged;
}
- public bool IsReadly { get; set; }
+ private bool _rdy; public bool IsReadly { set{ _rdy = value; this.lookSearchSupplier.ReadOnly = _rdy; } get { return _rdy; } }
/// <summary>
/// 鏀瑰彉浜嬩欢
@@ -33,6 +33,11 @@
if (EditChanged != null) EditChanged(this, e);
}
+ /// <summary>
+ /// 璇讳緵搴斿晢
+ /// </summary>
+ /// <param name="orgId"></param>
+ /// <param name="_dftVale"></param>
public void getSuppler(string orgId, string _dftVale = "")
{
lookSearchSupplier.EditValue = null;
@@ -60,6 +65,7 @@
lookSearchSupplier.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup;
if (!string.IsNullOrEmpty(_dftVale))
SetIdOrCode(_dftVale);
+
}
catch (Exception ex)
{
@@ -101,7 +107,8 @@
return;
}
// lookSearchSupplier.EditValue = ((Code.ToString().Trim()));
- lookSearchSupplier.EditValue = Int64.Parse((Code.ToString().Trim()));
+ if (!string.IsNullOrEmpty(Code))
+ lookSearchSupplier.EditValue = Int64.Parse((Code.ToString().Trim()));
}
}
--
Gitblit v1.9.3