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/UcLookWwgd.cs | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/UcLookWwgd.cs b/DevApp/Gs.DevApp/UserControl/UcLookWwgd.cs index 09a8106..9aaf561 100644 --- a/DevApp/Gs.DevApp/UserControl/UcLookWwgd.cs +++ b/DevApp/Gs.DevApp/UserControl/UcLookWwgd.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> /// 鏀瑰彉浜嬩欢 @@ -164,5 +164,21 @@ } return ""; } + + /// <summary> + /// 浠诲姟鍗� + /// </summary> + /// <returns></returns> + public string GetRwd() + { + var row = lookSearchSupplier.GetSelectedDataRow() as DataRowView; + if (row != null) + { + string id = row["daa014"].ToString(); + return id; + } + return ""; + } + } } -- Gitblit v1.9.3