diff --git a/插件库/Lskj.PubAccraditation/FrmAccraditation.cs b/插件库/Lskj.PubAccraditation/FrmAccraditation.cs index 597643f..41b7f97 100644 --- a/插件库/Lskj.PubAccraditation/FrmAccraditation.cs +++ b/插件库/Lskj.PubAccraditation/FrmAccraditation.cs @@ -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().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); - } - } - - } -} + \ No newline at end of file diff --git a/插件库/Lskj.PubAccraditation/FrmSpare.Designer.cs b/插件库/Lskj.PubAccraditation/FrmSpare.Designer.cs index afcf203..6e376c7 100644 --- a/插件库/Lskj.PubAccraditation/FrmSpare.Designer.cs +++ b/插件库/Lskj.PubAccraditation/FrmSpare.Designer.cs @@ -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; - } -} \ No newline at end of file + ((System \ No newline at end of file