SVN r1043

SVN-Revision: r1043
This commit is contained in:
tdx
2025-11-20 02:55:16 +00:00
parent 909aa8285e
commit 055845b380
+4 -31
View File
@@ -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
/// <para>修改日期:</para>
/// <para>修改备注:</para>
/// <para>版本:1.0</para>
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="FormClosingEventArgs"/> instance containing the event data.</param>
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;
}
}
}
}
/// </