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/UcLookDaa.cs | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/UcLookDaa.cs b/DevApp/Gs.DevApp/UserControl/UcLookDaa.cs index 3444941..50f984f 100644 --- a/DevApp/Gs.DevApp/UserControl/UcLookDaa.cs +++ b/DevApp/Gs.DevApp/UserControl/UcLookDaa.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> /// 鏀瑰彉浜嬩欢 @@ -208,7 +208,7 @@ } /// <summary> - /// 绾垮埆 + /// 浠诲姟鍗曞彿 /// </summary> /// <returns></returns> public string GetRwd() @@ -221,5 +221,20 @@ } return ""; } + + /// <summary> + /// 鎶曟枡鍗曞彿 + /// </summary> + /// <returns></returns> + public string GetTldh() + { + var row = lookSearchSupplier.GetSelectedDataRow() as DataRowView; + if (row != null) + { + string id = row["daa014"].ToString(); + return id; + } + return ""; + } } } -- Gitblit v1.9.3