SVN r908
SVN-Revision: r908
This commit is contained in:
@@ -24,6 +24,7 @@ namespace Lskj.Control.Model
|
||||
private int _id;
|
||||
private int _detailType;
|
||||
private int _orderid;
|
||||
private int _rightdockid;
|
||||
private int _autoMultiHeader;
|
||||
private bool _autoRefresh;
|
||||
private bool _rightVisible;
|
||||
@@ -50,6 +51,11 @@ namespace Lskj.Control.Model
|
||||
/// <value>The identifier.</value>
|
||||
public int Id { get { return _id; } }
|
||||
public int DetailType { get { return _detailType; } }
|
||||
/// <summary>
|
||||
/// 右边停靠id
|
||||
/// </summary>
|
||||
public int Rightdockid { get { return _rightdockid; } }
|
||||
|
||||
/// <summary>
|
||||
/// 是左侧的明细
|
||||
/// </summary>
|
||||
@@ -287,9 +293,9 @@ namespace Lskj.Control.Model
|
||||
public GridDetailModel(DataRow item, DataTable gridColumns, string columnKey, bool isSearch = false)
|
||||
{
|
||||
if (item == null || string.IsNullOrEmpty(columnKey)) return;
|
||||
|
||||
this._rightdockid = string.IsNullOrEmpty(item["Rightdockid"] + "") ? 0 : Convert.ToInt32(item["Rightdockid"] + "");
|
||||
this._id = Convert.ToInt32(item["id"] + "");
|
||||
this._detailType = string.IsNullOrEmpty(item["detailType"] + "") ? 0 : Convert.ToInt32(item["detailType"] + "");
|
||||
this._detailType = item.Table.Columns.Contains("detailType") ? string.IsNullOrEmpty(item["detailType"] + "") ? 0 : Convert.ToInt32(item["detailType"] + ""):0;
|
||||
this._orderid = string.IsNullOrEmpty(item["orderid"] + "") ? 0 : Convert.ToInt32(item["orderid"] + "");
|
||||
this._autoRefresh = string.IsNullOrEmpty(item["autoRefresh"] + "") ? false : "1".Equals(item["autoRefresh"] + "");
|
||||
this._rightVisible = item.Table.Columns.Contains("rightVisible") ? "1".Equals(item["rightVisible"] + "") : false;
|
||||
|
||||
+1128
-436
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user