diff --git a/插件库/Lskj.PubAdd/FrmMain.cs b/插件库/Lskj.PubAdd/FrmMain.cs
index 1cdf95d..d05b6de 100644
--- a/插件库/Lskj.PubAdd/FrmMain.cs
+++ b/插件库/Lskj.PubAdd/FrmMain.cs
@@ -100,7 +100,7 @@ namespace Lskj.PubAdd
this.SysModel.ParmaryKey = BaseImpl.GetBasePrimaryKey(this.Model.ModuleCode);
this.SysModel.maintabFocusedRow = Model.GetMaintabFocusedRow();
this.ModuleAddControl.OnAddRecordCallBack += OnAddRecordCallBack;
- this.ModuleAddControl.OnClearCallBack += OnClearCallBack; ;
+ this.ModuleAddControl.OnClearCallBack += OnClearCallBack;
this.details = BaseModuleImpl.GetBaseAddTabDetail(Model.ModuleCode);
this.CreateControlLocation();
this.SetControlPanelSize();
@@ -451,6 +451,7 @@ namespace Lskj.PubAdd
ERPInfo.Instance.UserName,
"1",detailModel.UnionModule,"","",""
});
+ addModel.Params = Model.OtherParams();
if (detailModel.IsWebView)
{
// 加载网页
@@ -583,6 +584,7 @@ namespace Lskj.PubAdd
{
moduleModel = new ModuleModel(MainImpl.GetSystemdllTab(detailModel.UnionModule));
+ moduleModel.maintabFocusedRow = SysModel.maintabFocusedRow;
ModuleGridEx moduleGrid = new ModuleGridEx();
moduleGrid.IsDetail = true;
moduleGrid.Dock = DockStyle.Fill;
@@ -719,33 +721,4 @@ namespace Lskj.PubAdd
/// 修改日期:
/// 修改备注:
/// 版本:1.0
- ///
- /// The source of the event.
- /// The instance containing the event data.
- protected void OnFormClosing(object sender, FormClosingEventArgs e)
- {
- try
- {
- if (this.ModuleAddControl != null && this.ModuleAddControl.IsCard)
- {
- this.ModuleAddControl.CloseIDCardThread();
- }
- this.DialogResult = DialogResult.OK;
- }
- catch (Exception ex)
- {
- string Message = ErrorMessage.PromptErrorMessage(ex);
- MessageUtil.Show(Message, ex.Message);
- }
- }
- protected override CreateParams CreateParams
- {
- get
- {
- CreateParams cp = base.CreateParams;
- cp.ExStyle |= 0x02000000;
- return cp;
- }
- }
- }
-}
+ ///
\ No newline at end of file