提交当前本机整理版本
This commit is contained in:
@@ -35,4 +35,30 @@ namespace Lskj.PubBill
|
||||
try
|
||||
{
|
||||
FrmMain main = new FrmMain();
|
||||
D
|
||||
DynamicBillModel moduleModel = new DynamicBillModel(obj);
|
||||
main.SysModel = moduleModel;
|
||||
moduleModel.DataCaches = new Dictionary<object, Hashtable>();
|
||||
if (SystemInfo.Instance.OptimizationSpeed) main.GetDataCaches(moduleModel.DataCaches);
|
||||
GridEnum gridEnum = GridEnum.GridView;
|
||||
if (!moduleModel.DataCaches.GetValue(main, "FormType", out int formType))
|
||||
{
|
||||
formType = BaseImpl.GetBillDetailType(moduleModel.ModuleCode);
|
||||
}
|
||||
if (formType == 1)
|
||||
{
|
||||
gridEnum = GridEnum.BandedGridView;
|
||||
}
|
||||
main.SysModel.GridEnumObj = gridEnum;
|
||||
this.SubForm = main;
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogUtil.WriteError("Lskj.PubBill.dll--参数错误-->" + obj.ToString(), ex);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public Form SubForm { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user