SVN-Revision: r433
This commit is contained in:
cyf
2025-04-02 08:43:02 +00:00
parent 29ce245ee9
commit 06ef828fcb
2 changed files with 22 additions and 33 deletions
+2 -31
View File
@@ -94,6 +94,7 @@ namespace Lskj.PubAccraditation
this.gridNew.gridControl.DoubleClick += new EventHandler(gridNewView_DoubleClick);
//历史数据
this.gridHistory.SetReadOnlyColumns(dtColumns);
BillAuditImpl.CreateSourceBillId(this.BillModel.MasterTable);
this.gridHistory.SetGridViewDataSource(BillAuditImpl.GetSpareBillHistory(this.BillModel.PrimaryKey, this.BillModel.MasterTable, this.SysModel.BillDocumentId));
}
catch (Exception ex)
@@ -216,34 +217,4 @@ namespace Lskj.PubAccraditation
{
try
{
this.DialogResult = MessageUtil.Show(ResourceKeys.ConfirmSpliterBill, MessageBoxButtons.YesNo) == DialogResult.Yes ? DialogResult.OK : DialogResult.No;
this.Close();
}
catch (Exception ex)
{
//MessageUtil.Show(ex);
string Message = ErrorMessage.PromptErrorMessage(ex);
MessageUtil.Show(Message,ex.Message);
}
}
#endregion
#region
/// <summary>
/// <para>说明:关闭事件</para>
/// <para>创建人:龚宇超</para>
/// <para>创建日期:2017-01-30</para>
/// <para>修改人:</para>
/// <para>修改日期:</para>
/// <para>修改备注:</para>
/// <para>版本:1.0</para>
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
private void btnClose_Click(object sender, EventArgs e)
{
this.Close();
}
#endregion
}
}
this.DialogResult = MessageUtil.Show(ResourceKeys.ConfirmSpliterBill, MessageBoxButtons.YesNo) == DialogResult.Yes ? DialogResult.OK