SVN r1229
SVN-Revision: r1229
This commit is contained in:
@@ -1201,6 +1201,7 @@ namespace Lskj.PubAccraditation
|
||||
this.ControlObj.CanExecControl = false;
|
||||
this.ControlObj.SetAllControlValue(this._drBillInfoMsg);
|
||||
this.ControlObj.CanExecControl = true;
|
||||
this.SetColor();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -3578,6 +3579,10 @@ namespace Lskj.PubAccraditation
|
||||
if (showMsg)
|
||||
MessageUtil.Show(ResourceKeys.SaveSuccess);
|
||||
save = true;
|
||||
|
||||
//记录主键修改信息
|
||||
AuditChangeLog.SaveHeaderChangeLog(this._drBillInfoMsg,this.ControlObj, this.SysModel.BillDocumentId, this.SysModel.StepCode, ERPInfo.Instance.UserId);
|
||||
|
||||
#region 修改保存成功后调用API
|
||||
if (ApiHelper.IsExecEventApi(Interface.Api.OperateEvent.AfterModuleDataChange, this.SysModel.ModuleCode, 0))
|
||||
{
|
||||
@@ -4519,21 +4524,4 @@ namespace Lskj.PubAccraditation
|
||||
|
||||
Object moduleObject = tabPage.Controls.Cast<Object>().FirstOrDefault();
|
||||
if (moduleObject is ModuleGridEx)
|
||||
{
|
||||
ModuleGridEx moduleGridEx = moduleObject as ModuleGridEx;
|
||||
if (moduleGridEx.GridControlObj.IsDataNotSaved() && moduleGridEx.BtnSave.Visible && moduleGridEx.BtnSave.Enabled)
|
||||
{
|
||||
moduleGridEx.BtnSave.PerformClick();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
string Message = ErrorMessage.PromptErrorMessage(ex);
|
||||
MessageUtil.Show(Message, ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+1
-23
@@ -200,26 +200,4 @@
|
||||
this.groupControl2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.groupControl)).EndInit();
|
||||
this.groupControl.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
|
||||
this.panelControl1.ResumeLayout(false);
|
||||
this.splitebillhistory_Page.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevExpress.XtraTab.XtraTabControl xtraTabControl1;
|
||||
private DevExpress.XtraTab.XtraTabPage splitebill_Page;
|
||||
private DevExpress.XtraTab.XtraTabPage splitebillhistory_Page;
|
||||
private DevExpress.XtraEditors.GroupControl groupControl;
|
||||
private DevExpress.XtraEditors.PanelControl panelControl1;
|
||||
private DevExpress.XtraEditors.GroupControl groupControl2;
|
||||
private Control.GridControlEx gridNew;
|
||||
private Control.GridControlEx gridOld;
|
||||
private Control.GridControlEx gridHistory;
|
||||
private DevExpress.XtraEditors.SimpleButton simpleButton2;
|
||||
private DevExpress.XtraEditors.SimpleButton simpleButton1;
|
||||
private DevExpress.XtraEditors.PanelControl panelMain;
|
||||
}
|
||||
}
|
||||
((System
|
||||
Reference in New Issue
Block a user