eas之去掉关闭eas页面时校验是否修改的提示

Posted luojiabao

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了eas之去掉关闭eas页面时校验是否修改的提示相关的知识,希望对你有一定的参考价值。

EditUI------->
public boolean checkBeforeWindowClosing()
           boolean b = super.checkBeforeWindowClosing();
           if ((this.editData != null) && (this.editData.getId() != null))
                attachmentPerform(this.attachMentTempID, this.editData.getId()
                           .toString());
           
           if (!(b))
                return b;
           
           if (isModify())
                String message = null;
                if (!(isModifySave()))
                     message = EASResource
                                .getString("com.kingdee.eas.framework.FrameWorkResource.Confirm_Save_Exit");
                 else
                     message = EASResource
                                .getString("com.kingdee.eas.framework.FrameWorkResource.Confirm_Save_Exit");
                
                int result = MsgBox.showConfirm3(this, message);
                if (result == 0)
                     try
                           if ((!(isModifySave())) || (!(this.actionSave.isEnabled())))
                                this.actionSubmit.setDaemonRun(false);
                                ActionEvent event = new ActionEvent(this.btnSubmit,
                                           1001, this.btnSubmit.getActionCommand());
                                UtilRequest.setPrepare(false);
                                this.btnSubmit.getAction().actionPerformed(event);
                                return (!(this.actionSubmit.isInvokeFailed()));
                           
                           this.actionSave.setDaemonRun(false);
                           ActionEvent event = new ActionEvent(this.btnSave, 1001,
                                     this.btnSave.getActionCommand());
                           UtilRequest.setPrepare(false);
                           this.btnSave.getAction().actionPerformed(event);
                           return (!(this.actionSave.isInvokeFailed()));
                      catch (Exception exc)
                           return false;
                     
                
                return (result == 1);
           
           return true;
        

以上是关于eas之去掉关闭eas页面时校验是否修改的提示的主要内容,如果未能解决你的问题,请参考以下文章

金蝶EAS打开客户端之后 提示正在启动EAS系统 持续很久才能输入用户名和密码 而且输入之后还无法登录

金蝶eas不能用啊

eas之常用源码整理

金蝶eas如何关闭自动更新

eas之控制kdtable滚动条

安卓去掉shareduserID签名校验