/**
 * output package name
 */
package com.kingdee.eas.custom.gggl.client;

import org.apache.log4j.*;

import java.awt.*;
import java.awt.event.*;
import java.util.*;
import javax.swing.border.*;
import javax.swing.BorderFactory;
import javax.swing.event.*;
import javax.swing.KeyStroke;

import com.kingdee.bos.ctrl.swing.*;
import com.kingdee.bos.ctrl.kdf.table.*;
import com.kingdee.bos.ctrl.kdf.data.event.*;
import com.kingdee.bos.dao.*;
import com.kingdee.bos.dao.query.*;
import com.kingdee.bos.metadata.*;
import com.kingdee.bos.metadata.entity.*;
import com.kingdee.bos.ui.face.*;
import com.kingdee.bos.ui.util.ResourceBundleHelper;
import com.kingdee.bos.util.BOSUuid;
import com.kingdee.bos.service.ServiceContext;
import com.kingdee.jdbc.rowset.IRowSet;
import com.kingdee.util.enums.EnumUtils;
import com.kingdee.bos.ui.face.UIRuleUtil;
import com.kingdee.bos.ctrl.swing.event.*;
import com.kingdee.bos.ctrl.kdf.table.event.*;
import com.kingdee.bos.ctrl.extendcontrols.*;
import com.kingdee.bos.ctrl.kdf.util.render.*;
import com.kingdee.bos.ui.face.IItemAction;
import com.kingdee.eas.framework.batchHandler.RequestContext;
import com.kingdee.bos.ui.util.IUIActionPostman;
import com.kingdee.bos.appframework.client.servicebinding.ActionProxyFactory;
import com.kingdee.bos.appframework.uistatemanage.ActionStateConst;
import com.kingdee.bos.appframework.validator.ValidateHelper;
import com.kingdee.bos.appframework.uip.UINavigator;


/**
 * output class name
 */
public abstract class AbstractContractFirstEditUI extends com.kingdee.eas.xr.client.XRBillBaseEditUI
{
    private static final Logger logger = CoreUIObject.getLogger(AbstractContractFirstEditUI.class);
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contCreator;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contCreateTime;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contLastUpdateUser;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contLastUpdateTime;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contCU;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contNumber;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contBizDate;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contDescription;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contAuditor;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contStatus;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contBizStatus;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contAuditTime;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer conthtmc;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contcompany;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contcustomer;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer conthtAmount;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contzrPerson;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contdeparment;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contyjAmount;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contbeiz;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer conthtnn;
    protected com.kingdee.bos.ctrl.swing.KDTabbedPane kDTabbedPane1;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contpp;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer conthtNum;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contdjType;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contzhlx;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contbank;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contbankNum;
    protected com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox prmtCreator;
    protected com.kingdee.bos.ctrl.swing.KDDatePicker pkCreateTime;
    protected com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox prmtLastUpdateUser;
    protected com.kingdee.bos.ctrl.swing.KDDatePicker pkLastUpdateTime;
    protected com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox prmtCU;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtNumber;
    protected com.kingdee.bos.ctrl.swing.KDDatePicker pkBizDate;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtDescription;
    protected com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox prmtAuditor;
    protected com.kingdee.bos.ctrl.swing.KDComboBox comboStatus;
    protected com.kingdee.bos.ctrl.swing.KDComboBox comboBizStatus;
    protected com.kingdee.bos.ctrl.swing.KDDatePicker pkAuditTime;
    protected com.kingdee.bos.ctrl.swing.KDTextField txthtmc;
    protected com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox prmtcompany;
    protected com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox prmtcustomer;
    protected com.kingdee.bos.ctrl.swing.KDFormattedTextField txthtAmount;
    protected com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox prmtzrPerson;
    protected com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox prmtdeparment;
    protected com.kingdee.bos.ctrl.swing.KDFormattedTextField txtyjAmount;
    protected com.kingdee.bos.ctrl.swing.KDScrollPane scrollPanebeiz;
    protected com.kingdee.bos.ctrl.swing.KDTextArea txtbeiz;
    protected com.kingdee.bos.ctrl.swing.KDScrollPane scrollPanehtnn;
    protected com.kingdee.bos.ctrl.swing.KDTextArea txthtnn;
    protected com.kingdee.bos.ctrl.swing.KDPanel kDPanel1;
    protected com.kingdee.bos.ctrl.swing.KDPanel kDPanel2;
    protected com.kingdee.bos.ctrl.kdf.table.KDTable kdtE1;
	protected com.kingdee.eas.framework.client.multiDetail.DetailPanel kdtE1_detailPanel = null;
    protected com.kingdee.bos.ctrl.kdf.table.KDTable kdtE2;
	protected com.kingdee.eas.framework.client.multiDetail.DetailPanel kdtE2_detailPanel = null;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtpp;
    protected com.kingdee.bos.ctrl.swing.KDTextField txthtNum;
    protected com.kingdee.bos.ctrl.swing.KDComboBox djType;
    protected com.kingdee.bos.ctrl.swing.KDComboBox zhlx;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtbank;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtbankNum;
    protected com.kingdee.eas.custom.gggl.ContractFirstInfo editData = null;
    /**
     * output class constructor
     */
    public AbstractContractFirstEditUI() throws Exception
    {
        super();
        this.defaultObjectName = "editData";
        jbInit();
        
        initUIP();
    }

    /**
     * output jbInit method
     */
    private void jbInit() throws Exception
    {
        this.resHelper = new ResourceBundleHelper(AbstractContractFirstEditUI.class.getName());
        this.setUITitle(resHelper.getString("this.title"));
        //actionSubmit
        String _tempStr = null;
        actionSubmit.setEnabled(true);
        actionSubmit.setDaemonRun(false);

        actionSubmit.putValue(ItemAction.ACCELERATOR_KEY, KeyStroke.getKeyStroke("ctrl S"));
        _tempStr = resHelper.getString("ActionSubmit.SHORT_DESCRIPTION");
        actionSubmit.putValue(ItemAction.SHORT_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionSubmit.LONG_DESCRIPTION");
        actionSubmit.putValue(ItemAction.LONG_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionSubmit.NAME");
        actionSubmit.putValue(ItemAction.NAME, _tempStr);
        this.actionSubmit.setBindWorkFlow(true);
        this.actionSubmit.setExtendProperty("canForewarn", "true");
         this.actionSubmit.addService(new com.kingdee.eas.framework.client.service.PermissionService());
         this.actionSubmit.addService(new com.kingdee.eas.framework.client.service.NetFunctionService());
         this.actionSubmit.addService(new com.kingdee.eas.framework.client.service.UserMonitorService());
         this.actionSubmit.addService(new com.kingdee.eas.framework.client.service.ForewarnService());
        //actionUnAudit
        actionUnAudit.setEnabled(true);
        actionUnAudit.setDaemonRun(false);

        _tempStr = resHelper.getString("ActionUnAudit.SHORT_DESCRIPTION");
        actionUnAudit.putValue(ItemAction.SHORT_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionUnAudit.LONG_DESCRIPTION");
        actionUnAudit.putValue(ItemAction.LONG_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionUnAudit.NAME");
        actionUnAudit.putValue(ItemAction.NAME, _tempStr);
        this.actionUnAudit.setBindWorkFlow(true);
         this.actionUnAudit.addService(new com.kingdee.eas.framework.client.service.PermissionService());
        this.contCreator = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contCreateTime = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contLastUpdateUser = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contLastUpdateTime = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contCU = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contNumber = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contBizDate = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contDescription = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contAuditor = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contStatus = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contBizStatus = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contAuditTime = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.conthtmc = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contcompany = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contcustomer = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.conthtAmount = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contzrPerson = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contdeparment = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contyjAmount = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contbeiz = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.conthtnn = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.kDTabbedPane1 = new com.kingdee.bos.ctrl.swing.KDTabbedPane();
        this.contpp = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.conthtNum = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contdjType = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contzhlx = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contbank = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contbankNum = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.prmtCreator = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();
        this.pkCreateTime = new com.kingdee.bos.ctrl.swing.KDDatePicker();
        this.prmtLastUpdateUser = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();
        this.pkLastUpdateTime = new com.kingdee.bos.ctrl.swing.KDDatePicker();
        this.prmtCU = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();
        this.txtNumber = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.pkBizDate = new com.kingdee.bos.ctrl.swing.KDDatePicker();
        this.txtDescription = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.prmtAuditor = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();
        this.comboStatus = new com.kingdee.bos.ctrl.swing.KDComboBox();
        this.comboBizStatus = new com.kingdee.bos.ctrl.swing.KDComboBox();
        this.pkAuditTime = new com.kingdee.bos.ctrl.swing.KDDatePicker();
        this.txthtmc = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.prmtcompany = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();
        this.prmtcustomer = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();
        this.txthtAmount = new com.kingdee.bos.ctrl.swing.KDFormattedTextField();
        this.prmtzrPerson = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();
        this.prmtdeparment = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();
        this.txtyjAmount = new com.kingdee.bos.ctrl.swing.KDFormattedTextField();
        this.scrollPanebeiz = new com.kingdee.bos.ctrl.swing.KDScrollPane();
        this.txtbeiz = new com.kingdee.bos.ctrl.swing.KDTextArea();
        this.scrollPanehtnn = new com.kingdee.bos.ctrl.swing.KDScrollPane();
        this.txthtnn = new com.kingdee.bos.ctrl.swing.KDTextArea();
        this.kDPanel1 = new com.kingdee.bos.ctrl.swing.KDPanel();
        this.kDPanel2 = new com.kingdee.bos.ctrl.swing.KDPanel();
        this.kdtE1 = new com.kingdee.bos.ctrl.kdf.table.KDTable();
        this.kdtE2 = new com.kingdee.bos.ctrl.kdf.table.KDTable();
        this.txtpp = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txthtNum = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.djType = new com.kingdee.bos.ctrl.swing.KDComboBox();
        this.zhlx = new com.kingdee.bos.ctrl.swing.KDComboBox();
        this.txtbank = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtbankNum = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.contCreator.setName("contCreator");
        this.contCreateTime.setName("contCreateTime");
        this.contLastUpdateUser.setName("contLastUpdateUser");
        this.contLastUpdateTime.setName("contLastUpdateTime");
        this.contCU.setName("contCU");
        this.contNumber.setName("contNumber");
        this.contBizDate.setName("contBizDate");
        this.contDescription.setName("contDescription");
        this.contAuditor.setName("contAuditor");
        this.contStatus.setName("contStatus");
        this.contBizStatus.setName("contBizStatus");
        this.contAuditTime.setName("contAuditTime");
        this.conthtmc.setName("conthtmc");
        this.contcompany.setName("contcompany");
        this.contcustomer.setName("contcustomer");
        this.conthtAmount.setName("conthtAmount");
        this.contzrPerson.setName("contzrPerson");
        this.contdeparment.setName("contdeparment");
        this.contyjAmount.setName("contyjAmount");
        this.contbeiz.setName("contbeiz");
        this.conthtnn.setName("conthtnn");
        this.kDTabbedPane1.setName("kDTabbedPane1");
        this.contpp.setName("contpp");
        this.conthtNum.setName("conthtNum");
        this.contdjType.setName("contdjType");
        this.contzhlx.setName("contzhlx");
        this.contbank.setName("contbank");
        this.contbankNum.setName("contbankNum");
        this.prmtCreator.setName("prmtCreator");
        this.pkCreateTime.setName("pkCreateTime");
        this.prmtLastUpdateUser.setName("prmtLastUpdateUser");
        this.pkLastUpdateTime.setName("pkLastUpdateTime");
        this.prmtCU.setName("prmtCU");
        this.txtNumber.setName("txtNumber");
        this.pkBizDate.setName("pkBizDate");
        this.txtDescription.setName("txtDescription");
        this.prmtAuditor.setName("prmtAuditor");
        this.comboStatus.setName("comboStatus");
        this.comboBizStatus.setName("comboBizStatus");
        this.pkAuditTime.setName("pkAuditTime");
        this.txthtmc.setName("txthtmc");
        this.prmtcompany.setName("prmtcompany");
        this.prmtcustomer.setName("prmtcustomer");
        this.txthtAmount.setName("txthtAmount");
        this.prmtzrPerson.setName("prmtzrPerson");
        this.prmtdeparment.setName("prmtdeparment");
        this.txtyjAmount.setName("txtyjAmount");
        this.scrollPanebeiz.setName("scrollPanebeiz");
        this.txtbeiz.setName("txtbeiz");
        this.scrollPanehtnn.setName("scrollPanehtnn");
        this.txthtnn.setName("txthtnn");
        this.kDPanel1.setName("kDPanel1");
        this.kDPanel2.setName("kDPanel2");
        this.kdtE1.setName("kdtE1");
        this.kdtE2.setName("kdtE2");
        this.txtpp.setName("txtpp");
        this.txthtNum.setName("txthtNum");
        this.djType.setName("djType");
        this.zhlx.setName("zhlx");
        this.txtbank.setName("txtbank");
        this.txtbankNum.setName("txtbankNum");
        // CoreUI
        // contCreator		
        this.contCreator.setBoundLabelText(resHelper.getString("contCreator.boundLabelText"));		
        this.contCreator.setBoundLabelLength(100);		
        this.contCreator.setBoundLabelUnderline(true);
        // contCreateTime		
        this.contCreateTime.setBoundLabelText(resHelper.getString("contCreateTime.boundLabelText"));		
        this.contCreateTime.setBoundLabelLength(100);		
        this.contCreateTime.setBoundLabelUnderline(true);
        // contLastUpdateUser		
        this.contLastUpdateUser.setBoundLabelText(resHelper.getString("contLastUpdateUser.boundLabelText"));		
        this.contLastUpdateUser.setBoundLabelLength(100);		
        this.contLastUpdateUser.setBoundLabelUnderline(true);
        // contLastUpdateTime		
        this.contLastUpdateTime.setBoundLabelText(resHelper.getString("contLastUpdateTime.boundLabelText"));		
        this.contLastUpdateTime.setBoundLabelLength(100);		
        this.contLastUpdateTime.setBoundLabelUnderline(true);
        // contCU		
        this.contCU.setBoundLabelText(resHelper.getString("contCU.boundLabelText"));		
        this.contCU.setBoundLabelLength(100);		
        this.contCU.setBoundLabelUnderline(true);		
        this.contCU.setEnabled(false);		
        this.contCU.setVisible(false);
        // contNumber		
        this.contNumber.setBoundLabelText(resHelper.getString("contNumber.boundLabelText"));		
        this.contNumber.setBoundLabelLength(100);		
        this.contNumber.setBoundLabelUnderline(true);
        // contBizDate		
        this.contBizDate.setBoundLabelText(resHelper.getString("contBizDate.boundLabelText"));		
        this.contBizDate.setBoundLabelLength(100);		
        this.contBizDate.setBoundLabelUnderline(true);
        // contDescription		
        this.contDescription.setBoundLabelText(resHelper.getString("contDescription.boundLabelText"));		
        this.contDescription.setBoundLabelLength(100);		
        this.contDescription.setBoundLabelUnderline(true);		
        this.contDescription.setVisible(false);		
        this.contDescription.setEnabled(false);
        // contAuditor		
        this.contAuditor.setBoundLabelText(resHelper.getString("contAuditor.boundLabelText"));		
        this.contAuditor.setBoundLabelLength(100);		
        this.contAuditor.setBoundLabelUnderline(true);
        // contStatus		
        this.contStatus.setBoundLabelText(resHelper.getString("contStatus.boundLabelText"));		
        this.contStatus.setBoundLabelLength(100);		
        this.contStatus.setBoundLabelUnderline(true);		
        this.contStatus.setEnabled(false);
        // contBizStatus		
        this.contBizStatus.setBoundLabelText(resHelper.getString("contBizStatus.boundLabelText"));		
        this.contBizStatus.setBoundLabelLength(100);		
        this.contBizStatus.setBoundLabelUnderline(true);		
        this.contBizStatus.setEnabled(false);		
        this.contBizStatus.setVisible(false);
        // contAuditTime		
        this.contAuditTime.setBoundLabelText(resHelper.getString("contAuditTime.boundLabelText"));		
        this.contAuditTime.setBoundLabelLength(100);		
        this.contAuditTime.setBoundLabelUnderline(true);
        // conthtmc		
        this.conthtmc.setBoundLabelText(resHelper.getString("conthtmc.boundLabelText"));		
        this.conthtmc.setBoundLabelLength(100);		
        this.conthtmc.setBoundLabelUnderline(true);		
        this.conthtmc.setVisible(true);
        // contcompany		
        this.contcompany.setBoundLabelText(resHelper.getString("contcompany.boundLabelText"));		
        this.contcompany.setBoundLabelLength(100);		
        this.contcompany.setBoundLabelUnderline(true);		
        this.contcompany.setVisible(true);
        // contcustomer		
        this.contcustomer.setBoundLabelText(resHelper.getString("contcustomer.boundLabelText"));		
        this.contcustomer.setBoundLabelLength(100);		
        this.contcustomer.setBoundLabelUnderline(true);		
        this.contcustomer.setVisible(true);
        // conthtAmount		
        this.conthtAmount.setBoundLabelText(resHelper.getString("conthtAmount.boundLabelText"));		
        this.conthtAmount.setBoundLabelLength(100);		
        this.conthtAmount.setBoundLabelUnderline(true);		
        this.conthtAmount.setVisible(true);
        // contzrPerson		
        this.contzrPerson.setBoundLabelText(resHelper.getString("contzrPerson.boundLabelText"));		
        this.contzrPerson.setBoundLabelLength(100);		
        this.contzrPerson.setBoundLabelUnderline(true);		
        this.contzrPerson.setVisible(true);
        // contdeparment		
        this.contdeparment.setBoundLabelText(resHelper.getString("contdeparment.boundLabelText"));		
        this.contdeparment.setBoundLabelLength(100);		
        this.contdeparment.setBoundLabelUnderline(true);		
        this.contdeparment.setVisible(true);
        // contyjAmount		
        this.contyjAmount.setBoundLabelText(resHelper.getString("contyjAmount.boundLabelText"));		
        this.contyjAmount.setBoundLabelLength(100);		
        this.contyjAmount.setBoundLabelUnderline(true);		
        this.contyjAmount.setVisible(true);
        // contbeiz		
        this.contbeiz.setBoundLabelText(resHelper.getString("contbeiz.boundLabelText"));		
        this.contbeiz.setBoundLabelLength(100);		
        this.contbeiz.setBoundLabelUnderline(true);		
        this.contbeiz.setVisible(true);
        // conthtnn		
        this.conthtnn.setBoundLabelText(resHelper.getString("conthtnn.boundLabelText"));		
        this.conthtnn.setBoundLabelLength(100);		
        this.conthtnn.setBoundLabelUnderline(true);		
        this.conthtnn.setVisible(true);
        // kDTabbedPane1
        // contpp		
        this.contpp.setBoundLabelText(resHelper.getString("contpp.boundLabelText"));		
        this.contpp.setBoundLabelLength(100);		
        this.contpp.setBoundLabelUnderline(true);		
        this.contpp.setVisible(true);
        // conthtNum		
        this.conthtNum.setBoundLabelText(resHelper.getString("conthtNum.boundLabelText"));		
        this.conthtNum.setBoundLabelLength(100);		
        this.conthtNum.setBoundLabelUnderline(true);		
        this.conthtNum.setVisible(true);
        // contdjType		
        this.contdjType.setBoundLabelText(resHelper.getString("contdjType.boundLabelText"));		
        this.contdjType.setBoundLabelLength(100);		
        this.contdjType.setBoundLabelUnderline(true);		
        this.contdjType.setVisible(false);
        // contzhlx		
        this.contzhlx.setBoundLabelText(resHelper.getString("contzhlx.boundLabelText"));		
        this.contzhlx.setBoundLabelLength(100);		
        this.contzhlx.setBoundLabelUnderline(true);		
        this.contzhlx.setVisible(true);
        // contbank		
        this.contbank.setBoundLabelText(resHelper.getString("contbank.boundLabelText"));		
        this.contbank.setBoundLabelLength(100);		
        this.contbank.setBoundLabelUnderline(true);		
        this.contbank.setVisible(true);
        // contbankNum		
        this.contbankNum.setBoundLabelText(resHelper.getString("contbankNum.boundLabelText"));		
        this.contbankNum.setBoundLabelLength(100);		
        this.contbankNum.setBoundLabelUnderline(true);		
        this.contbankNum.setVisible(true);
        // prmtCreator		
        this.prmtCreator.setEnabled(false);		
        this.prmtCreator.setCommitFormat("$name$");		
        this.prmtCreator.setEditFormat("$name$");		
        this.prmtCreator.setDisplayFormat("$name$");
        // pkCreateTime		
        this.pkCreateTime.setTimeEnabled(true);		
        this.pkCreateTime.setEnabled(false);
        // prmtLastUpdateUser		
        this.prmtLastUpdateUser.setEnabled(false);		
        this.prmtLastUpdateUser.setDisplayFormat("$name$");		
        this.prmtLastUpdateUser.setEditFormat("$name$");		
        this.prmtLastUpdateUser.setCommitFormat("$name$");
        // pkLastUpdateTime		
        this.pkLastUpdateTime.setTimeEnabled(true);		
        this.pkLastUpdateTime.setEnabled(false);
        // prmtCU		
        this.prmtCU.setEnabled(false);
        // txtNumber
        // pkBizDate
        // txtDescription
        // prmtAuditor		
        this.prmtAuditor.setEnabled(false);		
        this.prmtAuditor.setCommitFormat("$name$");		
        this.prmtAuditor.setDisplayFormat("$name$");		
        this.prmtAuditor.setEditFormat("$name$");
        // comboStatus		
        this.comboStatus.addItems(EnumUtils.getEnumList("com.kingdee.eas.xr.app.XRBillStatusEnum").toArray());		
        this.comboStatus.setEnabled(false);
        // comboBizStatus		
        this.comboBizStatus.addItems(EnumUtils.getEnumList("com.kingdee.eas.xr.app.XRBizActionEnum").toArray());		
        this.comboBizStatus.setEnabled(false);		
        this.comboBizStatus.setVisible(false);
        // pkAuditTime		
        this.pkAuditTime.setTimeEnabled(true);		
        this.pkAuditTime.setEnabled(false);
        // txthtmc		
        this.txthtmc.setVisible(true);		
        this.txthtmc.setHorizontalAlignment(2);		
        this.txthtmc.setMaxLength(255);		
        this.txthtmc.setRequired(true);
        // prmtcompany		
        this.prmtcompany.setQueryInfo("com.kingdee.eas.basedata.org.app.CompanyOrgUnitQuery");		
        this.prmtcompany.setVisible(true);		
        this.prmtcompany.setEditable(true);		
        this.prmtcompany.setDisplayFormat("$name$");		
        this.prmtcompany.setEditFormat("$number$");		
        this.prmtcompany.setCommitFormat("$number$");		
        this.prmtcompany.setRequired(true);
        // prmtcustomer		
        this.prmtcustomer.setQueryInfo("com.kingdee.eas.basedata.master.cssp.app.CustomerInfoQuery");		
        this.prmtcustomer.setVisible(true);		
        this.prmtcustomer.setEditable(true);		
        this.prmtcustomer.setDisplayFormat("$name$");		
        this.prmtcustomer.setEditFormat("$number$");		
        this.prmtcustomer.setCommitFormat("$number$");		
        this.prmtcustomer.setRequired(true);
        // txthtAmount		
        this.txthtAmount.setVisible(true);		
        this.txthtAmount.setHorizontalAlignment(2);		
        this.txthtAmount.setDataType(1);		
        this.txthtAmount.setSupportedEmpty(true);		
        this.txthtAmount.setMinimumValue( new java.math.BigDecimal("-1.0E26"));		
        this.txthtAmount.setMaximumValue( new java.math.BigDecimal("1.0E26"));		
        this.txthtAmount.setPrecision(2);		
        this.txthtAmount.setRequired(true);
        // prmtzrPerson		
        this.prmtzrPerson.setQueryInfo("com.kingdee.eas.basedata.person.app.PersonQuery");		
        this.prmtzrPerson.setVisible(true);		
        this.prmtzrPerson.setEditable(true);		
        this.prmtzrPerson.setDisplayFormat("$name$");		
        this.prmtzrPerson.setEditFormat("$number$");		
        this.prmtzrPerson.setCommitFormat("$number$");		
        this.prmtzrPerson.setRequired(true);
        // prmtdeparment		
        this.prmtdeparment.setQueryInfo("com.kingdee.eas.basedata.org.app.AdminItemQuery");		
        this.prmtdeparment.setVisible(true);		
        this.prmtdeparment.setEditable(true);		
        this.prmtdeparment.setDisplayFormat("$name$");		
        this.prmtdeparment.setEditFormat("$number$");		
        this.prmtdeparment.setCommitFormat("$number$");		
        this.prmtdeparment.setRequired(true);
        // txtyjAmount		
        this.txtyjAmount.setVisible(true);		
        this.txtyjAmount.setHorizontalAlignment(2);		
        this.txtyjAmount.setDataType(1);		
        this.txtyjAmount.setSupportedEmpty(true);		
        this.txtyjAmount.setMinimumValue( new java.math.BigDecimal("-1.0E26"));		
        this.txtyjAmount.setMaximumValue( new java.math.BigDecimal("1.0E26"));		
        this.txtyjAmount.setPrecision(2);		
        this.txtyjAmount.setRequired(true);
        // scrollPanebeiz
        // txtbeiz		
        this.txtbeiz.setVisible(true);		
        this.txtbeiz.setRequired(false);		
        this.txtbeiz.setMaxLength(1000);
        // scrollPanehtnn
        // txthtnn		
        this.txthtnn.setVisible(true);		
        this.txthtnn.setRequired(false);		
        this.txthtnn.setMaxLength(2000);
        // kDPanel1
        // kDPanel2
        // kdtE1
		String kdtE1StrXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><DocRoot xmlns:c=\"http://www.kingdee.com/Common\" xmlns:f=\"http://www.kingdee.com/Form\" xmlns:t=\"http://www.kingdee.com/Table\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.kingdee.com/KDF KDFSchema.xsd\" version=\"0.0\"><Styles><c:Style id=\"sCol0\"><c:NumberFormat>&amp;int</c:NumberFormat></c:Style><c:Style id=\"sCol2\"><c:NumberFormat>&amp;date</c:NumberFormat></c:Style><c:Style id=\"sCol3\"><c:NumberFormat>&amp;date</c:NumberFormat></c:Style><c:Style id=\"sCol5\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol6\"><c:NumberFormat>&amp;date</c:NumberFormat></c:Style><c:Style id=\"sCol7\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol8\"><c:NumberFormat>&amp;date</c:NumberFormat></c:Style></Styles><Table id=\"KDTable\"><t:Sheet name=\"sheet1\"><t:Table t:selectMode=\"15\" t:mergeMode=\"0\" t:dataRequestMode=\"0\" t:pageRowCount=\"100\"><t:ColumnGroup><t:Column t:key=\"seq\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol0\" /><t:Column t:key=\"ggw\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"true\" t:index=\"-1\" /><t:Column t:key=\"zlStartDate\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"true\" t:index=\"-1\" t:styleID=\"sCol2\" /><t:Column t:key=\"zlEndDate\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"true\" t:index=\"-1\" t:styleID=\"sCol3\" /><t:Column t:key=\"zlzq\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"true\" t:index=\"-1\" /><t:Column t:key=\"zlAmount\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"true\" t:index=\"-1\" t:styleID=\"sCol5\" /><t:Column t:key=\"zlPayDate\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol6\" /><t:Column t:key=\"zzAmount\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol7\" /><t:Column t:key=\"zzPayDate\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol8\" /><t:Column t:key=\"remak\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /></t:ColumnGroup><t:Head><t:Row t:name=\"header\" t:height=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\"><t:Cell>$Resource{seq}</t:Cell><t:Cell>$Resource{ggw}</t:Cell><t:Cell>$Resource{zlStartDate}</t:Cell><t:Cell>$Resource{zlEndDate}</t:Cell><t:Cell>$Resource{zlzq}</t:Cell><t:Cell>$Resource{zlAmount}</t:Cell><t:Cell>$Resource{zlPayDate}</t:Cell><t:Cell>$Resource{zzAmount}</t:Cell><t:Cell>$Resource{zzPayDate}</t:Cell><t:Cell>$Resource{remak}</t:Cell></t:Row></t:Head></t:Table><t:SheetOptions><t:MergeBlocks><t:Head /></t:MergeBlocks></t:SheetOptions></t:Sheet></Table></DocRoot>";
		
        this.kdtE1.setFormatXml(resHelper.translateString("kdtE1",kdtE1StrXML));

                this.kdtE1.putBindContents("editData",new String[] {"seq","ggw","zlStartDate","zlEndDate","zlzq","zlAmount","zlPayDate","zzAmount","zzPayDate","remak"});


        this.kdtE1.checkParsed();
        final KDBizPromptBox kdtE1_ggw_PromptBox = new KDBizPromptBox();
        kdtE1_ggw_PromptBox.setQueryInfo("com.kingdee.eas.custom.gggl.app.AdvertQuery");
        kdtE1_ggw_PromptBox.setVisible(true);
        kdtE1_ggw_PromptBox.setEditable(true);
        kdtE1_ggw_PromptBox.setDisplayFormat("$number$");
        kdtE1_ggw_PromptBox.setEditFormat("$number$");
        kdtE1_ggw_PromptBox.setCommitFormat("$number$");
        KDTDefaultCellEditor kdtE1_ggw_CellEditor = new KDTDefaultCellEditor(kdtE1_ggw_PromptBox);
        this.kdtE1.getColumn("ggw").setEditor(kdtE1_ggw_CellEditor);
        ObjectValueRender kdtE1_ggw_OVR = new ObjectValueRender();
        kdtE1_ggw_OVR.setFormat(new BizDataFormat("$name$"));
        this.kdtE1.getColumn("ggw").setRenderer(kdtE1_ggw_OVR);
        			kdtE1_ggw_PromptBox.addSelectorListener(new SelectorListener() {
			com.kingdee.eas.custom.gggl.client.AdvertListUI kdtE1_ggw_PromptBox_F7ListUI = null;
			public void willShow(SelectorEvent e) {
				if (kdtE1_ggw_PromptBox_F7ListUI == null) {
					try {
						kdtE1_ggw_PromptBox_F7ListUI = new com.kingdee.eas.custom.gggl.client.AdvertListUI();
					} catch (Exception e1) {
						e1.printStackTrace();
					}
					HashMap ctx = new HashMap();
					ctx.put("bizUIOwner",javax.swing.SwingUtilities.getWindowAncestor(kdtE1_ggw_PromptBox_F7ListUI));
					kdtE1_ggw_PromptBox_F7ListUI.setF7Use(true,ctx);
					kdtE1_ggw_PromptBox.setSelector(kdtE1_ggw_PromptBox_F7ListUI);
				}
			}
		});
					
        KDDatePicker kdtE1_zlStartDate_DatePicker = new KDDatePicker();
        kdtE1_zlStartDate_DatePicker.setName("kdtE1_zlStartDate_DatePicker");
        kdtE1_zlStartDate_DatePicker.setVisible(true);
        kdtE1_zlStartDate_DatePicker.setEditable(true);
        KDTDefaultCellEditor kdtE1_zlStartDate_CellEditor = new KDTDefaultCellEditor(kdtE1_zlStartDate_DatePicker);
        this.kdtE1.getColumn("zlStartDate").setEditor(kdtE1_zlStartDate_CellEditor);
        KDDatePicker kdtE1_zlEndDate_DatePicker = new KDDatePicker();
        kdtE1_zlEndDate_DatePicker.setName("kdtE1_zlEndDate_DatePicker");
        kdtE1_zlEndDate_DatePicker.setVisible(true);
        kdtE1_zlEndDate_DatePicker.setEditable(true);
        KDTDefaultCellEditor kdtE1_zlEndDate_CellEditor = new KDTDefaultCellEditor(kdtE1_zlEndDate_DatePicker);
        this.kdtE1.getColumn("zlEndDate").setEditor(kdtE1_zlEndDate_CellEditor);
        KDTextField kdtE1_zlzq_TextField = new KDTextField();
        kdtE1_zlzq_TextField.setName("kdtE1_zlzq_TextField");
        kdtE1_zlzq_TextField.setMaxLength(255);
        KDTDefaultCellEditor kdtE1_zlzq_CellEditor = new KDTDefaultCellEditor(kdtE1_zlzq_TextField);
        this.kdtE1.getColumn("zlzq").setEditor(kdtE1_zlzq_CellEditor);
        KDFormattedTextField kdtE1_zlAmount_TextField = new KDFormattedTextField();
        kdtE1_zlAmount_TextField.setName("kdtE1_zlAmount_TextField");
        kdtE1_zlAmount_TextField.setVisible(true);
        kdtE1_zlAmount_TextField.setEditable(true);
        kdtE1_zlAmount_TextField.setHorizontalAlignment(2);
        kdtE1_zlAmount_TextField.setDataType(1);
        	kdtE1_zlAmount_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E26"));
        	kdtE1_zlAmount_TextField.setMaximumValue(new java.math.BigDecimal("1.0E26"));
        kdtE1_zlAmount_TextField.setPrecision(2);
        KDTDefaultCellEditor kdtE1_zlAmount_CellEditor = new KDTDefaultCellEditor(kdtE1_zlAmount_TextField);
        this.kdtE1.getColumn("zlAmount").setEditor(kdtE1_zlAmount_CellEditor);
        KDDatePicker kdtE1_zlPayDate_DatePicker = new KDDatePicker();
        kdtE1_zlPayDate_DatePicker.setName("kdtE1_zlPayDate_DatePicker");
        kdtE1_zlPayDate_DatePicker.setVisible(true);
        kdtE1_zlPayDate_DatePicker.setEditable(true);
        KDTDefaultCellEditor kdtE1_zlPayDate_CellEditor = new KDTDefaultCellEditor(kdtE1_zlPayDate_DatePicker);
        this.kdtE1.getColumn("zlPayDate").setEditor(kdtE1_zlPayDate_CellEditor);
        KDFormattedTextField kdtE1_zzAmount_TextField = new KDFormattedTextField();
        kdtE1_zzAmount_TextField.setName("kdtE1_zzAmount_TextField");
        kdtE1_zzAmount_TextField.setVisible(true);
        kdtE1_zzAmount_TextField.setEditable(true);
        kdtE1_zzAmount_TextField.setHorizontalAlignment(2);
        kdtE1_zzAmount_TextField.setDataType(1);
        	kdtE1_zzAmount_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E26"));
        	kdtE1_zzAmount_TextField.setMaximumValue(new java.math.BigDecimal("1.0E26"));
        kdtE1_zzAmount_TextField.setPrecision(2);
        KDTDefaultCellEditor kdtE1_zzAmount_CellEditor = new KDTDefaultCellEditor(kdtE1_zzAmount_TextField);
        this.kdtE1.getColumn("zzAmount").setEditor(kdtE1_zzAmount_CellEditor);
        KDDatePicker kdtE1_zzPayDate_DatePicker = new KDDatePicker();
        kdtE1_zzPayDate_DatePicker.setName("kdtE1_zzPayDate_DatePicker");
        kdtE1_zzPayDate_DatePicker.setVisible(true);
        kdtE1_zzPayDate_DatePicker.setEditable(true);
        KDTDefaultCellEditor kdtE1_zzPayDate_CellEditor = new KDTDefaultCellEditor(kdtE1_zzPayDate_DatePicker);
        this.kdtE1.getColumn("zzPayDate").setEditor(kdtE1_zzPayDate_CellEditor);
        KDTextArea kdtE1_remak_TextArea = new KDTextArea();
        kdtE1_remak_TextArea.setName("kdtE1_remak_TextArea");
        kdtE1_remak_TextArea.setMaxLength(1000);
        KDTDefaultCellEditor kdtE1_remak_CellEditor = new KDTDefaultCellEditor(kdtE1_remak_TextArea);
        this.kdtE1.getColumn("remak").setEditor(kdtE1_remak_CellEditor);
        // kdtE2
		String kdtE2StrXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><DocRoot xmlns:c=\"http://www.kingdee.com/Common\" xmlns:f=\"http://www.kingdee.com/Form\" xmlns:t=\"http://www.kingdee.com/Table\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.kingdee.com/KDF KDFSchema.xsd\" version=\"0.0\"><Styles><c:Style id=\"sCol0\"><c:NumberFormat>&amp;int</c:NumberFormat></c:Style><c:Style id=\"sCol3\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol4\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol5\"><c:NumberFormat>&amp;date</c:NumberFormat></c:Style><c:Style id=\"sCol8\"><c:NumberFormat>&amp;date</c:NumberFormat></c:Style><c:Style id=\"sCol9\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style></Styles><Table id=\"KDTable\"><t:Sheet name=\"sheet1\"><t:Table t:selectMode=\"15\" t:mergeMode=\"0\" t:dataRequestMode=\"0\" t:pageRowCount=\"100\"><t:ColumnGroup><t:Column t:key=\"seq\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol0\" /><t:Column t:key=\"ggw\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"true\" t:index=\"-1\" /><t:Column t:key=\"recType\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"true\" t:index=\"-1\" /><t:Column t:key=\"skAmount\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"true\" t:index=\"-1\" t:styleID=\"sCol3\" /><t:Column t:key=\"rate\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"true\" t:index=\"-1\" t:styleID=\"sCol4\" /><t:Column t:key=\"recDate\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol5\" /><t:Column t:key=\"remark\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"isYs\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"skDate\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol8\" /><t:Column t:key=\"recAmount\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol9\" /></t:ColumnGroup><t:Head><t:Row t:name=\"header\" t:height=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\"><t:Cell>$Resource{seq}</t:Cell><t:Cell>$Resource{ggw}</t:Cell><t:Cell>$Resource{recType}</t:Cell><t:Cell>$Resource{skAmount}</t:Cell><t:Cell>$Resource{rate}</t:Cell><t:Cell>$Resource{recDate}</t:Cell><t:Cell>$Resource{remark}</t:Cell><t:Cell>$Resource{isYs}</t:Cell><t:Cell>$Resource{skDate}</t:Cell><t:Cell>$Resource{recAmount}</t:Cell></t:Row></t:Head></t:Table><t:SheetOptions><t:MergeBlocks><t:Head /></t:MergeBlocks></t:SheetOptions></t:Sheet></Table></DocRoot>";
		
        this.kdtE2.setFormatXml(resHelper.translateString("kdtE2",kdtE2StrXML));

                this.kdtE2.putBindContents("editData",new String[] {"seq","ggw","recType","skAmount","rate","recDate","remark","isYs","skDate","recAmount"});


        this.kdtE2.checkParsed();
        final KDBizPromptBox kdtE2_ggw_PromptBox = new KDBizPromptBox();
        kdtE2_ggw_PromptBox.setQueryInfo("com.kingdee.eas.custom.gggl.app.AdvertQuery");
        kdtE2_ggw_PromptBox.setVisible(true);
        kdtE2_ggw_PromptBox.setEditable(true);
        kdtE2_ggw_PromptBox.setDisplayFormat("$number$");
        kdtE2_ggw_PromptBox.setEditFormat("$number$");
        kdtE2_ggw_PromptBox.setCommitFormat("$number$");
        KDTDefaultCellEditor kdtE2_ggw_CellEditor = new KDTDefaultCellEditor(kdtE2_ggw_PromptBox);
        this.kdtE2.getColumn("ggw").setEditor(kdtE2_ggw_CellEditor);
        ObjectValueRender kdtE2_ggw_OVR = new ObjectValueRender();
        kdtE2_ggw_OVR.setFormat(new BizDataFormat("$name$"));
        this.kdtE2.getColumn("ggw").setRenderer(kdtE2_ggw_OVR);
        			kdtE2_ggw_PromptBox.addSelectorListener(new SelectorListener() {
			com.kingdee.eas.custom.gggl.client.AdvertListUI kdtE2_ggw_PromptBox_F7ListUI = null;
			public void willShow(SelectorEvent e) {
				if (kdtE2_ggw_PromptBox_F7ListUI == null) {
					try {
						kdtE2_ggw_PromptBox_F7ListUI = new com.kingdee.eas.custom.gggl.client.AdvertListUI();
					} catch (Exception e1) {
						e1.printStackTrace();
					}
					HashMap ctx = new HashMap();
					ctx.put("bizUIOwner",javax.swing.SwingUtilities.getWindowAncestor(kdtE2_ggw_PromptBox_F7ListUI));
					kdtE2_ggw_PromptBox_F7ListUI.setF7Use(true,ctx);
					kdtE2_ggw_PromptBox.setSelector(kdtE2_ggw_PromptBox_F7ListUI);
				}
			}
		});
					
        final KDBizPromptBox kdtE2_recType_PromptBox = new KDBizPromptBox();
        kdtE2_recType_PromptBox.setQueryInfo("com.kingdee.eas.custom.gggl.app.ReceTypeQuery");
        kdtE2_recType_PromptBox.setVisible(true);
        kdtE2_recType_PromptBox.setEditable(true);
        kdtE2_recType_PromptBox.setDisplayFormat("$number$");
        kdtE2_recType_PromptBox.setEditFormat("$number$");
        kdtE2_recType_PromptBox.setCommitFormat("$number$");
        KDTDefaultCellEditor kdtE2_recType_CellEditor = new KDTDefaultCellEditor(kdtE2_recType_PromptBox);
        this.kdtE2.getColumn("recType").setEditor(kdtE2_recType_CellEditor);
        ObjectValueRender kdtE2_recType_OVR = new ObjectValueRender();
        kdtE2_recType_OVR.setFormat(new BizDataFormat("$name$"));
        this.kdtE2.getColumn("recType").setRenderer(kdtE2_recType_OVR);
        KDFormattedTextField kdtE2_skAmount_TextField = new KDFormattedTextField();
        kdtE2_skAmount_TextField.setName("kdtE2_skAmount_TextField");
        kdtE2_skAmount_TextField.setVisible(true);
        kdtE2_skAmount_TextField.setEditable(true);
        kdtE2_skAmount_TextField.setHorizontalAlignment(2);
        kdtE2_skAmount_TextField.setDataType(1);
        	kdtE2_skAmount_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E26"));
        	kdtE2_skAmount_TextField.setMaximumValue(new java.math.BigDecimal("1.0E26"));
        kdtE2_skAmount_TextField.setPrecision(2);
        KDTDefaultCellEditor kdtE2_skAmount_CellEditor = new KDTDefaultCellEditor(kdtE2_skAmount_TextField);
        this.kdtE2.getColumn("skAmount").setEditor(kdtE2_skAmount_CellEditor);
        KDFormattedTextField kdtE2_rate_TextField = new KDFormattedTextField();
        kdtE2_rate_TextField.setName("kdtE2_rate_TextField");
        kdtE2_rate_TextField.setVisible(true);
        kdtE2_rate_TextField.setEditable(true);
        kdtE2_rate_TextField.setHorizontalAlignment(2);
        kdtE2_rate_TextField.setDataType(1);
        	kdtE2_rate_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E26"));
        	kdtE2_rate_TextField.setMaximumValue(new java.math.BigDecimal("1.0E26"));
        kdtE2_rate_TextField.setPrecision(2);
        KDTDefaultCellEditor kdtE2_rate_CellEditor = new KDTDefaultCellEditor(kdtE2_rate_TextField);
        this.kdtE2.getColumn("rate").setEditor(kdtE2_rate_CellEditor);
        KDDatePicker kdtE2_recDate_DatePicker = new KDDatePicker();
        kdtE2_recDate_DatePicker.setName("kdtE2_recDate_DatePicker");
        kdtE2_recDate_DatePicker.setVisible(true);
        kdtE2_recDate_DatePicker.setEditable(true);
        KDTDefaultCellEditor kdtE2_recDate_CellEditor = new KDTDefaultCellEditor(kdtE2_recDate_DatePicker);
        this.kdtE2.getColumn("recDate").setEditor(kdtE2_recDate_CellEditor);
        KDTextArea kdtE2_remark_TextArea = new KDTextArea();
        kdtE2_remark_TextArea.setName("kdtE2_remark_TextArea");
        kdtE2_remark_TextArea.setMaxLength(1000);
        KDTDefaultCellEditor kdtE2_remark_CellEditor = new KDTDefaultCellEditor(kdtE2_remark_TextArea);
        this.kdtE2.getColumn("remark").setEditor(kdtE2_remark_CellEditor);
        KDCheckBox kdtE2_isYs_CheckBox = new KDCheckBox();
        kdtE2_isYs_CheckBox.setName("kdtE2_isYs_CheckBox");
        KDTDefaultCellEditor kdtE2_isYs_CellEditor = new KDTDefaultCellEditor(kdtE2_isYs_CheckBox);
        this.kdtE2.getColumn("isYs").setEditor(kdtE2_isYs_CellEditor);
        KDDatePicker kdtE2_skDate_DatePicker = new KDDatePicker();
        kdtE2_skDate_DatePicker.setName("kdtE2_skDate_DatePicker");
        kdtE2_skDate_DatePicker.setVisible(true);
        kdtE2_skDate_DatePicker.setEditable(true);
        KDTDefaultCellEditor kdtE2_skDate_CellEditor = new KDTDefaultCellEditor(kdtE2_skDate_DatePicker);
        this.kdtE2.getColumn("skDate").setEditor(kdtE2_skDate_CellEditor);
        KDFormattedTextField kdtE2_recAmount_TextField = new KDFormattedTextField();
        kdtE2_recAmount_TextField.setName("kdtE2_recAmount_TextField");
        kdtE2_recAmount_TextField.setVisible(true);
        kdtE2_recAmount_TextField.setEditable(true);
        kdtE2_recAmount_TextField.setHorizontalAlignment(2);
        kdtE2_recAmount_TextField.setDataType(1);
        	kdtE2_recAmount_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E26"));
        	kdtE2_recAmount_TextField.setMaximumValue(new java.math.BigDecimal("1.0E26"));
        kdtE2_recAmount_TextField.setPrecision(2);
        KDTDefaultCellEditor kdtE2_recAmount_CellEditor = new KDTDefaultCellEditor(kdtE2_recAmount_TextField);
        this.kdtE2.getColumn("recAmount").setEditor(kdtE2_recAmount_CellEditor);
        // txtpp		
        this.txtpp.setVisible(true);		
        this.txtpp.setHorizontalAlignment(2);		
        this.txtpp.setMaxLength(255);		
        this.txtpp.setRequired(true);
        // txthtNum		
        this.txthtNum.setVisible(true);		
        this.txthtNum.setHorizontalAlignment(2);		
        this.txthtNum.setMaxLength(255);		
        this.txthtNum.setRequired(true);
        // djType		
        this.djType.setVisible(false);		
        this.djType.addItems(EnumUtils.getEnumList("com.kingdee.eas.custom.gggl.DTypeEnum").toArray());		
        this.djType.setRequired(false);
        // zhlx		
        this.zhlx.setVisible(true);		
        this.zhlx.addItems(EnumUtils.getEnumList("com.kingdee.eas.custom.gggl.ZHEnum").toArray());		
        this.zhlx.setRequired(true);
        // txtbank		
        this.txtbank.setVisible(true);		
        this.txtbank.setHorizontalAlignment(2);		
        this.txtbank.setMaxLength(255);		
        this.txtbank.setRequired(false);
        // txtbankNum		
        this.txtbankNum.setVisible(true);		
        this.txtbankNum.setHorizontalAlignment(2);		
        this.txtbankNum.setMaxLength(255);		
        this.txtbankNum.setRequired(false);
        this.setFocusTraversalPolicy(new com.kingdee.bos.ui.UIFocusTraversalPolicy(new java.awt.Component[] {txthtmc,prmtcompany,prmtcustomer,txthtAmount,prmtzrPerson,prmtdeparment,txtyjAmount,txtbeiz,txthtnn,txtpp,txthtNum,djType,zhlx,txtbank,txtbankNum}));
        this.setFocusCycleRoot(true);
		//Register control's property binding
		registerBindings();
		registerUIState();


    }

	public com.kingdee.bos.ctrl.swing.KDToolBar[] getUIMultiToolBar(){
		java.util.List list = new java.util.ArrayList();
		com.kingdee.bos.ctrl.swing.KDToolBar[] bars = super.getUIMultiToolBar();
		if (bars != null) {
			list.addAll(java.util.Arrays.asList(bars));
		}
		return (com.kingdee.bos.ctrl.swing.KDToolBar[])list.toArray(new com.kingdee.bos.ctrl.swing.KDToolBar[list.size()]);
	}




    /**
     * output initUIContentLayout method
     */
    public void initUIContentLayout()
    {
        this.setBounds(new Rectangle(10, 10, 1013, 629));
        this.setLayout(new KDLayout());
        this.putClientProperty("OriginalBounds", new Rectangle(10, 10, 1013, 629));
        contCreator.setBounds(new Rectangle(14, 576, 270, 19));
        this.add(contCreator, new KDLayout.Constraints(14, 576, 270, 19, KDLayout.Constraints.ANCHOR_LEFT | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        contCreateTime.setBounds(new Rectangle(14, 598, 270, 19));
        this.add(contCreateTime, new KDLayout.Constraints(14, 598, 270, 19, KDLayout.Constraints.ANCHOR_LEFT | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        contLastUpdateUser.setBounds(new Rectangle(371, 576, 270, 19));
        this.add(contLastUpdateUser, new KDLayout.Constraints(371, 576, 270, 19, KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        contLastUpdateTime.setBounds(new Rectangle(371, 598, 270, 19));
        this.add(contLastUpdateTime, new KDLayout.Constraints(371, 598, 270, 19, KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        contCU.setBounds(new Rectangle(976, 440, 270, 19));
        this.add(contCU, new KDLayout.Constraints(976, 440, 270, 19, KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT));
        contNumber.setBounds(new Rectangle(14, 11, 270, 19));
        this.add(contNumber, new KDLayout.Constraints(14, 11, 270, 19, KDLayout.Constraints.ANCHOR_LEFT | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        contBizDate.setBounds(new Rectangle(375, 61, 270, 19));
        this.add(contBizDate, new KDLayout.Constraints(375, 61, 270, 19, KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        contDescription.setBounds(new Rectangle(981, 498, 270, 19));
        this.add(contDescription, new KDLayout.Constraints(981, 498, 270, 19, KDLayout.Constraints.ANCHOR_LEFT | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        contAuditor.setBounds(new Rectangle(736, 576, 270, 19));
        this.add(contAuditor, new KDLayout.Constraints(736, 576, 270, 19, KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT));
        contStatus.setBounds(new Rectangle(736, 11, 270, 19));
        this.add(contStatus, new KDLayout.Constraints(736, 11, 270, 19, KDLayout.Constraints.ANCHOR_BOTTOM_SCALE | KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT));
        contBizStatus.setBounds(new Rectangle(977, 471, 270, 19));
        this.add(contBizStatus, new KDLayout.Constraints(977, 471, 270, 19, KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT));
        contAuditTime.setBounds(new Rectangle(736, 598, 270, 19));
        this.add(contAuditTime, new KDLayout.Constraints(736, 598, 270, 19, KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT));
        conthtmc.setBounds(new Rectangle(375, 36, 270, 19));
        this.add(conthtmc, new KDLayout.Constraints(375, 36, 270, 19, KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        contcompany.setBounds(new Rectangle(736, 36, 270, 19));
        this.add(contcompany, new KDLayout.Constraints(736, 36, 270, 19, KDLayout.Constraints.ANCHOR_BOTTOM_SCALE | KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT));
        contcustomer.setBounds(new Rectangle(14, 36, 270, 19));
        this.add(contcustomer, new KDLayout.Constraints(14, 36, 270, 19, KDLayout.Constraints.ANCHOR_LEFT | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        conthtAmount.setBounds(new Rectangle(14, 61, 270, 19));
        this.add(conthtAmount, new KDLayout.Constraints(14, 61, 270, 19, KDLayout.Constraints.ANCHOR_LEFT | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        contzrPerson.setBounds(new Rectangle(736, 61, 270, 19));
        this.add(contzrPerson, new KDLayout.Constraints(736, 61, 270, 19, KDLayout.Constraints.ANCHOR_BOTTOM_SCALE | KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT));
        contdeparment.setBounds(new Rectangle(736, 87, 270, 19));
        this.add(contdeparment, new KDLayout.Constraints(736, 87, 270, 19, KDLayout.Constraints.ANCHOR_BOTTOM_SCALE | KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT));
        contyjAmount.setBounds(new Rectangle(14, 111, 270, 19));
        this.add(contyjAmount, new KDLayout.Constraints(14, 111, 270, 19, KDLayout.Constraints.ANCHOR_LEFT | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        contbeiz.setBounds(new Rectangle(14, 182, 994, 37));
        this.add(contbeiz, new KDLayout.Constraints(14, 182, 994, 37, KDLayout.Constraints.ANCHOR_LEFT | KDLayout.Constraints.ANCHOR_RIGHT));
        conthtnn.setBounds(new Rectangle(14, 136, 994, 38));
        this.add(conthtnn, new KDLayout.Constraints(14, 136, 994, 38, KDLayout.Constraints.ANCHOR_LEFT | KDLayout.Constraints.ANCHOR_RIGHT));
        kDTabbedPane1.setBounds(new Rectangle(14, 230, 991, 338));
        this.add(kDTabbedPane1, new KDLayout.Constraints(14, 230, 991, 338, KDLayout.Constraints.ANCHOR_LEFT | KDLayout.Constraints.ANCHOR_RIGHT));
        contpp.setBounds(new Rectangle(375, 87, 270, 19));
        this.add(contpp, new KDLayout.Constraints(375, 87, 270, 19, KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        conthtNum.setBounds(new Rectangle(375, 11, 270, 19));
        this.add(conthtNum, new KDLayout.Constraints(375, 11, 270, 19, KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        contdjType.setBounds(new Rectangle(987, 203, 270, 19));
        this.add(contdjType, new KDLayout.Constraints(987, 203, 270, 19, 0));
        contzhlx.setBounds(new Rectangle(14, 87, 270, 19));
        this.add(contzhlx, new KDLayout.Constraints(14, 87, 270, 19, KDLayout.Constraints.ANCHOR_LEFT | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        contbank.setBounds(new Rectangle(375, 111, 270, 19));
        this.add(contbank, new KDLayout.Constraints(375, 111, 270, 19, KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        contbankNum.setBounds(new Rectangle(736, 111, 270, 19));
        this.add(contbankNum, new KDLayout.Constraints(736, 111, 270, 19, KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT));
        //contCreator
        contCreator.setBoundEditor(prmtCreator);
        //contCreateTime
        contCreateTime.setBoundEditor(pkCreateTime);
        //contLastUpdateUser
        contLastUpdateUser.setBoundEditor(prmtLastUpdateUser);
        //contLastUpdateTime
        contLastUpdateTime.setBoundEditor(pkLastUpdateTime);
        //contCU
        contCU.setBoundEditor(prmtCU);
        //contNumber
        contNumber.setBoundEditor(txtNumber);
        //contBizDate
        contBizDate.setBoundEditor(pkBizDate);
        //contDescription
        contDescription.setBoundEditor(txtDescription);
        //contAuditor
        contAuditor.setBoundEditor(prmtAuditor);
        //contStatus
        contStatus.setBoundEditor(comboStatus);
        //contBizStatus
        contBizStatus.setBoundEditor(comboBizStatus);
        //contAuditTime
        contAuditTime.setBoundEditor(pkAuditTime);
        //conthtmc
        conthtmc.setBoundEditor(txthtmc);
        //contcompany
        contcompany.setBoundEditor(prmtcompany);
        //contcustomer
        contcustomer.setBoundEditor(prmtcustomer);
        //conthtAmount
        conthtAmount.setBoundEditor(txthtAmount);
        //contzrPerson
        contzrPerson.setBoundEditor(prmtzrPerson);
        //contdeparment
        contdeparment.setBoundEditor(prmtdeparment);
        //contyjAmount
        contyjAmount.setBoundEditor(txtyjAmount);
        //contbeiz
        contbeiz.setBoundEditor(scrollPanebeiz);
        //scrollPanebeiz
        scrollPanebeiz.getViewport().add(txtbeiz, null);
        //conthtnn
        conthtnn.setBoundEditor(scrollPanehtnn);
        //scrollPanehtnn
        scrollPanehtnn.getViewport().add(txthtnn, null);
        //kDTabbedPane1
        kDTabbedPane1.add(kDPanel1, resHelper.getString("kDPanel1.constraints"));
        kDTabbedPane1.add(kDPanel2, resHelper.getString("kDPanel2.constraints"));
        //kDPanel1
        kDPanel1.setLayout(new KDLayout());
        kDPanel1.putClientProperty("OriginalBounds", new Rectangle(0, 0, 990, 305));        kdtE1.setBounds(new Rectangle(3, 5, 978, 309));
        kdtE1_detailPanel = (com.kingdee.eas.framework.client.multiDetail.DetailPanel)com.kingdee.eas.framework.client.multiDetail.HMDUtils.buildDetail(this,dataBinder,kdtE1,new com.kingdee.eas.custom.gggl.ContractFirstE1Info(),null,false);
        kDPanel1.add(kdtE1_detailPanel, new KDLayout.Constraints(3, 5, 978, 309, KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        //kDPanel2
        kDPanel2.setLayout(new KDLayout());
        kDPanel2.putClientProperty("OriginalBounds", new Rectangle(0, 0, 990, 305));        kdtE2.setBounds(new Rectangle(3, 4, 979, 306));
        kdtE2_detailPanel = (com.kingdee.eas.framework.client.multiDetail.DetailPanel)com.kingdee.eas.framework.client.multiDetail.HMDUtils.buildDetail(this,dataBinder,kdtE2,new com.kingdee.eas.custom.gggl.ContractFirstE2Info(),null,false);
        kDPanel2.add(kdtE2_detailPanel, new KDLayout.Constraints(3, 4, 979, 306, KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        //contpp
        contpp.setBoundEditor(txtpp);
        //conthtNum
        conthtNum.setBoundEditor(txthtNum);
        //contdjType
        contdjType.setBoundEditor(djType);
        //contzhlx
        contzhlx.setBoundEditor(zhlx);
        //contbank
        contbank.setBoundEditor(txtbank);
        //contbankNum
        contbankNum.setBoundEditor(txtbankNum);

    }


    /**
     * output initUIMenuBarLayout method
     */
    public void initUIMenuBarLayout()
    {
        this.menuBar.add(menuFile);
        this.menuBar.add(menuEdit);
        this.menuBar.add(MenuService);
        this.menuBar.add(menuView);
        this.menuBar.add(menuBiz);
        this.menuBar.add(menuTable1);
        this.menuBar.add(menuTool);
        this.menuBar.add(menuWorkflow);
        this.menuBar.add(menuHelp);
        //menuFile
        menuFile.add(menuItemAddNew);
        menuFile.add(kDSeparator1);
        menuFile.add(menuItemCloudFeed);
        menuFile.add(menuItemSave);
        menuFile.add(menuItemCloudScreen);
        menuFile.add(menuItemSubmit);
        menuFile.add(menuItemCloudShare);
        menuFile.add(menuSubmitOption);
        menuFile.add(kdSeparatorFWFile1);
        menuFile.add(rMenuItemSubmit);
        menuFile.add(rMenuItemSubmitAndAddNew);
        menuFile.add(rMenuItemSubmitAndPrint);
        menuFile.add(separatorFile1);
        menuFile.add(MenuItemAttachment);
        menuFile.add(kDSeparator2);
        menuFile.add(menuItemPageSetup);
        menuFile.add(menuItemPrint);
        menuFile.add(menuItemPrintPreview);
        menuFile.add(kDSeparator6);
        menuFile.add(menuItemSendMail);
        menuFile.add(kDSeparator3);
        menuFile.add(menuItemExitCurrent);
        //menuSubmitOption
        menuSubmitOption.add(chkMenuItemSubmitAndAddNew);
        menuSubmitOption.add(chkMenuItemSubmitAndPrint);
        //menuEdit
        menuEdit.add(menuItemCopy);
        menuEdit.add(menuItemEdit);
        menuEdit.add(menuItemRemove);
        menuEdit.add(kDSeparator4);
        menuEdit.add(menuItemReset);
        menuEdit.add(separator1);
        menuEdit.add(menuItemCreateFrom);
        menuEdit.add(menuItemCreateTo);
        menuEdit.add(menuItemCopyFrom);
        menuEdit.add(separatorEdit1);
        menuEdit.add(menuItemEnterToNextRow);
        menuEdit.add(separator2);
        //MenuService
        MenuService.add(MenuItemKnowStore);
        MenuService.add(MenuItemAnwser);
        MenuService.add(SepratorService);
        MenuService.add(MenuItemRemoteAssist);
        //menuView
        menuView.add(menuItemFirst);
        menuView.add(menuItemPre);
        menuView.add(menuItemNext);
        menuView.add(menuItemLast);
        menuView.add(separator3);
        menuView.add(menuItemTraceUp);
        menuView.add(menuItemTraceDown);
        menuView.add(kDSeparator7);
        menuView.add(menuItemLocate);
        //menuBiz
        menuBiz.add(menuItemCancelCancel);
        menuBiz.add(menuItemCancel);
        menuBiz.add(MenuItemVoucher);
        menuBiz.add(menuItemDelVoucher);
        //menuTable1
        menuTable1.add(menuItemAddLine);
        menuTable1.add(menuItemCopyLine);
        menuTable1.add(menuItemInsertLine);
        menuTable1.add(menuItemRemoveLine);
        //menuTool
        menuTool.add(menuItemSendMessage);
        menuTool.add(menuItemMsgFormat);
        menuTool.add(menuItemCalculator);
        menuTool.add(menuItemToolBarCustom);
        //menuWorkflow
        menuWorkflow.add(menuItemStartWorkFlow);
        menuWorkflow.add(separatorWF1);
        menuWorkflow.add(menuItemViewSubmitProccess);
        menuWorkflow.add(menuItemViewDoProccess);
        menuWorkflow.add(MenuItemWFG);
        menuWorkflow.add(menuItemWorkFlowList);
        menuWorkflow.add(separatorWF2);
        menuWorkflow.add(menuItemMultiapprove);
        menuWorkflow.add(menuItemNextPerson);
        menuWorkflow.add(menuItemAuditResult);
        menuWorkflow.add(kDSeparator5);
        menuWorkflow.add(kDMenuItemSendMessage);
        //menuHelp
        menuHelp.add(menuItemHelp);
        menuHelp.add(kDSeparator12);
        menuHelp.add(menuItemRegPro);
        menuHelp.add(menuItemPersonalSite);
        menuHelp.add(helpseparatorDiv);
        menuHelp.add(menuitemProductval);
        menuHelp.add(kDSeparatorProduct);
        menuHelp.add(menuItemAbout);

    }

    /**
     * output initUIToolBarLayout method
     */
    public void initUIToolBarLayout()
    {
        this.toolBar.add(btnAddNew);
        this.toolBar.add(btnCloud);
        this.toolBar.add(btnEdit);
        this.toolBar.add(btnXunTong);
        this.toolBar.add(btnSave);
        this.toolBar.add(kDSeparatorCloud);
        this.toolBar.add(btnReset);
        this.toolBar.add(btnSubmit);
        this.toolBar.add(btnCopy);
        this.toolBar.add(btnRemove);
        this.toolBar.add(btnCancelCancel);
        this.toolBar.add(btnCancel);
        this.toolBar.add(btnAttachment);
        this.toolBar.add(btnAudit);
        this.toolBar.add(btnUnAudit);
        this.toolBar.add(separatorFW1);
        this.toolBar.add(btnPageSetup);
        this.toolBar.add(btnPrint);
        this.toolBar.add(btnPrintPreview);
        this.toolBar.add(separatorFW2);
        this.toolBar.add(btnFirst);
        this.toolBar.add(btnPre);
        this.toolBar.add(btnNext);
        this.toolBar.add(btnLast);
        this.toolBar.add(separatorFW3);
        this.toolBar.add(btnTraceUp);
        this.toolBar.add(btnTraceDown);
        this.toolBar.add(btnWorkFlowG);
        this.toolBar.add(btnSignature);
        this.toolBar.add(btnNumberSign);
        this.toolBar.add(btnViewSignature);
        this.toolBar.add(separatorFW4);
        this.toolBar.add(separatorFW7);
        this.toolBar.add(btnCreateFrom);
        this.toolBar.add(btnCopyFrom);
        this.toolBar.add(btnCreateTo);
        this.toolBar.add(separatorFW5);
        this.toolBar.add(separatorFW8);
        this.toolBar.add(btnAddLine);
        this.toolBar.add(btnCopyLine);
        this.toolBar.add(btnInsertLine);
        this.toolBar.add(btnRemoveLine);
        this.toolBar.add(separatorFW6);
        this.toolBar.add(separatorFW9);
        this.toolBar.add(btnVoucher);
        this.toolBar.add(btnDelVoucher);
        this.toolBar.add(btnAuditResult);
        this.toolBar.add(btnMultiapprove);
        this.toolBar.add(btnWFViewdoProccess);
        this.toolBar.add(btnWFViewSubmitProccess);
        this.toolBar.add(btnNextPerson);


    }

	//Regiester control's property binding.
	private void registerBindings(){
		dataBinder.registerBinding("creator", com.kingdee.eas.base.permission.UserInfo.class, this.prmtCreator, "data");
		dataBinder.registerBinding("createTime", java.sql.Timestamp.class, this.pkCreateTime, "value");
		dataBinder.registerBinding("lastUpdateUser", com.kingdee.eas.base.permission.UserInfo.class, this.prmtLastUpdateUser, "data");
		dataBinder.registerBinding("lastUpdateTime", java.sql.Timestamp.class, this.pkLastUpdateTime, "value");
		dataBinder.registerBinding("CU", com.kingdee.eas.basedata.org.CtrlUnitInfo.class, this.prmtCU, "data");
		dataBinder.registerBinding("number", String.class, this.txtNumber, "text");
		dataBinder.registerBinding("bizDate", java.util.Date.class, this.pkBizDate, "value");
		dataBinder.registerBinding("description", String.class, this.txtDescription, "text");
		dataBinder.registerBinding("auditor", com.kingdee.eas.base.permission.UserInfo.class, this.prmtAuditor, "data");
		dataBinder.registerBinding("status", com.kingdee.eas.xr.app.XRBillStatusEnum.class, this.comboStatus, "selectedItem");
		dataBinder.registerBinding("bizStatus", com.kingdee.eas.xr.app.XRBizActionEnum.class, this.comboBizStatus, "selectedItem");
		dataBinder.registerBinding("auditTime", java.sql.Timestamp.class, this.pkAuditTime, "value");
		dataBinder.registerBinding("htmc", String.class, this.txthtmc, "text");
		dataBinder.registerBinding("company", com.kingdee.eas.basedata.org.CompanyOrgUnitInfo.class, this.prmtcompany, "data");
		dataBinder.registerBinding("customer", com.kingdee.eas.basedata.master.cssp.CustomerInfo.class, this.prmtcustomer, "data");
		dataBinder.registerBinding("htAmount", java.math.BigDecimal.class, this.txthtAmount, "value");
		dataBinder.registerBinding("zrPerson", com.kingdee.eas.basedata.person.PersonInfo.class, this.prmtzrPerson, "data");
		dataBinder.registerBinding("deparment", com.kingdee.eas.basedata.org.AdminOrgUnitInfo.class, this.prmtdeparment, "data");
		dataBinder.registerBinding("yjAmount", java.math.BigDecimal.class, this.txtyjAmount, "value");
		dataBinder.registerBinding("beiz", String.class, this.txtbeiz, "text");
		dataBinder.registerBinding("htnn", String.class, this.txthtnn, "text");
		dataBinder.registerBinding("E1.seq", int.class, this.kdtE1, "seq.text");
		dataBinder.registerBinding("E1", com.kingdee.eas.custom.gggl.ContractFirstE1Info.class, this.kdtE1, "userObject");
		dataBinder.registerBinding("E1.ggw", java.lang.Object.class, this.kdtE1, "ggw.text");
		dataBinder.registerBinding("E1.zlStartDate", java.util.Date.class, this.kdtE1, "zlStartDate.text");
		dataBinder.registerBinding("E1.zlEndDate", java.util.Date.class, this.kdtE1, "zlEndDate.text");
		dataBinder.registerBinding("E1.zlzq", String.class, this.kdtE1, "zlzq.text");
		dataBinder.registerBinding("E1.zlAmount", java.math.BigDecimal.class, this.kdtE1, "zlAmount.text");
		dataBinder.registerBinding("E1.zlPayDate", java.util.Date.class, this.kdtE1, "zlPayDate.text");
		dataBinder.registerBinding("E1.zzAmount", java.math.BigDecimal.class, this.kdtE1, "zzAmount.text");
		dataBinder.registerBinding("E1.zzPayDate", java.util.Date.class, this.kdtE1, "zzPayDate.text");
		dataBinder.registerBinding("E1.remak", String.class, this.kdtE1, "remak.text");
		dataBinder.registerBinding("E2.seq", int.class, this.kdtE2, "seq.text");
		dataBinder.registerBinding("E2", com.kingdee.eas.custom.gggl.ContractFirstE2Info.class, this.kdtE2, "userObject");
		dataBinder.registerBinding("E2.ggw", java.lang.Object.class, this.kdtE2, "ggw.text");
		dataBinder.registerBinding("E2.recType", java.lang.Object.class, this.kdtE2, "recType.text");
		dataBinder.registerBinding("E2.skAmount", java.math.BigDecimal.class, this.kdtE2, "skAmount.text");
		dataBinder.registerBinding("E2.rate", java.math.BigDecimal.class, this.kdtE2, "rate.text");
		dataBinder.registerBinding("E2.recDate", java.util.Date.class, this.kdtE2, "recDate.text");
		dataBinder.registerBinding("E2.remark", String.class, this.kdtE2, "remark.text");
		dataBinder.registerBinding("E2.isYs", boolean.class, this.kdtE2, "isYs.text");
		dataBinder.registerBinding("E2.skDate", java.util.Date.class, this.kdtE2, "skDate.text");
		dataBinder.registerBinding("E2.recAmount", java.math.BigDecimal.class, this.kdtE2, "recAmount.text");
		dataBinder.registerBinding("pp", String.class, this.txtpp, "text");
		dataBinder.registerBinding("htNum", String.class, this.txthtNum, "text");
		dataBinder.registerBinding("djType", com.kingdee.eas.custom.gggl.DTypeEnum.class, this.djType, "selectedItem");
		dataBinder.registerBinding("zhlx", com.kingdee.eas.custom.gggl.ZHEnum.class, this.zhlx, "selectedItem");
		dataBinder.registerBinding("bank", String.class, this.txtbank, "text");
		dataBinder.registerBinding("bankNum", String.class, this.txtbankNum, "text");		
	}
	//Regiester UI State
	private void registerUIState(){		
	}
	public String getUIHandlerClassName() {
	    return "com.kingdee.eas.custom.gggl.app.ContractFirstEditUIHandler";
	}
	public IUIActionPostman prepareInit() {
		IUIActionPostman clientHanlder = super.prepareInit();
		if (clientHanlder != null) {
			RequestContext request = new RequestContext();
    		request.setClassName(getUIHandlerClassName());
			clientHanlder.setRequestContext(request);
		}
		return clientHanlder;
    }
	
	public boolean isPrepareInit() {
    	return false;
    }
    protected void initUIP() {
        super.initUIP();
    }


    /**
     * output onShow method
     */
    public void onShow() throws Exception
    {
        super.onShow();
        this.txthtmc.requestFocusInWindow();
    }

	
	

    /**
     * output setDataObject method
     */
    public void setDataObject(IObjectValue dataObject)
    {
        IObjectValue ov = dataObject;        	    	
        super.setDataObject(ov);
        this.editData = (com.kingdee.eas.custom.gggl.ContractFirstInfo)ov;
    }
    protected void removeByPK(IObjectPK pk) throws Exception {
    	IObjectValue editData = this.editData;
    	super.removeByPK(pk);
    	recycleNumberByOrg(editData,"NONE",editData.getString("number"));
    }
    
    protected void recycleNumberByOrg(IObjectValue editData,String orgType,String number) {
        if (!StringUtils.isEmpty(number))
        {
            try {
            	String companyID = null;            
            	com.kingdee.eas.base.codingrule.ICodingRuleManager iCodingRuleManager = com.kingdee.eas.base.codingrule.CodingRuleManagerFactory.getRemoteInstance();
				if(!com.kingdee.util.StringUtils.isEmpty(orgType) && !"NONE".equalsIgnoreCase(orgType) && com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit(com.kingdee.eas.basedata.org.OrgType.getEnum(orgType))!=null) {
					companyID =com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit(com.kingdee.eas.basedata.org.OrgType.getEnum(orgType)).getString("id");
				}
				else if (com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit() != null) {
					companyID = ((com.kingdee.eas.basedata.org.OrgUnitInfo)com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit()).getString("id");
            	}				
				if (!StringUtils.isEmpty(companyID) && iCodingRuleManager.isExist(editData, companyID) && iCodingRuleManager.isUseIntermitNumber(editData, companyID)) {
					iCodingRuleManager.recycleNumber(editData,companyID,number);					
				}
            }
            catch (Exception e)
            {
                handUIException(e);
            }
        }
    }
    protected void setAutoNumberByOrg(String orgType) {
    	if (editData == null) return;
		if (editData.getNumber() == null) {
            try {
            	String companyID = null;
				if(!com.kingdee.util.StringUtils.isEmpty(orgType) && !"NONE".equalsIgnoreCase(orgType) && com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit(com.kingdee.eas.basedata.org.OrgType.getEnum(orgType))!=null) {
					companyID = com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit(com.kingdee.eas.basedata.org.OrgType.getEnum(orgType)).getString("id");
				}
				else if (com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit() != null) {
					companyID = ((com.kingdee.eas.basedata.org.OrgUnitInfo)com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit()).getString("id");
            	}
				com.kingdee.eas.base.codingrule.ICodingRuleManager iCodingRuleManager = com.kingdee.eas.base.codingrule.CodingRuleManagerFactory.getRemoteInstance();
		        if (iCodingRuleManager.isExist(editData, companyID)) {
		            if (iCodingRuleManager.isAddView(editData, companyID)) {
		            	editData.setNumber(iCodingRuleManager.getNumber(editData,companyID));
		            }
	                txtNumber.setEnabled(false);
		        }
            }
            catch (Exception e) {
                handUIException(e);
                this.oldData = editData;
                com.kingdee.eas.util.SysUtil.abort();
            } 
        } 
        else {
            if (editData.getNumber().trim().length() > 0) {
                txtNumber.setText(editData.getNumber());
            }
        }
    }

    /**
     * output loadFields method
     */
    public void loadFields()
    {
        		setAutoNumberByOrg("NONE");
        dataBinder.loadFields();
    }
		protected void setOrgF7(KDBizPromptBox f7,com.kingdee.eas.basedata.org.OrgType orgType) throws Exception
		{
			com.kingdee.eas.basedata.org.client.f7.NewOrgUnitFilterInfoProducer oufip = new com.kingdee.eas.basedata.org.client.f7.NewOrgUnitFilterInfoProducer(orgType);
			oufip.getModel().setIsCUFilter(true);
			f7.setFilterInfoProducer(oufip);
		}

    /**
     * output storeFields method
     */
    public void storeFields()
    {
		dataBinder.storeFields();
    }

	/**
	 * ????????§µ??
	 */
	protected void registerValidator() {
    	getValidateHelper().setCustomValidator( getValidator() );
		getValidateHelper().registerBindProperty("creator", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("createTime", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("lastUpdateUser", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("lastUpdateTime", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("CU", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("number", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("bizDate", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("description", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("auditor", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("status", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("bizStatus", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("auditTime", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("htmc", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("company", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("customer", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("htAmount", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("zrPerson", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("deparment", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("yjAmount", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("beiz", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("htnn", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E1.seq", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E1", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E1.ggw", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E1.zlStartDate", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E1.zlEndDate", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E1.zlzq", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E1.zlAmount", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E1.zlPayDate", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E1.zzAmount", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E1.zzPayDate", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E1.remak", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E2.seq", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E2", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E2.ggw", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E2.recType", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E2.skAmount", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E2.rate", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E2.recDate", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E2.remark", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E2.isYs", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E2.skDate", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("E2.recAmount", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("pp", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("htNum", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("djType", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("zhlx", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("bank", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("bankNum", ValidateHelper.ON_SAVE);    		
	}



    /**
     * output setOprtState method
     */
    public void setOprtState(String oprtType)
    {
        super.setOprtState(oprtType);
        if (STATUS_ADDNEW.equals(this.oprtState)) {
        } else if (STATUS_EDIT.equals(this.oprtState)) {
        } else if (STATUS_VIEW.equals(this.oprtState)) {
        } else if (STATUS_FINDVIEW.equals(this.oprtState)) {
        }
    }

    /**
     * output getSelectors method
     */
    public SelectorItemCollection getSelectors()
    {
        SelectorItemCollection sic = new SelectorItemCollection();
		String selectorAll = System.getProperty("selector.all");
		if(StringUtils.isEmpty(selectorAll)){
			selectorAll = "true";
		}
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("creator.*"));
		}
		else{
        	sic.add(new SelectorItemInfo("creator.id"));
        	sic.add(new SelectorItemInfo("creator.number"));
        	sic.add(new SelectorItemInfo("creator.name"));
		}
        sic.add(new SelectorItemInfo("createTime"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("lastUpdateUser.*"));
		}
		else{
        	sic.add(new SelectorItemInfo("lastUpdateUser.id"));
        	sic.add(new SelectorItemInfo("lastUpdateUser.number"));
        	sic.add(new SelectorItemInfo("lastUpdateUser.name"));
		}
        sic.add(new SelectorItemInfo("lastUpdateTime"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("CU.*"));
		}
		else{
        	sic.add(new SelectorItemInfo("CU.id"));
        	sic.add(new SelectorItemInfo("CU.number"));
        	sic.add(new SelectorItemInfo("CU.name"));
		}
        sic.add(new SelectorItemInfo("number"));
        sic.add(new SelectorItemInfo("bizDate"));
        sic.add(new SelectorItemInfo("description"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("auditor.*"));
		}
		else{
        	sic.add(new SelectorItemInfo("auditor.id"));
        	sic.add(new SelectorItemInfo("auditor.number"));
        	sic.add(new SelectorItemInfo("auditor.name"));
		}
        sic.add(new SelectorItemInfo("status"));
        sic.add(new SelectorItemInfo("bizStatus"));
        sic.add(new SelectorItemInfo("auditTime"));
        sic.add(new SelectorItemInfo("htmc"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("company.*"));
		}
		else{
        	sic.add(new SelectorItemInfo("company.id"));
        	sic.add(new SelectorItemInfo("company.number"));
        	sic.add(new SelectorItemInfo("company.name"));
		}
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("customer.*"));
		}
		else{
        	sic.add(new SelectorItemInfo("customer.id"));
        	sic.add(new SelectorItemInfo("customer.number"));
        	sic.add(new SelectorItemInfo("customer.name"));
		}
        sic.add(new SelectorItemInfo("htAmount"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("zrPerson.*"));
		}
		else{
        	sic.add(new SelectorItemInfo("zrPerson.id"));
        	sic.add(new SelectorItemInfo("zrPerson.number"));
        	sic.add(new SelectorItemInfo("zrPerson.name"));
		}
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("deparment.*"));
		}
		else{
        	sic.add(new SelectorItemInfo("deparment.id"));
        	sic.add(new SelectorItemInfo("deparment.number"));
        	sic.add(new SelectorItemInfo("deparment.name"));
		}
        sic.add(new SelectorItemInfo("yjAmount"));
        sic.add(new SelectorItemInfo("beiz"));
        sic.add(new SelectorItemInfo("htnn"));
    	sic.add(new SelectorItemInfo("E1.seq"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("E1.*"));
		}
		else{
		}
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("E1.ggw.*"));
		}
		else{
	    	sic.add(new SelectorItemInfo("E1.ggw.id"));
			sic.add(new SelectorItemInfo("E1.ggw.name"));
        	sic.add(new SelectorItemInfo("E1.ggw.number"));
		}
    	sic.add(new SelectorItemInfo("E1.zlStartDate"));
    	sic.add(new SelectorItemInfo("E1.zlEndDate"));
    	sic.add(new SelectorItemInfo("E1.zlzq"));
    	sic.add(new SelectorItemInfo("E1.zlAmount"));
    	sic.add(new SelectorItemInfo("E1.zlPayDate"));
    	sic.add(new SelectorItemInfo("E1.zzAmount"));
    	sic.add(new SelectorItemInfo("E1.zzPayDate"));
    	sic.add(new SelectorItemInfo("E1.remak"));
    	sic.add(new SelectorItemInfo("E2.seq"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("E2.*"));
		}
		else{
		}
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("E2.ggw.*"));
		}
		else{
	    	sic.add(new SelectorItemInfo("E2.ggw.id"));
			sic.add(new SelectorItemInfo("E2.ggw.name"));
        	sic.add(new SelectorItemInfo("E2.ggw.number"));
		}
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("E2.recType.*"));
		}
		else{
	    	sic.add(new SelectorItemInfo("E2.recType.id"));
			sic.add(new SelectorItemInfo("E2.recType.name"));
        	sic.add(new SelectorItemInfo("E2.recType.number"));
		}
    	sic.add(new SelectorItemInfo("E2.skAmount"));
    	sic.add(new SelectorItemInfo("E2.rate"));
    	sic.add(new SelectorItemInfo("E2.recDate"));
    	sic.add(new SelectorItemInfo("E2.remark"));
    	sic.add(new SelectorItemInfo("E2.isYs"));
    	sic.add(new SelectorItemInfo("E2.skDate"));
    	sic.add(new SelectorItemInfo("E2.recAmount"));
        sic.add(new SelectorItemInfo("pp"));
        sic.add(new SelectorItemInfo("htNum"));
        sic.add(new SelectorItemInfo("djType"));
        sic.add(new SelectorItemInfo("zhlx"));
        sic.add(new SelectorItemInfo("bank"));
        sic.add(new SelectorItemInfo("bankNum"));
        return sic;
    }        
    	

    /**
     * output actionSubmit_actionPerformed method
     */
    public void actionSubmit_actionPerformed(ActionEvent e) throws Exception
    {
        super.actionSubmit_actionPerformed(e);
    }
    	

    /**
     * output actionUnAudit_actionPerformed method
     */
    public void actionUnAudit_actionPerformed(ActionEvent e) throws Exception
    {
        super.actionUnAudit_actionPerformed(e);
    }
	public RequestContext prepareActionSubmit(IItemAction itemAction) throws Exception {
			RequestContext request = super.prepareActionSubmit(itemAction);		
		if (request != null) {
    		request.setClassName(getUIHandlerClassName());
		}
		return request;
    }
	
	public boolean isPrepareActionSubmit() {
    	return false;
    }
	public RequestContext prepareActionUnAudit(IItemAction itemAction) throws Exception {
			RequestContext request = super.prepareActionUnAudit(itemAction);		
		if (request != null) {
    		request.setClassName(getUIHandlerClassName());
		}
		return request;
    }
	
	public boolean isPrepareActionUnAudit() {
    	return false;
    }

    /**
     * output getMetaDataPK method
     */
    public IMetaDataPK getMetaDataPK()
    {
        return new MetaDataPK("com.kingdee.eas.custom.gggl.client", "ContractFirstEditUI");
    }
    /**
     * output isBindWorkFlow method
     */
    public boolean isBindWorkFlow()
    {
        return true;
    }

    /**
     * output getEditUIName method
     */
    protected String getEditUIName()
    {
        return com.kingdee.eas.custom.gggl.client.ContractFirstEditUI.class.getName();
    }

    /**
     * output getBizInterface method
     */
    protected com.kingdee.eas.framework.ICoreBase getBizInterface() throws Exception
    {
        return com.kingdee.eas.custom.gggl.ContractFirstFactory.getRemoteInstance();
    }

    /**
     * output createNewData method
     */
    protected IObjectValue createNewData()
    {
        com.kingdee.eas.custom.gggl.ContractFirstInfo objectValue = new com.kingdee.eas.custom.gggl.ContractFirstInfo();
        objectValue.setCreator((com.kingdee.eas.base.permission.UserInfo)(com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentUser()));		
        return objectValue;
    }


    	protected String getTDFileName() {
    	return "/bim/custom/gggl/ContractFirst";
	}
    protected IMetaDataPK getTDQueryPK() {
    	return new MetaDataPK("com.kingdee.eas.custom.gggl.app.ContractFirstQuery");
	}
    
        
					protected void beforeStoreFields(ActionEvent arg0) throws Exception {
		if (com.kingdee.bos.ui.face.UIRuleUtil.isNull(txthtmc.getText())) {
			throw new com.kingdee.eas.common.EASBizException(com.kingdee.eas.common.EASBizException.CHECKBLANK,new Object[] {"ºÏÍ¬Ãû³Æ"});
		}
		if (com.kingdee.bos.ui.face.UIRuleUtil.isNull(prmtcompany.getData())) {
			throw new com.kingdee.eas.common.EASBizException(com.kingdee.eas.common.EASBizException.CHECKBLANK,new Object[] {"¹«Ë¾"});
		}
		if (com.kingdee.bos.ui.face.UIRuleUtil.isNull(prmtcustomer.getData())) {
			throw new com.kingdee.eas.common.EASBizException(com.kingdee.eas.common.EASBizException.CHECKBLANK,new Object[] {"¿Í»§"});
		}
		if (com.kingdee.bos.ui.face.UIRuleUtil.isNull(txthtAmount.getValue())) {
			throw new com.kingdee.eas.common.EASBizException(com.kingdee.eas.common.EASBizException.CHECKBLANK,new Object[] {"ºÏÍ¬º¬Ë°½ð¶î"});
		}
		if (com.kingdee.bos.ui.face.UIRuleUtil.isNull(prmtzrPerson.getData())) {
			throw new com.kingdee.eas.common.EASBizException(com.kingdee.eas.common.EASBizException.CHECKBLANK,new Object[] {"ÔðÈÎÈË"});
		}
		if (com.kingdee.bos.ui.face.UIRuleUtil.isNull(prmtdeparment.getData())) {
			throw new com.kingdee.eas.common.EASBizException(com.kingdee.eas.common.EASBizException.CHECKBLANK,new Object[] {"ÔðÈÎ²¿ÃÅ"});
		}
		if (com.kingdee.bos.ui.face.UIRuleUtil.isNull(txtyjAmount.getValue())) {
			throw new com.kingdee.eas.common.EASBizException(com.kingdee.eas.common.EASBizException.CHECKBLANK,new Object[] {"Ñº½ð"});
		}
		for (int i=0,n=kdtE1.getRowCount();i<n;i++) {
			if (com.kingdee.bos.ui.face.UIRuleUtil.isNull(kdtE1.getCell(i,"ggw").getValue())) {
				throw new com.kingdee.eas.common.EASBizException(com.kingdee.eas.common.EASBizException.CHECKBLANK,new Object[] {"¹ã¸æÎ»±àºÅ"});
			}
		}
		for (int i=0,n=kdtE1.getRowCount();i<n;i++) {
			if (com.kingdee.bos.ui.face.UIRuleUtil.isNull(kdtE1.getCell(i,"zlStartDate").getValue())) {
				throw new com.kingdee.eas.common.EASBizException(com.kingdee.eas.common.EASBizException.CHECKBLANK,new Object[] {"×âÁÞÆðÊ¼ÈÕÆÚ"});
			}
		}
		for (int i=0,n=kdtE1.getRowCount();i<n;i++) {
			if (com.kingdee.bos.ui.face.UIRuleUtil.isNull(kdtE1.getCell(i,"zlEndDate").getValue())) {
				throw new com.kingdee.eas.common.EASBizException(com.kingdee.eas.common.EASBizException.CHECKBLANK,new Object[] {"×âÁÞµ½ÆÚÈÕÆÚ"});
			}
		}
		for (int i=0,n=kdtE1.getRowCount();i<n;i++) {
			if (com.kingdee.bos.ui.face.UIRuleUtil.isNull(kdtE1.getCell(i,"zlzq").getValue())) {
				throw new com.kingdee.eas.common.EASBizException(com.kingdee.eas.common.EASBizException.CHECKBLANK,new Object[] {"×âÁÞÖÜÆÚ/ÔÂ"});
			}
		}
		for (int i=0,n=kdtE1.getRowCount();i<n;i++) {
			if (com.kingdee.bos.ui.face.UIRuleUtil.isNull(kdtE1.getCell(i,"zlAmount").getValue())) {
				throw new com.kingdee.eas.common.EASBizException(com.kingdee.eas.common.EASBizException.CHECKBLANK,new Object[] {"×âÁÞ·Ñ"});
			}
		}
		for (int i=0,n=kdtE2.getRowCount();i<n;i++) {
			if (com.kingdee.bos.ui.face.UIRuleUtil.isNull(kdtE2.getCell(i,"ggw").getValue())) {
				throw new com.kingdee.eas.common.EASBizException(com.kingdee.eas.common.EASBizException.CHECKBLANK,new Object[] {"¹ã¸æÎ»±àºÅ"});
			}
		}
		for (int i=0,n=kdtE2.getRowCount();i<n;i++) {
			if (com.kingdee.bos.ui.face.UIRuleUtil.isNull(kdtE2.getCell(i,"recType").getValue())) {
				throw new com.kingdee.eas.common.EASBizException(com.kingdee.eas.common.EASBizException.CHECKBLANK,new Object[] {"ÊÕ¿îÀàÐÍ"});
			}
		}
		for (int i=0,n=kdtE2.getRowCount();i<n;i++) {
			if (com.kingdee.bos.ui.face.UIRuleUtil.isNull(kdtE2.getCell(i,"skAmount").getValue())) {
				throw new com.kingdee.eas.common.EASBizException(com.kingdee.eas.common.EASBizException.CHECKBLANK,new Object[] {"ÊÕ¿î½ð¶î"});
			}
		}
		for (int i=0,n=kdtE2.getRowCount();i<n;i++) {
			if (com.kingdee.bos.ui.face.UIRuleUtil.isNull(kdtE2.getCell(i,"rate").getValue())) {
				throw new com.kingdee.eas.common.EASBizException(com.kingdee.eas.common.EASBizException.CHECKBLANK,new Object[] {"Ë°ÂÊ(%)"});
			}
		}
		if (com.kingdee.bos.ui.face.UIRuleUtil.isNull(txtpp.getText())) {
			throw new com.kingdee.eas.common.EASBizException(com.kingdee.eas.common.EASBizException.CHECKBLANK,new Object[] {"Æ·ÅÆ"});
		}
		if (com.kingdee.bos.ui.face.UIRuleUtil.isNull(txthtNum.getText())) {
			throw new com.kingdee.eas.common.EASBizException(com.kingdee.eas.common.EASBizException.CHECKBLANK,new Object[] {"ºÏÍ¬ºÅ"});
		}
		if (com.kingdee.bos.ui.face.UIRuleUtil.isNull(zhlx.getSelectedItem())) {
			throw new com.kingdee.eas.common.EASBizException(com.kingdee.eas.common.EASBizException.CHECKBLANK,new Object[] {"×â»§/·Ç×â»§"});
		}
			super.beforeStoreFields(arg0);
		}

    /**
     * output getDetailTable method
     */
    protected KDTable getDetailTable() {
        return kdtE1;
	}
    /**
     * output applyDefaultValue method
     */
    protected void applyDefaultValue(IObjectValue vo) {        
		vo.put("djType","1");
vo.put("zhlx","zh");
        
    }        
	protected void setFieldsNull(com.kingdee.bos.dao.AbstractObjectValue arg0) {
		super.setFieldsNull(arg0);
		arg0.put("number",null);
	}

}