lu
2025-04-06 4a8df7e654aa502694bcff271b216c46e26c788b
DevApp/Gs.DevApp/UserControl/UcLookSales.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>
        ///     改变事件
@@ -149,7 +149,20 @@
            }
            return "";
        }
        /// <summary>
        /// 销售组织Fid
        /// </summary>
        /// <returns></returns>
        public string GetSalesOrgFid()
        {
            var row = lookSearchSupplier.GetSelectedDataRow() as DataRowView;
            if (row != null)
            {
                string id = row["salesOrgId"].ToString();
                return id;
            }
            return "";
        }
        /// <summary>
        /// 客户
@@ -165,6 +178,33 @@
            }
            return "";
        }
        /// <summary>
        /// 收货方
        /// </summary>
        /// <returns></returns>
        public string GetSalesShf()
        {
            var row = lookSearchSupplier.GetSelectedDataRow() as DataRowView;
            if (row != null)
            {
                string id = row["shfTxt"].ToString();
                return id;
            }
            return "";
        }
        /// <summary>
        /// 收货人姓名
        /// </summary>
        /// <returns></returns>
        public string GetSalesShfName()
        {
            var row = lookSearchSupplier.GetSelectedDataRow() as DataRowView;
            if (row != null)
            {
                string id = row["shfName"].ToString();
                return id;
            }
            return "";
        }
    }
}