import java.awt.event.ActionEvent;
import nc.ui.pub.beans.MessageDialog;
import nc.ui.pubapp.uif2app.actions.pflow.SaveScriptAction;
import nc.ui.pubapp.uif2app.view.ShowUpableBillForm;
import nc.ui.uif2.editor.IEditor;
import nc.utils.ebiding.jyh901.GetNumbsUtil;
/**
* @author dch
*保存前事件:
*冲红原因不为空,设置冲红状态为Y
*/
public class BeforeSaveAction extends SaveScriptAction {
private IEditor editor;
public IEditor getEditor() {
return editor;
}
public void setEditor(IEditor editor) {
this.editor = editor;
}
public void doAction(ActionEvent e) throws Exception {
super.setEditor(this.editor);
ShowUpableBillForm bill = (ShowUpableBillForm) getEditor();
//获取冲红原因的内容,不为空,
//否则,