/**
 * output package name
 */
package com.kingdee.eas.custom.salarytemplate.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 AbstractWagesChromatographyEditUI extends com.kingdee.eas.hr.base.client.HRBillEditUI
{
    private static final Logger logger = CoreUIObject.getLogger(AbstractWagesChromatographyEditUI.class);
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contNumber;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contDescription;
    protected com.kingdee.bos.ctrl.kdf.table.KDTable kdtEntrys;
	protected com.kingdee.eas.framework.client.multiDetail.DetailPanel kdtEntrys_detailPanel = null;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contApplier;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contAdminOrg;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contApplyDate;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contBillState;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contaccountingstatus;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contAccountingfrequency;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contstatisticalyear;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contstatisticalmonth;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contcorporatename;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contstarttime;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contendtime;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contisitlocked;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contcalculationNumber;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contcalculationName;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer conttaxpayingcode;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contwithholdingcode;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contWithholdingName;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contstatus;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contbankName;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contbankcode;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contbankcardcode;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contexchangerate;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contOpeningProvince;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contopeningcity;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contnameofaccount;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contSalaryitemid;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contprojcetamount;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contpersonname;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contstaffno;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contidcardno;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtNumber;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtDescription;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtApplier;
    protected com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox prmtAdminOrg;
    protected com.kingdee.bos.ctrl.swing.KDDatePicker dpApplyDate;
    protected com.kingdee.bos.ctrl.swing.KDComboBox cbBillState;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtaccountingstatus;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtAccountingfrequency;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtstatisticalyear;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtstatisticalmonth;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtcorporatename;
    protected com.kingdee.bos.ctrl.swing.KDDatePicker pkstarttime;
    protected com.kingdee.bos.ctrl.swing.KDDatePicker pkendtime;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtisitlocked;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtcalculationNumber;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtcalculationName;
    protected com.kingdee.bos.ctrl.swing.KDTextField txttaxpayingcode;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtwithholdingcode;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtWithholdingName;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtstatus;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtbankName;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtbankcode;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtbankcardcode;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtexchangerate;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtOpeningProvince;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtopeningcity;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtnameofaccount;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtSalaryitemid;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtprojcetamount;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtpersonname;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtstaffno;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtidcardno;
    protected com.kingdee.eas.custom.salarytemplate.WagesChromatographyInfo editData = null;
    /**
     * output class constructor
     */
    public AbstractWagesChromatographyEditUI() throws Exception
    {
        super();
        this.defaultObjectName = "editData";
        jbInit();
        
        initUIP();
    }

    /**
     * output jbInit method
     */
    private void jbInit() throws Exception
    {
        this.resHelper = new ResourceBundleHelper(AbstractWagesChromatographyEditUI.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.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());
        //actionPrint
        actionPrint.setEnabled(true);
        actionPrint.setDaemonRun(false);

        actionPrint.putValue(ItemAction.ACCELERATOR_KEY, KeyStroke.getKeyStroke("ctrl P"));
        _tempStr = resHelper.getString("ActionPrint.SHORT_DESCRIPTION");
        actionPrint.putValue(ItemAction.SHORT_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionPrint.LONG_DESCRIPTION");
        actionPrint.putValue(ItemAction.LONG_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionPrint.NAME");
        actionPrint.putValue(ItemAction.NAME, _tempStr);
         this.actionPrint.addService(new com.kingdee.eas.framework.client.service.PermissionService());
         this.actionPrint.addService(new com.kingdee.eas.framework.client.service.NetFunctionService());
         this.actionPrint.addService(new com.kingdee.eas.framework.client.service.UserMonitorService());
        //actionPrintPreview
        actionPrintPreview.setEnabled(true);
        actionPrintPreview.setDaemonRun(false);

        actionPrintPreview.putValue(ItemAction.ACCELERATOR_KEY, KeyStroke.getKeyStroke("shift ctrl P"));
        _tempStr = resHelper.getString("ActionPrintPreview.SHORT_DESCRIPTION");
        actionPrintPreview.putValue(ItemAction.SHORT_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionPrintPreview.LONG_DESCRIPTION");
        actionPrintPreview.putValue(ItemAction.LONG_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionPrintPreview.NAME");
        actionPrintPreview.putValue(ItemAction.NAME, _tempStr);
         this.actionPrintPreview.addService(new com.kingdee.eas.framework.client.service.PermissionService());
         this.actionPrintPreview.addService(new com.kingdee.eas.framework.client.service.NetFunctionService());
         this.actionPrintPreview.addService(new com.kingdee.eas.framework.client.service.UserMonitorService());
        //actionAudit
        actionAudit.setEnabled(true);
        actionAudit.setDaemonRun(false);

        actionAudit.putValue(ItemAction.ACCELERATOR_KEY, KeyStroke.getKeyStroke("ctrl A"));
        _tempStr = resHelper.getString("ActionAudit.SHORT_DESCRIPTION");
        actionAudit.putValue(ItemAction.SHORT_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionAudit.LONG_DESCRIPTION");
        actionAudit.putValue(ItemAction.LONG_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionAudit.NAME");
        actionAudit.putValue(ItemAction.NAME, _tempStr);
         this.actionAudit.addService(new com.kingdee.eas.framework.client.service.PermissionService());
        //actionUnaudit
        actionUnaudit.setEnabled(true);
        actionUnaudit.setDaemonRun(false);

        actionUnaudit.putValue(ItemAction.ACCELERATOR_KEY, KeyStroke.getKeyStroke("ctrl U"));
        _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.addService(new com.kingdee.eas.framework.client.service.PermissionService());
        this.contNumber = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contDescription = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.kdtEntrys = new com.kingdee.bos.ctrl.kdf.table.KDTable();
        this.contApplier = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contAdminOrg = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contApplyDate = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contBillState = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contaccountingstatus = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contAccountingfrequency = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contstatisticalyear = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contstatisticalmonth = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contcorporatename = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contstarttime = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contendtime = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contisitlocked = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contcalculationNumber = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contcalculationName = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.conttaxpayingcode = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contwithholdingcode = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contWithholdingName = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contstatus = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contbankName = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contbankcode = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contbankcardcode = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contexchangerate = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contOpeningProvince = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contopeningcity = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contnameofaccount = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contSalaryitemid = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contprojcetamount = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contpersonname = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contstaffno = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contidcardno = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.txtNumber = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtDescription = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtApplier = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.prmtAdminOrg = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();
        this.dpApplyDate = new com.kingdee.bos.ctrl.swing.KDDatePicker();
        this.cbBillState = new com.kingdee.bos.ctrl.swing.KDComboBox();
        this.txtaccountingstatus = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtAccountingfrequency = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtstatisticalyear = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtstatisticalmonth = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtcorporatename = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.pkstarttime = new com.kingdee.bos.ctrl.swing.KDDatePicker();
        this.pkendtime = new com.kingdee.bos.ctrl.swing.KDDatePicker();
        this.txtisitlocked = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtcalculationNumber = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtcalculationName = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txttaxpayingcode = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtwithholdingcode = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtWithholdingName = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtstatus = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtbankName = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtbankcode = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtbankcardcode = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtexchangerate = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtOpeningProvince = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtopeningcity = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtnameofaccount = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtSalaryitemid = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtprojcetamount = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtpersonname = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtstaffno = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.txtidcardno = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.contNumber.setName("contNumber");
        this.contDescription.setName("contDescription");
        this.kdtEntrys.setName("kdtEntrys");
        this.contApplier.setName("contApplier");
        this.contAdminOrg.setName("contAdminOrg");
        this.contApplyDate.setName("contApplyDate");
        this.contBillState.setName("contBillState");
        this.contaccountingstatus.setName("contaccountingstatus");
        this.contAccountingfrequency.setName("contAccountingfrequency");
        this.contstatisticalyear.setName("contstatisticalyear");
        this.contstatisticalmonth.setName("contstatisticalmonth");
        this.contcorporatename.setName("contcorporatename");
        this.contstarttime.setName("contstarttime");
        this.contendtime.setName("contendtime");
        this.contisitlocked.setName("contisitlocked");
        this.contcalculationNumber.setName("contcalculationNumber");
        this.contcalculationName.setName("contcalculationName");
        this.conttaxpayingcode.setName("conttaxpayingcode");
        this.contwithholdingcode.setName("contwithholdingcode");
        this.contWithholdingName.setName("contWithholdingName");
        this.contstatus.setName("contstatus");
        this.contbankName.setName("contbankName");
        this.contbankcode.setName("contbankcode");
        this.contbankcardcode.setName("contbankcardcode");
        this.contexchangerate.setName("contexchangerate");
        this.contOpeningProvince.setName("contOpeningProvince");
        this.contopeningcity.setName("contopeningcity");
        this.contnameofaccount.setName("contnameofaccount");
        this.contSalaryitemid.setName("contSalaryitemid");
        this.contprojcetamount.setName("contprojcetamount");
        this.contpersonname.setName("contpersonname");
        this.contstaffno.setName("contstaffno");
        this.contidcardno.setName("contidcardno");
        this.txtNumber.setName("txtNumber");
        this.txtDescription.setName("txtDescription");
        this.txtApplier.setName("txtApplier");
        this.prmtAdminOrg.setName("prmtAdminOrg");
        this.dpApplyDate.setName("dpApplyDate");
        this.cbBillState.setName("cbBillState");
        this.txtaccountingstatus.setName("txtaccountingstatus");
        this.txtAccountingfrequency.setName("txtAccountingfrequency");
        this.txtstatisticalyear.setName("txtstatisticalyear");
        this.txtstatisticalmonth.setName("txtstatisticalmonth");
        this.txtcorporatename.setName("txtcorporatename");
        this.pkstarttime.setName("pkstarttime");
        this.pkendtime.setName("pkendtime");
        this.txtisitlocked.setName("txtisitlocked");
        this.txtcalculationNumber.setName("txtcalculationNumber");
        this.txtcalculationName.setName("txtcalculationName");
        this.txttaxpayingcode.setName("txttaxpayingcode");
        this.txtwithholdingcode.setName("txtwithholdingcode");
        this.txtWithholdingName.setName("txtWithholdingName");
        this.txtstatus.setName("txtstatus");
        this.txtbankName.setName("txtbankName");
        this.txtbankcode.setName("txtbankcode");
        this.txtbankcardcode.setName("txtbankcardcode");
        this.txtexchangerate.setName("txtexchangerate");
        this.txtOpeningProvince.setName("txtOpeningProvince");
        this.txtopeningcity.setName("txtopeningcity");
        this.txtnameofaccount.setName("txtnameofaccount");
        this.txtSalaryitemid.setName("txtSalaryitemid");
        this.txtprojcetamount.setName("txtprojcetamount");
        this.txtpersonname.setName("txtpersonname");
        this.txtstaffno.setName("txtstaffno");
        this.txtidcardno.setName("txtidcardno");
        // CoreUI		
        this.btnPrint.setVisible(false);		
        this.btnPrintPreview.setVisible(false);		
        this.menuItemPrint.setVisible(false);		
        this.menuItemPrintPreview.setVisible(false);		
        this.btnTraceUp.setVisible(false);		
        this.btnTraceDown.setVisible(false);		
        this.btnCreateFrom.setVisible(false);		
        this.btnAddLine.setVisible(false);		
        this.btnInsertLine.setVisible(false);		
        this.btnRemoveLine.setVisible(false);		
        this.btnAuditResult.setVisible(false);		
        this.separator1.setVisible(false);		
        this.menuItemCreateFrom.setVisible(false);		
        this.menuItemCopyFrom.setVisible(false);		
        this.separator3.setVisible(false);		
        this.menuItemTraceUp.setVisible(false);		
        this.menuItemTraceDown.setVisible(false);		
        this.menuItemAddLine.setVisible(false);		
        this.menuItemInsertLine.setVisible(false);		
        this.menuItemRemoveLine.setVisible(false);		
        this.menuItemViewSubmitProccess.setVisible(false);		
        this.menuItemViewDoProccess.setVisible(false);		
        this.menuItemAuditResult.setVisible(false);		
        this.contHROrg.setBoundLabelText(resHelper.getString("contHROrg.boundLabelText"));		
        this.contHROrg.setBoundLabelLength(90);		
        this.contHROrg.setBoundLabelUnderline(true);		
        this.contHROrg.setBoundLabelAlignment(7);		
        this.contHROrg.setVisible(true);		
        this.contApproveType.setBoundLabelText(resHelper.getString("contApproveType.boundLabelText"));		
        this.contApproveType.setBoundLabelLength(90);		
        this.contApproveType.setBoundLabelUnderline(true);		
        this.contApproveType.setBoundLabelAlignment(7);		
        this.contApproveType.setVisible(true);		
        this.prmtHROrg.setRequired(true);		
        this.prmtHROrg.setVisible(true);		
        this.prmtHROrg.setEnabled(true);		
        this.cbApproveType.setRequired(true);		
        this.cbApproveType.setVisible(true);		
        this.cbApproveType.setEnabled(true);
        this.btnAudit.setAction((IItemAction)ActionProxyFactory.getProxy(actionAudit, new Class[] { IItemAction.class }, getServiceContext()));		
        this.btnAudit.setText(resHelper.getString("btnAudit.text"));		
        this.btnAudit.setToolTipText(resHelper.getString("btnAudit.toolTipText"));		
        this.btnAudit.setIcon(com.kingdee.eas.util.client.EASResource.getIcon("imgTbtn_audit"));
        this.btnUnaudit.setAction((IItemAction)ActionProxyFactory.getProxy(actionUnaudit, new Class[] { IItemAction.class }, getServiceContext()));		
        this.btnUnaudit.setText(resHelper.getString("btnUnaudit.text"));		
        this.btnUnaudit.setIcon(com.kingdee.eas.util.client.EASResource.getIcon("imgTbtn_unaudit"));		
        this.btnUnaudit.setToolTipText(resHelper.getString("btnUnaudit.toolTipText"));		
        this.btnUnaudit.setVisible(false);
        this.menuItemAudit.setAction((IItemAction)ActionProxyFactory.getProxy(actionAudit, new Class[] { IItemAction.class }, getServiceContext()));		
        this.menuItemAudit.setText(resHelper.getString("menuItemAudit.text"));		
        this.menuItemAudit.setToolTipText(resHelper.getString("menuItemAudit.toolTipText"));		
        this.menuItemAudit.setMnemonic(65);		
        this.menuItemAudit.setIcon(com.kingdee.eas.util.client.EASResource.getIcon("imgTbtn_audit"));
        this.menuItemUnaudit.setAction((IItemAction)ActionProxyFactory.getProxy(actionUnaudit, new Class[] { IItemAction.class }, getServiceContext()));		
        this.menuItemUnaudit.setText(resHelper.getString("menuItemUnaudit.text"));		
        this.menuItemUnaudit.setToolTipText(resHelper.getString("menuItemUnaudit.toolTipText"));		
        this.menuItemUnaudit.setMnemonic(85);		
        this.menuItemUnaudit.setIcon(com.kingdee.eas.util.client.EASResource.getIcon("imgTbtn_unaudit"));		
        this.menuItemUnaudit.setVisible(false);
        // contNumber		
        this.contNumber.setBoundLabelText(resHelper.getString("contNumber.boundLabelText"));		
        this.contNumber.setBoundLabelLength(90);		
        this.contNumber.setBoundLabelUnderline(true);		
        this.contNumber.setBoundLabelAlignment(7);		
        this.contNumber.setVisible(true);
        // contDescription		
        this.contDescription.setBoundLabelText(resHelper.getString("contDescription.boundLabelText"));		
        this.contDescription.setBoundLabelLength(90);		
        this.contDescription.setBoundLabelUnderline(true);		
        this.contDescription.setBoundLabelAlignment(7);		
        this.contDescription.setVisible(true);
        // kdtEntrys
		String kdtEntrysStrXML = "<?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:Protection hidden=\"true\" /></c:Style><c:Style id=\"sCol1\"><c:Protection locked=\"true\" hidden=\"true\" /></c:Style><c:Style id=\"sCol2\"><c:Protection locked=\"true\" /></c:Style><c:Style id=\"sCol3\"><c:Protection locked=\"true\" /></c:Style><c:Style id=\"sCol4\"><c:Protection locked=\"true\" /></c:Style><c:Style id=\"sCol5\"><c:Protection locked=\"true\" /></c:Style><c:Style id=\"sCol6\"><c:NumberFormat>yyyy-mm-dd</c:NumberFormat></c:Style><c:Style id=\"sCol9\"><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=\"id\" 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=\"person\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"2\" t:styleID=\"sCol1\" /><t:Column t:key=\"empNumber\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"3\" t:styleID=\"sCol2\" /><t:Column t:key=\"empName\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"4\" t:styleID=\"sCol3\" /><t:Column t:key=\"position\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"9\" t:styleID=\"sCol4\" /><t:Column t:key=\"adminOrg\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"10\" t:styleID=\"sCol5\" /><t:Column t:key=\"bizDate\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"true\" t:index=\"14\" t:styleID=\"sCol6\" /><t:Column t:key=\"description\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"15\" /><t:Column t:key=\"personID\" 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=\"checkoutcycle\" 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{id}</t:Cell><t:Cell>$Resource{person}</t:Cell><t:Cell>$Resource{empNumber}</t:Cell><t:Cell>$Resource{empName}</t:Cell><t:Cell>$Resource{position}</t:Cell><t:Cell>$Resource{adminOrg}</t:Cell><t:Cell>$Resource{bizDate}</t:Cell><t:Cell>$Resource{description}</t:Cell><t:Cell>$Resource{personID}</t:Cell><t:Cell>$Resource{checkoutcycle}</t:Cell></t:Row></t:Head></t:Table><t:SheetOptions><t:MergeBlocks><t:Head /></t:MergeBlocks></t:SheetOptions></t:Sheet></Table></DocRoot>";
		
        this.kdtEntrys.setFormatXml(resHelper.translateString("kdtEntrys",kdtEntrysStrXML));
        this.kdtEntrys.addKDTEditListener(new com.kingdee.bos.ctrl.kdf.table.event.KDTEditAdapter() {
            public void editStopping(com.kingdee.bos.ctrl.kdf.table.event.KDTEditEvent e) {
                try {
                    kdtEntrys_editStopping(e);
                } catch(Exception exc) {
                    handUIException(exc);
                }
            }
            public void editStopped(com.kingdee.bos.ctrl.kdf.table.event.KDTEditEvent e) {
                try {
                    kdtEntrys_editStopped(e);
                } catch(Exception exc) {
                    handUIException(exc);
                }
            }
        });

                this.kdtEntrys.putBindContents("editData",new String[] {"id","person","person.number","person.name","position","adminOrg","bizDate","description","personID","checkoutcycle"});


        this.kdtEntrys.checkParsed();
        final KDBizPromptBox kdtEntrys_person_PromptBox = new KDBizPromptBox();
        kdtEntrys_person_PromptBox.setQueryInfo("com.kingdee.eas.basedata.person.app.PersonQuery");
        kdtEntrys_person_PromptBox.setVisible(true);
        kdtEntrys_person_PromptBox.setEditable(true);
        kdtEntrys_person_PromptBox.setDisplayFormat("$number$");
        kdtEntrys_person_PromptBox.setEditFormat("$number$");
        kdtEntrys_person_PromptBox.setCommitFormat("$number$");
        KDTDefaultCellEditor kdtEntrys_person_CellEditor = new KDTDefaultCellEditor(kdtEntrys_person_PromptBox);
        this.kdtEntrys.getColumn("person").setEditor(kdtEntrys_person_CellEditor);
        ObjectValueRender kdtEntrys_person_OVR = new ObjectValueRender();
        kdtEntrys_person_OVR.setFormat(new BizDataFormat("$name$"));
        this.kdtEntrys.getColumn("person").setRenderer(kdtEntrys_person_OVR);
        KDTextField kdtEntrys_empName_TextField = new KDTextField();
        kdtEntrys_empName_TextField.setName("kdtEntrys_empName_TextField");
        kdtEntrys_empName_TextField.setMaxLength(80);
        KDTDefaultCellEditor kdtEntrys_empName_CellEditor = new KDTDefaultCellEditor(kdtEntrys_empName_TextField);
        this.kdtEntrys.getColumn("empName").setEditor(kdtEntrys_empName_CellEditor);
        final KDBizPromptBox kdtEntrys_position_PromptBox = new KDBizPromptBox();
        kdtEntrys_position_PromptBox.setQueryInfo("com.kingdee.eas.basedata.org.app.PositionQuery");
        kdtEntrys_position_PromptBox.setVisible(true);
        kdtEntrys_position_PromptBox.setEditable(true);
        kdtEntrys_position_PromptBox.setDisplayFormat("$number$");
        kdtEntrys_position_PromptBox.setEditFormat("$number$");
        kdtEntrys_position_PromptBox.setCommitFormat("$number$");
        KDTDefaultCellEditor kdtEntrys_position_CellEditor = new KDTDefaultCellEditor(kdtEntrys_position_PromptBox);
        this.kdtEntrys.getColumn("position").setEditor(kdtEntrys_position_CellEditor);
        ObjectValueRender kdtEntrys_position_OVR = new ObjectValueRender();
        kdtEntrys_position_OVR.setFormat(new BizDataFormat("$name$"));
        this.kdtEntrys.getColumn("position").setRenderer(kdtEntrys_position_OVR);
        final KDBizPromptBox kdtEntrys_adminOrg_PromptBox = new KDBizPromptBox();
        kdtEntrys_adminOrg_PromptBox.setQueryInfo("com.kingdee.eas.basedata.org.app.AdminItemQuery");
        kdtEntrys_adminOrg_PromptBox.setVisible(true);
        kdtEntrys_adminOrg_PromptBox.setEditable(true);
        kdtEntrys_adminOrg_PromptBox.setDisplayFormat("$number$");
        kdtEntrys_adminOrg_PromptBox.setEditFormat("$number$");
        kdtEntrys_adminOrg_PromptBox.setCommitFormat("$number$");
        KDTDefaultCellEditor kdtEntrys_adminOrg_CellEditor = new KDTDefaultCellEditor(kdtEntrys_adminOrg_PromptBox);
        this.kdtEntrys.getColumn("adminOrg").setEditor(kdtEntrys_adminOrg_CellEditor);
        ObjectValueRender kdtEntrys_adminOrg_OVR = new ObjectValueRender();
        kdtEntrys_adminOrg_OVR.setFormat(new BizDataFormat("$name$"));
        this.kdtEntrys.getColumn("adminOrg").setRenderer(kdtEntrys_adminOrg_OVR);
        KDDatePicker kdtEntrys_bizDate_DatePicker = new KDDatePicker();
        kdtEntrys_bizDate_DatePicker.setName("kdtEntrys_bizDate_DatePicker");
        kdtEntrys_bizDate_DatePicker.setVisible(true);
        kdtEntrys_bizDate_DatePicker.setEditable(true);
        KDTDefaultCellEditor kdtEntrys_bizDate_CellEditor = new KDTDefaultCellEditor(kdtEntrys_bizDate_DatePicker);
        this.kdtEntrys.getColumn("bizDate").setEditor(kdtEntrys_bizDate_CellEditor);
        KDTextField kdtEntrys_description_TextField = new KDTextField();
        kdtEntrys_description_TextField.setName("kdtEntrys_description_TextField");
        kdtEntrys_description_TextField.setMaxLength(200);
        KDTDefaultCellEditor kdtEntrys_description_CellEditor = new KDTDefaultCellEditor(kdtEntrys_description_TextField);
        this.kdtEntrys.getColumn("description").setEditor(kdtEntrys_description_CellEditor);
        KDTextField kdtEntrys_personID_TextField = new KDTextField();
        kdtEntrys_personID_TextField.setName("kdtEntrys_personID_TextField");
        kdtEntrys_personID_TextField.setMaxLength(100);
        KDTDefaultCellEditor kdtEntrys_personID_CellEditor = new KDTDefaultCellEditor(kdtEntrys_personID_TextField);
        this.kdtEntrys.getColumn("personID").setEditor(kdtEntrys_personID_CellEditor);
        KDDatePicker kdtEntrys_checkoutcycle_DatePicker = new KDDatePicker();
        kdtEntrys_checkoutcycle_DatePicker.setName("kdtEntrys_checkoutcycle_DatePicker");
        kdtEntrys_checkoutcycle_DatePicker.setVisible(true);
        kdtEntrys_checkoutcycle_DatePicker.setEditable(true);
        KDTDefaultCellEditor kdtEntrys_checkoutcycle_CellEditor = new KDTDefaultCellEditor(kdtEntrys_checkoutcycle_DatePicker);
        this.kdtEntrys.getColumn("checkoutcycle").setEditor(kdtEntrys_checkoutcycle_CellEditor);
        // contApplier		
        this.contApplier.setBoundLabelText(resHelper.getString("contApplier.boundLabelText"));		
        this.contApplier.setBoundLabelLength(90);		
        this.contApplier.setBoundLabelUnderline(true);		
        this.contApplier.setBoundLabelAlignment(7);		
        this.contApplier.setVisible(true);
        // contAdminOrg		
        this.contAdminOrg.setBoundLabelText(resHelper.getString("contAdminOrg.boundLabelText"));		
        this.contAdminOrg.setBoundLabelLength(90);		
        this.contAdminOrg.setBoundLabelUnderline(true);		
        this.contAdminOrg.setBoundLabelAlignment(7);		
        this.contAdminOrg.setVisible(true);
        // contApplyDate		
        this.contApplyDate.setBoundLabelText(resHelper.getString("contApplyDate.boundLabelText"));		
        this.contApplyDate.setBoundLabelLength(90);		
        this.contApplyDate.setBoundLabelUnderline(true);		
        this.contApplyDate.setBoundLabelAlignment(7);		
        this.contApplyDate.setVisible(true);
        // contBillState		
        this.contBillState.setBoundLabelText(resHelper.getString("contBillState.boundLabelText"));		
        this.contBillState.setBoundLabelLength(90);		
        this.contBillState.setBoundLabelUnderline(true);		
        this.contBillState.setBoundLabelAlignment(7);		
        this.contBillState.setVisible(false);
        // contaccountingstatus		
        this.contaccountingstatus.setBoundLabelText(resHelper.getString("contaccountingstatus.boundLabelText"));		
        this.contaccountingstatus.setBoundLabelLength(100);		
        this.contaccountingstatus.setBoundLabelUnderline(true);		
        this.contaccountingstatus.setVisible(true);
        // contAccountingfrequency		
        this.contAccountingfrequency.setBoundLabelText(resHelper.getString("contAccountingfrequency.boundLabelText"));		
        this.contAccountingfrequency.setBoundLabelLength(100);		
        this.contAccountingfrequency.setBoundLabelUnderline(true);		
        this.contAccountingfrequency.setVisible(true);
        // contstatisticalyear		
        this.contstatisticalyear.setBoundLabelText(resHelper.getString("contstatisticalyear.boundLabelText"));		
        this.contstatisticalyear.setBoundLabelLength(100);		
        this.contstatisticalyear.setBoundLabelUnderline(true);		
        this.contstatisticalyear.setVisible(true);
        // contstatisticalmonth		
        this.contstatisticalmonth.setBoundLabelText(resHelper.getString("contstatisticalmonth.boundLabelText"));		
        this.contstatisticalmonth.setBoundLabelLength(100);		
        this.contstatisticalmonth.setBoundLabelUnderline(true);		
        this.contstatisticalmonth.setVisible(true);
        // contcorporatename		
        this.contcorporatename.setBoundLabelText(resHelper.getString("contcorporatename.boundLabelText"));		
        this.contcorporatename.setBoundLabelLength(100);		
        this.contcorporatename.setBoundLabelUnderline(true);		
        this.contcorporatename.setVisible(true);
        // contstarttime		
        this.contstarttime.setBoundLabelText(resHelper.getString("contstarttime.boundLabelText"));		
        this.contstarttime.setBoundLabelLength(100);		
        this.contstarttime.setBoundLabelUnderline(true);		
        this.contstarttime.setVisible(true);
        // contendtime		
        this.contendtime.setBoundLabelText(resHelper.getString("contendtime.boundLabelText"));		
        this.contendtime.setBoundLabelLength(100);		
        this.contendtime.setBoundLabelUnderline(true);		
        this.contendtime.setVisible(true);
        // contisitlocked		
        this.contisitlocked.setBoundLabelText(resHelper.getString("contisitlocked.boundLabelText"));		
        this.contisitlocked.setBoundLabelLength(100);		
        this.contisitlocked.setBoundLabelUnderline(true);		
        this.contisitlocked.setVisible(true);
        // contcalculationNumber		
        this.contcalculationNumber.setBoundLabelText(resHelper.getString("contcalculationNumber.boundLabelText"));		
        this.contcalculationNumber.setBoundLabelLength(100);		
        this.contcalculationNumber.setBoundLabelUnderline(true);		
        this.contcalculationNumber.setVisible(true);
        // contcalculationName		
        this.contcalculationName.setBoundLabelText(resHelper.getString("contcalculationName.boundLabelText"));		
        this.contcalculationName.setBoundLabelLength(100);		
        this.contcalculationName.setBoundLabelUnderline(true);		
        this.contcalculationName.setVisible(true);
        // conttaxpayingcode		
        this.conttaxpayingcode.setBoundLabelText(resHelper.getString("conttaxpayingcode.boundLabelText"));		
        this.conttaxpayingcode.setBoundLabelLength(100);		
        this.conttaxpayingcode.setBoundLabelUnderline(true);		
        this.conttaxpayingcode.setVisible(true);
        // contwithholdingcode		
        this.contwithholdingcode.setBoundLabelText(resHelper.getString("contwithholdingcode.boundLabelText"));		
        this.contwithholdingcode.setBoundLabelLength(100);		
        this.contwithholdingcode.setBoundLabelUnderline(true);		
        this.contwithholdingcode.setVisible(true);
        // contWithholdingName		
        this.contWithholdingName.setBoundLabelText(resHelper.getString("contWithholdingName.boundLabelText"));		
        this.contWithholdingName.setBoundLabelLength(100);		
        this.contWithholdingName.setBoundLabelUnderline(true);		
        this.contWithholdingName.setVisible(true);
        // contstatus		
        this.contstatus.setBoundLabelText(resHelper.getString("contstatus.boundLabelText"));		
        this.contstatus.setBoundLabelLength(100);		
        this.contstatus.setBoundLabelUnderline(true);		
        this.contstatus.setVisible(true);
        // contbankName		
        this.contbankName.setBoundLabelText(resHelper.getString("contbankName.boundLabelText"));		
        this.contbankName.setBoundLabelLength(100);		
        this.contbankName.setBoundLabelUnderline(true);		
        this.contbankName.setVisible(true);
        // contbankcode		
        this.contbankcode.setBoundLabelText(resHelper.getString("contbankcode.boundLabelText"));		
        this.contbankcode.setBoundLabelLength(100);		
        this.contbankcode.setBoundLabelUnderline(true);		
        this.contbankcode.setVisible(true);
        // contbankcardcode		
        this.contbankcardcode.setBoundLabelText(resHelper.getString("contbankcardcode.boundLabelText"));		
        this.contbankcardcode.setBoundLabelLength(100);		
        this.contbankcardcode.setBoundLabelUnderline(true);		
        this.contbankcardcode.setVisible(true);
        // contexchangerate		
        this.contexchangerate.setBoundLabelText(resHelper.getString("contexchangerate.boundLabelText"));		
        this.contexchangerate.setBoundLabelLength(100);		
        this.contexchangerate.setBoundLabelUnderline(true);		
        this.contexchangerate.setVisible(true);
        // contOpeningProvince		
        this.contOpeningProvince.setBoundLabelText(resHelper.getString("contOpeningProvince.boundLabelText"));		
        this.contOpeningProvince.setBoundLabelLength(100);		
        this.contOpeningProvince.setBoundLabelUnderline(true);		
        this.contOpeningProvince.setVisible(true);
        // contopeningcity		
        this.contopeningcity.setBoundLabelText(resHelper.getString("contopeningcity.boundLabelText"));		
        this.contopeningcity.setBoundLabelLength(100);		
        this.contopeningcity.setBoundLabelUnderline(true);		
        this.contopeningcity.setVisible(true);
        // contnameofaccount		
        this.contnameofaccount.setBoundLabelText(resHelper.getString("contnameofaccount.boundLabelText"));		
        this.contnameofaccount.setBoundLabelLength(100);		
        this.contnameofaccount.setBoundLabelUnderline(true);		
        this.contnameofaccount.setVisible(true);
        // contSalaryitemid		
        this.contSalaryitemid.setBoundLabelText(resHelper.getString("contSalaryitemid.boundLabelText"));		
        this.contSalaryitemid.setBoundLabelLength(100);		
        this.contSalaryitemid.setBoundLabelUnderline(true);		
        this.contSalaryitemid.setVisible(true);
        // contprojcetamount		
        this.contprojcetamount.setBoundLabelText(resHelper.getString("contprojcetamount.boundLabelText"));		
        this.contprojcetamount.setBoundLabelLength(100);		
        this.contprojcetamount.setBoundLabelUnderline(true);		
        this.contprojcetamount.setVisible(true);
        // contpersonname		
        this.contpersonname.setBoundLabelText(resHelper.getString("contpersonname.boundLabelText"));		
        this.contpersonname.setBoundLabelLength(100);		
        this.contpersonname.setBoundLabelUnderline(true);		
        this.contpersonname.setVisible(true);
        // contstaffno		
        this.contstaffno.setBoundLabelText(resHelper.getString("contstaffno.boundLabelText"));		
        this.contstaffno.setBoundLabelLength(100);		
        this.contstaffno.setBoundLabelUnderline(true);		
        this.contstaffno.setVisible(true);
        // contidcardno		
        this.contidcardno.setBoundLabelText(resHelper.getString("contidcardno.boundLabelText"));		
        this.contidcardno.setBoundLabelLength(100);		
        this.contidcardno.setBoundLabelUnderline(true);		
        this.contidcardno.setVisible(true);
        // txtNumber		
        this.txtNumber.setMaxLength(80);		
        this.txtNumber.setRequired(true);		
        this.txtNumber.setVisible(true);		
        this.txtNumber.setEnabled(true);		
        this.txtNumber.setHorizontalAlignment(2);
        // txtDescription		
        this.txtDescription.setMaxLength(200);		
        this.txtDescription.setVisible(true);		
        this.txtDescription.setEnabled(true);		
        this.txtDescription.setHorizontalAlignment(2);		
        this.txtDescription.setRequired(false);
        // txtApplier		
        this.txtApplier.setEnabled(false);		
        this.txtApplier.setMaxLength(80);		
        this.txtApplier.setVisible(true);		
        this.txtApplier.setHorizontalAlignment(2);		
        this.txtApplier.setRequired(false);
        // prmtAdminOrg		
        this.prmtAdminOrg.setRequired(true);		
        this.prmtAdminOrg.setVisible(true);		
        this.prmtAdminOrg.setEnabled(true);
        // dpApplyDate		
        this.dpApplyDate.setEnabled(false);		
        this.dpApplyDate.setVisible(true);		
        this.dpApplyDate.setRequired(false);
        // cbBillState		
        this.cbBillState.addItems(EnumUtils.getEnumList("com.kingdee.eas.hr.base.HRBillStateEnum").toArray());		
        this.cbBillState.setEnabled(false);		
        this.cbBillState.setVisible(false);		
        this.cbBillState.setRequired(false);
        // txtaccountingstatus		
        this.txtaccountingstatus.setVisible(true);		
        this.txtaccountingstatus.setHorizontalAlignment(2);		
        this.txtaccountingstatus.setMaxLength(100);		
        this.txtaccountingstatus.setRequired(false);
        // txtAccountingfrequency		
        this.txtAccountingfrequency.setVisible(true);		
        this.txtAccountingfrequency.setHorizontalAlignment(2);		
        this.txtAccountingfrequency.setMaxLength(100);		
        this.txtAccountingfrequency.setRequired(false);
        // txtstatisticalyear		
        this.txtstatisticalyear.setVisible(true);		
        this.txtstatisticalyear.setHorizontalAlignment(2);		
        this.txtstatisticalyear.setMaxLength(100);		
        this.txtstatisticalyear.setRequired(false);
        // txtstatisticalmonth		
        this.txtstatisticalmonth.setVisible(true);		
        this.txtstatisticalmonth.setHorizontalAlignment(2);		
        this.txtstatisticalmonth.setMaxLength(100);		
        this.txtstatisticalmonth.setRequired(false);
        // txtcorporatename		
        this.txtcorporatename.setVisible(true);		
        this.txtcorporatename.setHorizontalAlignment(2);		
        this.txtcorporatename.setMaxLength(100);		
        this.txtcorporatename.setRequired(false);
        // pkstarttime		
        this.pkstarttime.setVisible(true);		
        this.pkstarttime.setRequired(false);
        // pkendtime		
        this.pkendtime.setVisible(true);		
        this.pkendtime.setRequired(false);
        // txtisitlocked		
        this.txtisitlocked.setVisible(true);		
        this.txtisitlocked.setHorizontalAlignment(2);		
        this.txtisitlocked.setMaxLength(100);		
        this.txtisitlocked.setRequired(false);
        // txtcalculationNumber		
        this.txtcalculationNumber.setVisible(true);		
        this.txtcalculationNumber.setHorizontalAlignment(2);		
        this.txtcalculationNumber.setMaxLength(100);		
        this.txtcalculationNumber.setRequired(false);
        // txtcalculationName		
        this.txtcalculationName.setVisible(true);		
        this.txtcalculationName.setHorizontalAlignment(2);		
        this.txtcalculationName.setMaxLength(100);		
        this.txtcalculationName.setRequired(false);
        // txttaxpayingcode		
        this.txttaxpayingcode.setVisible(true);		
        this.txttaxpayingcode.setHorizontalAlignment(2);		
        this.txttaxpayingcode.setMaxLength(100);		
        this.txttaxpayingcode.setRequired(false);
        // txtwithholdingcode		
        this.txtwithholdingcode.setVisible(true);		
        this.txtwithholdingcode.setHorizontalAlignment(2);		
        this.txtwithholdingcode.setMaxLength(100);		
        this.txtwithholdingcode.setRequired(false);
        // txtWithholdingName		
        this.txtWithholdingName.setVisible(true);		
        this.txtWithholdingName.setHorizontalAlignment(2);		
        this.txtWithholdingName.setMaxLength(100);		
        this.txtWithholdingName.setRequired(false);
        // txtstatus		
        this.txtstatus.setVisible(true);		
        this.txtstatus.setHorizontalAlignment(2);		
        this.txtstatus.setMaxLength(100);		
        this.txtstatus.setRequired(false);
        // txtbankName		
        this.txtbankName.setVisible(true);		
        this.txtbankName.setHorizontalAlignment(2);		
        this.txtbankName.setMaxLength(100);		
        this.txtbankName.setRequired(false);
        // txtbankcode		
        this.txtbankcode.setVisible(true);		
        this.txtbankcode.setHorizontalAlignment(2);		
        this.txtbankcode.setMaxLength(100);		
        this.txtbankcode.setRequired(false);
        // txtbankcardcode		
        this.txtbankcardcode.setVisible(true);		
        this.txtbankcardcode.setHorizontalAlignment(2);		
        this.txtbankcardcode.setMaxLength(100);		
        this.txtbankcardcode.setRequired(false);
        // txtexchangerate		
        this.txtexchangerate.setVisible(true);		
        this.txtexchangerate.setHorizontalAlignment(2);		
        this.txtexchangerate.setMaxLength(100);		
        this.txtexchangerate.setRequired(false);
        // txtOpeningProvince		
        this.txtOpeningProvince.setVisible(true);		
        this.txtOpeningProvince.setHorizontalAlignment(2);		
        this.txtOpeningProvince.setMaxLength(100);		
        this.txtOpeningProvince.setRequired(false);
        // txtopeningcity		
        this.txtopeningcity.setVisible(true);		
        this.txtopeningcity.setHorizontalAlignment(2);		
        this.txtopeningcity.setMaxLength(100);		
        this.txtopeningcity.setRequired(false);
        // txtnameofaccount		
        this.txtnameofaccount.setVisible(true);		
        this.txtnameofaccount.setHorizontalAlignment(2);		
        this.txtnameofaccount.setMaxLength(100);		
        this.txtnameofaccount.setRequired(false);
        // txtSalaryitemid		
        this.txtSalaryitemid.setVisible(true);		
        this.txtSalaryitemid.setHorizontalAlignment(2);		
        this.txtSalaryitemid.setMaxLength(100);		
        this.txtSalaryitemid.setRequired(false);
        // txtprojcetamount		
        this.txtprojcetamount.setVisible(true);		
        this.txtprojcetamount.setHorizontalAlignment(2);		
        this.txtprojcetamount.setMaxLength(100);		
        this.txtprojcetamount.setRequired(false);
        // txtpersonname		
        this.txtpersonname.setVisible(true);		
        this.txtpersonname.setHorizontalAlignment(2);		
        this.txtpersonname.setMaxLength(100);		
        this.txtpersonname.setRequired(false);
        // txtstaffno		
        this.txtstaffno.setVisible(true);		
        this.txtstaffno.setHorizontalAlignment(2);		
        this.txtstaffno.setMaxLength(100);		
        this.txtstaffno.setRequired(false);
        // txtidcardno		
        this.txtidcardno.setVisible(true);		
        this.txtidcardno.setHorizontalAlignment(2);		
        this.txtidcardno.setMaxLength(100);		
        this.txtidcardno.setRequired(false);
        this.setFocusTraversalPolicy(new com.kingdee.bos.ui.UIFocusTraversalPolicy(new java.awt.Component[] {txtApplier,txtDescription,txtNumber,cbBillState,prmtAdminOrg,dpApplyDate,kdtEntrys,txtaccountingstatus,txtAccountingfrequency,txtstatisticalyear,txtstatisticalmonth,txtcorporatename,pkstarttime,pkendtime,txtisitlocked,txtcalculationNumber,txtcalculationName,txttaxpayingcode,txtwithholdingcode,txtWithholdingName,txtstatus,txtbankName,txtbankcode,txtbankcardcode,txtexchangerate,txtOpeningProvince,txtopeningcity,txtnameofaccount,txtSalaryitemid,txtprojcetamount,txtpersonname,txtstaffno,txtidcardno}));
        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(0, 0, 1013, 629));
        this.setLayout(new KDLayout());
        this.putClientProperty("OriginalBounds", new Rectangle(0, 0, 1013, 629));
        contHROrg.setBounds(new Rectangle(10, 10, 270, 19));
        this.add(contHROrg, new KDLayout.Constraints(10, 10, 270, 19, KDLayout.Constraints.ANCHOR_TOP | KDLayout.Constraints.ANCHOR_LEFT | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        contApproveType.setBounds(new Rectangle(732, 54, 270, 19));
        this.add(contApproveType, new KDLayout.Constraints(732, 54, 270, 19, KDLayout.Constraints.ANCHOR_TOP | KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT));
        contNumber.setBounds(new Rectangle(10, 32, 270, 19));
        this.add(contNumber, new KDLayout.Constraints(10, 32, 270, 19, KDLayout.Constraints.ANCHOR_TOP | KDLayout.Constraints.ANCHOR_LEFT | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        contDescription.setBounds(new Rectangle(376, 54, 270, 19));
        this.add(contDescription, new KDLayout.Constraints(376, 54, 270, 19, KDLayout.Constraints.ANCHOR_TOP | KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        kdtEntrys.setBounds(new Rectangle(10, 76, 993, 543));
        kdtEntrys_detailPanel = (com.kingdee.eas.framework.client.multiDetail.DetailPanel)com.kingdee.eas.framework.client.multiDetail.HMDUtils.buildDetail(this,dataBinder,kdtEntrys,new com.kingdee.eas.custom.salarytemplate.WagesChromatographyEntryInfo(),null,false);
        this.add(kdtEntrys_detailPanel, new KDLayout.Constraints(10, 76, 993, 543, KDLayout.Constraints.ANCHOR_TOP | KDLayout.Constraints.ANCHOR_BOTTOM | KDLayout.Constraints.ANCHOR_LEFT | KDLayout.Constraints.ANCHOR_RIGHT));
        contApplier.setBounds(new Rectangle(10, 54, 270, 19));
        this.add(contApplier, new KDLayout.Constraints(10, 54, 270, 19, KDLayout.Constraints.ANCHOR_TOP | KDLayout.Constraints.ANCHOR_LEFT | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        contAdminOrg.setBounds(new Rectangle(376, 32, 270, 19));
        this.add(contAdminOrg, new KDLayout.Constraints(376, 32, 270, 19, KDLayout.Constraints.ANCHOR_TOP | KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT_SCALE));
        contApplyDate.setBounds(new Rectangle(732, 32, 270, 19));
        this.add(contApplyDate, new KDLayout.Constraints(732, 32, 270, 19, KDLayout.Constraints.ANCHOR_TOP | KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT));
        contBillState.setBounds(new Rectangle(732, 10, 270, 19));
        this.add(contBillState, new KDLayout.Constraints(732, 10, 270, 19, KDLayout.Constraints.ANCHOR_TOP | KDLayout.Constraints.ANCHOR_LEFT_SCALE | KDLayout.Constraints.ANCHOR_RIGHT));
        contaccountingstatus.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contaccountingstatus, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contAccountingfrequency.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contAccountingfrequency, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contstatisticalyear.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contstatisticalyear, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contstatisticalmonth.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contstatisticalmonth, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contcorporatename.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contcorporatename, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contstarttime.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contstarttime, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contendtime.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contendtime, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contisitlocked.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contisitlocked, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contcalculationNumber.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contcalculationNumber, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contcalculationName.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contcalculationName, new KDLayout.Constraints(0, 0, 270, 19, 0));
        conttaxpayingcode.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(conttaxpayingcode, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contwithholdingcode.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contwithholdingcode, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contWithholdingName.setBounds(new Rectangle(315, 49, 270, 19));
        this.add(contWithholdingName, new KDLayout.Constraints(315, 49, 270, 19, 0));
        contstatus.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contstatus, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contbankName.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contbankName, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contbankcode.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contbankcode, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contbankcardcode.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contbankcardcode, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contexchangerate.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contexchangerate, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contOpeningProvince.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contOpeningProvince, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contopeningcity.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contopeningcity, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contnameofaccount.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contnameofaccount, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contSalaryitemid.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contSalaryitemid, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contprojcetamount.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contprojcetamount, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contpersonname.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contpersonname, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contstaffno.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contstaffno, new KDLayout.Constraints(0, 0, 270, 19, 0));
        contidcardno.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contidcardno, new KDLayout.Constraints(0, 0, 270, 19, 0));
        //contHROrg
        contHROrg.setBoundEditor(prmtHROrg);
        //contApproveType
        contApproveType.setBoundEditor(cbApproveType);
        //contNumber
        contNumber.setBoundEditor(txtNumber);
        //contDescription
        contDescription.setBoundEditor(txtDescription);
        //contApplier
        contApplier.setBoundEditor(txtApplier);
        //contAdminOrg
        contAdminOrg.setBoundEditor(prmtAdminOrg);
        //contApplyDate
        contApplyDate.setBoundEditor(dpApplyDate);
        //contBillState
        contBillState.setBoundEditor(cbBillState);
        //contaccountingstatus
        contaccountingstatus.setBoundEditor(txtaccountingstatus);
        //contAccountingfrequency
        contAccountingfrequency.setBoundEditor(txtAccountingfrequency);
        //contstatisticalyear
        contstatisticalyear.setBoundEditor(txtstatisticalyear);
        //contstatisticalmonth
        contstatisticalmonth.setBoundEditor(txtstatisticalmonth);
        //contcorporatename
        contcorporatename.setBoundEditor(txtcorporatename);
        //contstarttime
        contstarttime.setBoundEditor(pkstarttime);
        //contendtime
        contendtime.setBoundEditor(pkendtime);
        //contisitlocked
        contisitlocked.setBoundEditor(txtisitlocked);
        //contcalculationNumber
        contcalculationNumber.setBoundEditor(txtcalculationNumber);
        //contcalculationName
        contcalculationName.setBoundEditor(txtcalculationName);
        //conttaxpayingcode
        conttaxpayingcode.setBoundEditor(txttaxpayingcode);
        //contwithholdingcode
        contwithholdingcode.setBoundEditor(txtwithholdingcode);
        //contWithholdingName
        contWithholdingName.setBoundEditor(txtWithholdingName);
        //contstatus
        contstatus.setBoundEditor(txtstatus);
        //contbankName
        contbankName.setBoundEditor(txtbankName);
        //contbankcode
        contbankcode.setBoundEditor(txtbankcode);
        //contbankcardcode
        contbankcardcode.setBoundEditor(txtbankcardcode);
        //contexchangerate
        contexchangerate.setBoundEditor(txtexchangerate);
        //contOpeningProvince
        contOpeningProvince.setBoundEditor(txtOpeningProvince);
        //contopeningcity
        contopeningcity.setBoundEditor(txtopeningcity);
        //contnameofaccount
        contnameofaccount.setBoundEditor(txtnameofaccount);
        //contSalaryitemid
        contSalaryitemid.setBoundEditor(txtSalaryitemid);
        //contprojcetamount
        contprojcetamount.setBoundEditor(txtprojcetamount);
        //contpersonname
        contpersonname.setBoundEditor(txtpersonname);
        //contstaffno
        contstaffno.setBoundEditor(txtstaffno);
        //contidcardno
        contidcardno.setBoundEditor(txtidcardno);

    }


    /**
     * 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(menuItemMapping);
        menuFile.add(MenuItemAttachment);
        menuFile.add(kDSeparator2);
        menuFile.add(menuItemPageSetup);
        menuFile.add(menuItemPrint);
        menuFile.add(menuItemPrintPreview);
        menuFile.add(kDSeparator6);
        menuFile.add(kDSeparator3);
        menuFile.add(menuItemSendMail);
        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(menuItemColumnCopyAll);
        menuEdit.add(menuItemEnterToNextRow);
        menuEdit.add(menuItemColumnCopySelect);
        menuEdit.add(separatorEdit1);
        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);
        menuBiz.add(MenuItemPCVoucher);
        menuBiz.add(menuItemAudit);
        menuBiz.add(menuItemDelPCVoucher);
        menuBiz.add(menuItemUnaudit);
        menuBiz.add(menuItemPerson);
        //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(btnSave);
        this.toolBar.add(btnXunTong);
        this.toolBar.add(btnReset);
        this.toolBar.add(btnSubmit);
        this.toolBar.add(kDSeparatorCloud);
        this.toolBar.add(btnCopy);
        this.toolBar.add(btnRemove);
        this.toolBar.add(btnCancelCancel);
        this.toolBar.add(btnCancel);
        this.toolBar.add(btnAttachment);
        this.toolBar.add(separatorFW1);
        this.toolBar.add(btnPageSetup);
        this.toolBar.add(btnColumnCopyAll);
        this.toolBar.add(btnPrint);
        this.toolBar.add(btnColumnCopySelect);
        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(btnViewSignature);
        this.toolBar.add(separatorFW4);
        this.toolBar.add(separatorFW7);
        this.toolBar.add(btnCreateFrom);
        this.toolBar.add(btnCopyFrom);
        this.toolBar.add(btnNumberSign);
        this.toolBar.add(btnCreateTo);
        this.toolBar.add(separatorFW5);
        this.toolBar.add(separatorFW8);
        this.toolBar.add(btnAddLine);
        this.toolBar.add(btnInsertLine);
        this.toolBar.add(btnRemoveLine);
        this.toolBar.add(separatorFW6);
        this.toolBar.add(separatorFW9);
        this.toolBar.add(btnCopyLine);
        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);
        this.toolBar.add(btnPCVoucher);
        this.toolBar.add(btnAudit);
        this.toolBar.add(btnDelPCVoucher);
        this.toolBar.add(btnUnaudit);
        this.toolBar.add(btnPerson);


    }

	//Regiester control's property binding.
	private void registerBindings(){
		dataBinder.registerBinding("hrOrgUnit", com.kingdee.eas.basedata.org.HROrgUnitInfo.class, this.prmtHROrg, "data");
		dataBinder.registerBinding("approveType", com.kingdee.eas.hr.base.ApproveTypeEnum.class, this.cbApproveType, "selectedItem");
		dataBinder.registerBinding("entrys.id", com.kingdee.bos.util.BOSUuid.class, this.kdtEntrys, "id.text");
		dataBinder.registerBinding("entrys", com.kingdee.eas.custom.salarytemplate.WagesChromatographyEntryInfo.class, this.kdtEntrys, "userObject");
		dataBinder.registerBinding("entrys.bizDate", java.util.Date.class, this.kdtEntrys, "bizDate.text");
		dataBinder.registerBinding("entrys.description", String.class, this.kdtEntrys, "description.text");
		dataBinder.registerBinding("entrys.person", com.kingdee.eas.basedata.person.PersonInfo.class, this.kdtEntrys, "person.text");
		dataBinder.registerBinding("entrys.person.number", String.class, this.kdtEntrys, "empNumber.text");
		dataBinder.registerBinding("entrys.person.name", String.class, this.kdtEntrys, "empName.text");
		dataBinder.registerBinding("entrys.position", com.kingdee.eas.basedata.org.PositionInfo.class, this.kdtEntrys, "position.text");
		dataBinder.registerBinding("entrys.adminOrg", com.kingdee.eas.basedata.org.AdminOrgUnitInfo.class, this.kdtEntrys, "adminOrg.text");
		dataBinder.registerBinding("entrys.personID", String.class, this.kdtEntrys, "personID.text");
		dataBinder.registerBinding("entrys.checkoutcycle", java.util.Date.class, this.kdtEntrys, "checkoutcycle.text");
		dataBinder.registerBinding("number", String.class, this.txtNumber, "text");
		dataBinder.registerBinding("description", String.class, this.txtDescription, "text");
		dataBinder.registerBinding("applier.name", String.class, this.txtApplier, "text");
		dataBinder.registerBinding("adminOrg", com.kingdee.eas.basedata.org.AdminOrgUnitInfo.class, this.prmtAdminOrg, "data");
		dataBinder.registerBinding("applyDate", java.util.Date.class, this.dpApplyDate, "value");
		dataBinder.registerBinding("billState", com.kingdee.eas.hr.base.HRBillStateEnum.class, this.cbBillState, "selectedItem");
		dataBinder.registerBinding("accountingstatus", String.class, this.txtaccountingstatus, "text");
		dataBinder.registerBinding("Accountingfrequency", String.class, this.txtAccountingfrequency, "text");
		dataBinder.registerBinding("statisticalyear", String.class, this.txtstatisticalyear, "text");
		dataBinder.registerBinding("statisticalmonth", String.class, this.txtstatisticalmonth, "text");
		dataBinder.registerBinding("corporatename", String.class, this.txtcorporatename, "text");
		dataBinder.registerBinding("starttime", java.util.Date.class, this.pkstarttime, "value");
		dataBinder.registerBinding("endtime", java.util.Date.class, this.pkendtime, "value");
		dataBinder.registerBinding("isitlocked", String.class, this.txtisitlocked, "text");
		dataBinder.registerBinding("calculationNumber", String.class, this.txtcalculationNumber, "text");
		dataBinder.registerBinding("calculationName", String.class, this.txtcalculationName, "text");
		dataBinder.registerBinding("taxpayingcode", String.class, this.txttaxpayingcode, "text");
		dataBinder.registerBinding("withholdingcode", String.class, this.txtwithholdingcode, "text");
		dataBinder.registerBinding("WithholdingName", String.class, this.txtWithholdingName, "text");
		dataBinder.registerBinding("status", String.class, this.txtstatus, "text");
		dataBinder.registerBinding("bankName", String.class, this.txtbankName, "text");
		dataBinder.registerBinding("bankcode", String.class, this.txtbankcode, "text");
		dataBinder.registerBinding("bankcardcode", String.class, this.txtbankcardcode, "text");
		dataBinder.registerBinding("exchangerate", String.class, this.txtexchangerate, "text");
		dataBinder.registerBinding("OpeningProvince", String.class, this.txtOpeningProvince, "text");
		dataBinder.registerBinding("openingcity", String.class, this.txtopeningcity, "text");
		dataBinder.registerBinding("nameofaccount", String.class, this.txtnameofaccount, "text");
		dataBinder.registerBinding("Salaryitemid", String.class, this.txtSalaryitemid, "text");
		dataBinder.registerBinding("projcetamount", String.class, this.txtprojcetamount, "text");
		dataBinder.registerBinding("personname", String.class, this.txtpersonname, "text");
		dataBinder.registerBinding("staffno", String.class, this.txtstaffno, "text");
		dataBinder.registerBinding("idcardno", String.class, this.txtidcardno, "text");		
	}
	//Regiester UI State
	private void registerUIState(){		
	}
	public String getUIHandlerClassName() {
	    return "com.kingdee.eas.custom.salarytemplate.app.WagesChromatographyEditUIHandler";
	}
	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.txtApplier.requestFocusInWindow();
    }

	
	

    /**
     * output setDataObject method
     */
    public void setDataObject(IObjectValue dataObject)
    {
        IObjectValue ov = dataObject;        	    	
        super.setDataObject(ov);
        this.editData = (com.kingdee.eas.custom.salarytemplate.WagesChromatographyInfo)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("hrOrgUnit", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("approveType", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("entrys.id", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("entrys", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("entrys.bizDate", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("entrys.description", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("entrys.person", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("entrys.person.number", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("entrys.person.name", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("entrys.position", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("entrys.adminOrg", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("entrys.personID", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("entrys.checkoutcycle", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("number", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("description", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("applier.name", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("adminOrg", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("applyDate", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("billState", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("accountingstatus", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("Accountingfrequency", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("statisticalyear", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("statisticalmonth", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("corporatename", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("starttime", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("endtime", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("isitlocked", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("calculationNumber", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("calculationName", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("taxpayingcode", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("withholdingcode", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("WithholdingName", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("status", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("bankName", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("bankcode", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("bankcardcode", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("exchangerate", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("OpeningProvince", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("openingcity", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("nameofaccount", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("Salaryitemid", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("projcetamount", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("personname", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("staffno", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("idcardno", 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 kdtEntrys_editStopping method
     */
    protected void kdtEntrys_editStopping(com.kingdee.bos.ctrl.kdf.table.event.KDTEditEvent e) throws Exception
    {
    }

    /**
     * output kdtEntrys_editStopped method
     */
    protected void kdtEntrys_editStopped(com.kingdee.bos.ctrl.kdf.table.event.KDTEditEvent e) throws Exception
    {
    }

    /**
     * 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("hrOrgUnit.*"));
		}
		else{
        	sic.add(new SelectorItemInfo("hrOrgUnit.id"));
        	sic.add(new SelectorItemInfo("hrOrgUnit.number"));
        	sic.add(new SelectorItemInfo("hrOrgUnit.name"));
		}
        sic.add(new SelectorItemInfo("approveType"));
    	sic.add(new SelectorItemInfo("entrys.id"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("entrys.*"));
		}
		else{
		}
    	sic.add(new SelectorItemInfo("entrys.bizDate"));
    	sic.add(new SelectorItemInfo("entrys.description"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("entrys.person.*"));
		}
		else{
	    	sic.add(new SelectorItemInfo("entrys.person.id"));
			sic.add(new SelectorItemInfo("entrys.person.name"));
        	sic.add(new SelectorItemInfo("entrys.person.number"));
		}
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("entrys.position.*"));
		}
		else{
	    	sic.add(new SelectorItemInfo("entrys.position.id"));
			sic.add(new SelectorItemInfo("entrys.position.name"));
        	sic.add(new SelectorItemInfo("entrys.position.number"));
		}
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("entrys.adminOrg.*"));
		}
		else{
	    	sic.add(new SelectorItemInfo("entrys.adminOrg.id"));
			sic.add(new SelectorItemInfo("entrys.adminOrg.name"));
        	sic.add(new SelectorItemInfo("entrys.adminOrg.number"));
		}
    	sic.add(new SelectorItemInfo("entrys.personID"));
    	sic.add(new SelectorItemInfo("entrys.checkoutcycle"));
        sic.add(new SelectorItemInfo("number"));
        sic.add(new SelectorItemInfo("description"));
        sic.add(new SelectorItemInfo("applier.name"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("adminOrg.*"));
		}
		else{
        	sic.add(new SelectorItemInfo("adminOrg.id"));
        	sic.add(new SelectorItemInfo("adminOrg.number"));
        	sic.add(new SelectorItemInfo("adminOrg.name"));
		}
        sic.add(new SelectorItemInfo("applyDate"));
        sic.add(new SelectorItemInfo("billState"));
        sic.add(new SelectorItemInfo("accountingstatus"));
        sic.add(new SelectorItemInfo("Accountingfrequency"));
        sic.add(new SelectorItemInfo("statisticalyear"));
        sic.add(new SelectorItemInfo("statisticalmonth"));
        sic.add(new SelectorItemInfo("corporatename"));
        sic.add(new SelectorItemInfo("starttime"));
        sic.add(new SelectorItemInfo("endtime"));
        sic.add(new SelectorItemInfo("isitlocked"));
        sic.add(new SelectorItemInfo("calculationNumber"));
        sic.add(new SelectorItemInfo("calculationName"));
        sic.add(new SelectorItemInfo("taxpayingcode"));
        sic.add(new SelectorItemInfo("withholdingcode"));
        sic.add(new SelectorItemInfo("WithholdingName"));
        sic.add(new SelectorItemInfo("status"));
        sic.add(new SelectorItemInfo("bankName"));
        sic.add(new SelectorItemInfo("bankcode"));
        sic.add(new SelectorItemInfo("bankcardcode"));
        sic.add(new SelectorItemInfo("exchangerate"));
        sic.add(new SelectorItemInfo("OpeningProvince"));
        sic.add(new SelectorItemInfo("openingcity"));
        sic.add(new SelectorItemInfo("nameofaccount"));
        sic.add(new SelectorItemInfo("Salaryitemid"));
        sic.add(new SelectorItemInfo("projcetamount"));
        sic.add(new SelectorItemInfo("personname"));
        sic.add(new SelectorItemInfo("staffno"));
        sic.add(new SelectorItemInfo("idcardno"));
        return sic;
    }        
    	

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

    /**
     * output actionPrint_actionPerformed method
     */
    public void actionPrint_actionPerformed(ActionEvent e) throws Exception
    {
        ArrayList idList = new ArrayList();
    	if (editData != null && !StringUtils.isEmpty(editData.getString("id"))) {
    		idList.add(editData.getString("id"));
    	}
        if (idList == null || idList.size() == 0 || getTDQueryPK() == null || getTDFileName() == null)
            return;
        com.kingdee.bos.ctrl.kdf.data.impl.BOSQueryDelegate data = new com.kingdee.eas.framework.util.CommonDataProvider(idList,getTDQueryPK());
        com.kingdee.bos.ctrl.report.forapp.kdnote.client.KDNoteHelper appHlp = new com.kingdee.bos.ctrl.report.forapp.kdnote.client.KDNoteHelper();
        appHlp.print(getTDFileName(), data, javax.swing.SwingUtilities.getWindowAncestor(this));
    }
    	

    /**
     * output actionPrintPreview_actionPerformed method
     */
    public void actionPrintPreview_actionPerformed(ActionEvent e) throws Exception
    {
        ArrayList idList = new ArrayList();
        if (editData != null && !StringUtils.isEmpty(editData.getString("id"))) {
    		idList.add(editData.getString("id"));
    	}
        if (idList == null || idList.size() == 0 || getTDQueryPK() == null || getTDFileName() == null)
            return;
        com.kingdee.bos.ctrl.kdf.data.impl.BOSQueryDelegate data = new com.kingdee.eas.framework.util.CommonDataProvider(idList,getTDQueryPK());
        com.kingdee.bos.ctrl.report.forapp.kdnote.client.KDNoteHelper appHlp = new com.kingdee.bos.ctrl.report.forapp.kdnote.client.KDNoteHelper();
        appHlp.printPreview(getTDFileName(), data, javax.swing.SwingUtilities.getWindowAncestor(this));
    }
    	

    /**
     * output actionAudit_actionPerformed method
     */
    public void actionAudit_actionPerformed(ActionEvent e) throws Exception
    {
        super.actionAudit_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 prepareActionPrint(IItemAction itemAction) throws Exception {
			RequestContext request = super.prepareActionPrint(itemAction);		
		if (request != null) {
    		request.setClassName(getUIHandlerClassName());
		}
		return request;
    }
	
	public boolean isPrepareActionPrint() {
    	return false;
    }
	public RequestContext prepareActionPrintPreview(IItemAction itemAction) throws Exception {
			RequestContext request = super.prepareActionPrintPreview(itemAction);		
		if (request != null) {
    		request.setClassName(getUIHandlerClassName());
		}
		return request;
    }
	
	public boolean isPrepareActionPrintPreview() {
    	return false;
    }
	public RequestContext prepareActionAudit(IItemAction itemAction) throws Exception {
			RequestContext request = super.prepareActionAudit(itemAction);		
		if (request != null) {
    		request.setClassName(getUIHandlerClassName());
		}
		return request;
    }
	
	public boolean isPrepareActionAudit() {
    	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.salarytemplate.client", "WagesChromatographyEditUI");
    }
    /**
     * output isBindWorkFlow method
     */
    public boolean isBindWorkFlow()
    {
        return true;
    }

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

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

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


    	protected String getTDFileName() {
    	return "/bim/custom/salarytemplate/WagesChromatography";
	}
    protected IMetaDataPK getTDQueryPK() {
    	return new MetaDataPK("com.kingdee.eas.custom.salarytemplate.app.WagesChromatographyQuery");
	}
    

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

}