SVN r918
SVN-Revision: r918
This commit is contained in:
@@ -55,7 +55,7 @@ namespace Lskj.Control.Model
|
||||
/// 右边停靠id
|
||||
/// </summary>
|
||||
public int Rightdockid { get { return _rightdockid; } }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 是左侧的明细
|
||||
/// </summary>
|
||||
@@ -293,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._rightdockid = item.Table.Columns.Contains("Rightdockid") && !string.IsNullOrEmpty(item["Rightdockid"] + "") ? Convert.ToInt32(item["Rightdockid"] + "") : 0;
|
||||
this._id = Convert.ToInt32(item["id"] + "");
|
||||
this._detailType = item.Table.Columns.Contains("detailType") ? string.IsNullOrEmpty(item["detailType"] + "") ? 0 : Convert.ToInt32(item["detailType"] + ""):0;
|
||||
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;
|
||||
@@ -329,7 +329,7 @@ namespace Lskj.Control.Model
|
||||
this._parentModuleCode = item.Table.Columns.Contains("tab") ? item["tab"] + "" : "";
|
||||
this.BottomDetailsRefresh = item.Table.Columns.Contains("BottomDetailsRefresh") ? "1".Equals(item["BottomDetailsRefresh"] + "") : false;
|
||||
this.AssociateRight = item.Table.Columns.Contains("AssociateRight") ? "1".Equals(item["AssociateRight"] + "") : false;
|
||||
this.Enablecond = item.Table.Columns.Contains("Enablecond") ? (item["Enablecond"] + ""): string.Empty;
|
||||
this.Enablecond = item.Table.Columns.Contains("Enablecond") ? (item["Enablecond"] + "") : string.Empty;
|
||||
this.DBClickEvent = item.Table.Columns.Contains("DBClickEvent") ? "1".Equals(item["DBClickEvent"] + "") : false;
|
||||
this.ProhibitRefresh = item.Table.Columns.Contains("ProhibitRefresh") ? "1".Equals(item["ProhibitRefresh"] + "") : false;
|
||||
this.DragExecuteSql = item.Ta
|
||||
Reference in New Issue
Block a user