diff --git a/插件库/Lskj.Control/ModuleEx.cs b/插件库/Lskj.Control/ModuleEx.cs index 47dc811..e77e9e6 100644 --- a/插件库/Lskj.Control/ModuleEx.cs +++ b/插件库/Lskj.Control/ModuleEx.cs @@ -1108,7 +1108,17 @@ namespace Lskj.Control } } - if(!this.SysModel.IgnoreMainload) this.SetMainGridView(where); + if (this.SysModel.IgnoreMainload) + { + // 只加载明细 + this.ModuleGridDetailObj.SetDetailGridDataSource(); + } + else + { + // 加载主表 + this.SetMainGridView(where); + } + if (this.IsDragDetail) this.SetDetailGridView();