lu
2025-04-12 9ec7cf906a983509fccd9ab360e1ac0e46a904eb
DevApp/Gs.DevApp/UserControl/UcLookDaa.cs
@@ -16,6 +16,7 @@
{
    public partial class UcLookDaa : DevExpress.XtraEditors.XtraUserControl
    {
        public UcLookDaa()
        {
            InitializeComponent();
@@ -25,7 +26,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 +209,7 @@
        }
        /// <summary>
        /// 线别
        /// 任务单号
        /// </summary>
        /// <returns></returns>
        public string GetRwd()
@@ -221,5 +222,28 @@
            }
            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 "";
        }
        /// <summary>
        /// 类型,多用于分类查询
        /// </summary>
        public string category{
            set;
            get;
        }
    }
}