12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268 |
- /**
- * output package name
- */
- package com.kingdee.eas.custom.bill.salary.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 AbstractSalaryBagEditUI extends com.kingdee.eas.hr.base.client.HRBillEditUI
- {
- private static final Logger logger = CoreUIObject.getLogger(AbstractSalaryBagEditUI.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 contadminOrgUnit;
- protected com.kingdee.bos.ctrl.swing.KDLabelContainer contperson;
- protected com.kingdee.bos.ctrl.swing.KDLabelContainer contmoney;
- protected com.kingdee.bos.ctrl.swing.KDLabelContainer contstartDate;
- protected com.kingdee.bos.ctrl.swing.KDLabelContainer contendDate;
- protected com.kingdee.bos.ctrl.swing.KDLabelContainer contreissueDate;
- protected com.kingdee.bos.ctrl.swing.KDLabelContainer contstatus;
- 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.extendcontrols.KDBizPromptBox prmtadminOrgUnit;
- protected com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox prmtperson;
- protected com.kingdee.bos.ctrl.swing.KDFormattedTextField txtmoney;
- protected com.kingdee.bos.ctrl.swing.KDDatePicker pkstartDate;
- protected com.kingdee.bos.ctrl.swing.KDDatePicker pkendDate;
- protected com.kingdee.bos.ctrl.swing.KDDatePicker pkreissueDate;
- protected com.kingdee.bos.ctrl.swing.KDComboBox status;
- protected com.kingdee.eas.custom.bill.salary.SalaryBagInfo editData = null;
- /**
- * output class constructor
- */
- public AbstractSalaryBagEditUI() throws Exception
- {
- super();
- this.defaultObjectName = "editData";
- jbInit();
-
- initUIP();
- }
- /**
- * output jbInit method
- */
- private void jbInit() throws Exception
- {
- this.resHelper = new ResourceBundleHelper(AbstractSalaryBagEditUI.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.contadminOrgUnit = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
- this.contperson = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
- this.contmoney = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
- this.contstartDate = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
- this.contendDate = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
- this.contreissueDate = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
- this.contstatus = 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.prmtadminOrgUnit = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();
- this.prmtperson = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();
- this.txtmoney = new com.kingdee.bos.ctrl.swing.KDFormattedTextField();
- this.pkstartDate = new com.kingdee.bos.ctrl.swing.KDDatePicker();
- this.pkendDate = new com.kingdee.bos.ctrl.swing.KDDatePicker();
- this.pkreissueDate = new com.kingdee.bos.ctrl.swing.KDDatePicker();
- this.status = new com.kingdee.bos.ctrl.swing.KDComboBox();
- 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.contadminOrgUnit.setName("contadminOrgUnit");
- this.contperson.setName("contperson");
- this.contmoney.setName("contmoney");
- this.contstartDate.setName("contstartDate");
- this.contendDate.setName("contendDate");
- this.contreissueDate.setName("contreissueDate");
- this.contstatus.setName("contstatus");
- 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.prmtadminOrgUnit.setName("prmtadminOrgUnit");
- this.prmtperson.setName("prmtperson");
- this.txtmoney.setName("txtmoney");
- this.pkstartDate.setName("pkstartDate");
- this.pkendDate.setName("pkendDate");
- this.pkreissueDate.setName("pkreissueDate");
- this.status.setName("status");
- // 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:NumberFormat>yyyy-mm-dd</c:NumberFormat></c:Style><c:Style id=\"sCol3\"><c:NumberFormat>&date</c:NumberFormat></c:Style><c:Style id=\"sCol4\"><c:NumberFormat>&double</c:NumberFormat></c:Style><c:Style id=\"sCol5\"><c:NumberFormat>&double</c:NumberFormat></c:Style><c:Style id=\"sCol6\"><c:NumberFormat>&double</c:NumberFormat></c:Style><c:Style id=\"sCol7\"><c:NumberFormat>&double</c:NumberFormat></c:Style></Styles><Table id=\"KDTable\"><t:Sheet name=\"sheet1\"><t:Table t:selectMode=\"15\" t:mergeMode=\"0\" t:dataRequestMode=\"0\" t:pageRowCount=\"100\"><t:ColumnGroup><t:Column t:key=\"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=\"bizDate\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"true\" t:index=\"14\" t:styleID=\"sCol1\" /><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=\"months\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol3\" /><t:Column t:key=\"moneys\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol4\" /><t:Column t:key=\"beforeAmount\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol5\" /><t:Column t:key=\"reissueAmount\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol6\" /><t:Column t:key=\"amountPayable\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol7\" /></t: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{bizDate}</t:Cell><t:Cell>$Resource{description}</t:Cell><t:Cell>$Resource{months}</t:Cell><t:Cell>$Resource{moneys}</t:Cell><t:Cell>$Resource{beforeAmount}</t:Cell><t:Cell>$Resource{reissueAmount}</t:Cell><t:Cell>$Resource{amountPayable}</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","bizDate","description","months","moneys","beforeAmount","reissueAmount","amountPayable"});
- this.kdtEntrys.checkParsed();
- 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);
- KDDatePicker kdtEntrys_months_DatePicker = new KDDatePicker();
- kdtEntrys_months_DatePicker.setName("kdtEntrys_months_DatePicker");
- kdtEntrys_months_DatePicker.setVisible(true);
- kdtEntrys_months_DatePicker.setEditable(true);
- KDTDefaultCellEditor kdtEntrys_months_CellEditor = new KDTDefaultCellEditor(kdtEntrys_months_DatePicker);
- this.kdtEntrys.getColumn("months").setEditor(kdtEntrys_months_CellEditor);
- KDFormattedTextField kdtEntrys_moneys_TextField = new KDFormattedTextField();
- kdtEntrys_moneys_TextField.setName("kdtEntrys_moneys_TextField");
- kdtEntrys_moneys_TextField.setVisible(true);
- kdtEntrys_moneys_TextField.setEditable(true);
- kdtEntrys_moneys_TextField.setHorizontalAlignment(2);
- kdtEntrys_moneys_TextField.setDataType(1);
- kdtEntrys_moneys_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
- kdtEntrys_moneys_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
- kdtEntrys_moneys_TextField.setPrecision(10);
- KDTDefaultCellEditor kdtEntrys_moneys_CellEditor = new KDTDefaultCellEditor(kdtEntrys_moneys_TextField);
- this.kdtEntrys.getColumn("moneys").setEditor(kdtEntrys_moneys_CellEditor);
- KDFormattedTextField kdtEntrys_beforeAmount_TextField = new KDFormattedTextField();
- kdtEntrys_beforeAmount_TextField.setName("kdtEntrys_beforeAmount_TextField");
- kdtEntrys_beforeAmount_TextField.setVisible(true);
- kdtEntrys_beforeAmount_TextField.setEditable(true);
- kdtEntrys_beforeAmount_TextField.setHorizontalAlignment(2);
- kdtEntrys_beforeAmount_TextField.setDataType(1);
- kdtEntrys_beforeAmount_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
- kdtEntrys_beforeAmount_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
- kdtEntrys_beforeAmount_TextField.setPrecision(10);
- KDTDefaultCellEditor kdtEntrys_beforeAmount_CellEditor = new KDTDefaultCellEditor(kdtEntrys_beforeAmount_TextField);
- this.kdtEntrys.getColumn("beforeAmount").setEditor(kdtEntrys_beforeAmount_CellEditor);
- KDFormattedTextField kdtEntrys_reissueAmount_TextField = new KDFormattedTextField();
- kdtEntrys_reissueAmount_TextField.setName("kdtEntrys_reissueAmount_TextField");
- kdtEntrys_reissueAmount_TextField.setVisible(true);
- kdtEntrys_reissueAmount_TextField.setEditable(true);
- kdtEntrys_reissueAmount_TextField.setHorizontalAlignment(2);
- kdtEntrys_reissueAmount_TextField.setDataType(1);
- kdtEntrys_reissueAmount_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
- kdtEntrys_reissueAmount_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
- kdtEntrys_reissueAmount_TextField.setPrecision(10);
- KDTDefaultCellEditor kdtEntrys_reissueAmount_CellEditor = new KDTDefaultCellEditor(kdtEntrys_reissueAmount_TextField);
- this.kdtEntrys.getColumn("reissueAmount").setEditor(kdtEntrys_reissueAmount_CellEditor);
- KDFormattedTextField kdtEntrys_amountPayable_TextField = new KDFormattedTextField();
- kdtEntrys_amountPayable_TextField.setName("kdtEntrys_amountPayable_TextField");
- kdtEntrys_amountPayable_TextField.setVisible(true);
- kdtEntrys_amountPayable_TextField.setEditable(true);
- kdtEntrys_amountPayable_TextField.setHorizontalAlignment(2);
- kdtEntrys_amountPayable_TextField.setDataType(1);
- kdtEntrys_amountPayable_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
- kdtEntrys_amountPayable_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
- kdtEntrys_amountPayable_TextField.setPrecision(10);
- KDTDefaultCellEditor kdtEntrys_amountPayable_CellEditor = new KDTDefaultCellEditor(kdtEntrys_amountPayable_TextField);
- this.kdtEntrys.getColumn("amountPayable").setEditor(kdtEntrys_amountPayable_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);
- // contadminOrgUnit
- this.contadminOrgUnit.setBoundLabelText(resHelper.getString("contadminOrgUnit.boundLabelText"));
- this.contadminOrgUnit.setBoundLabelLength(100);
- this.contadminOrgUnit.setBoundLabelUnderline(true);
- this.contadminOrgUnit.setVisible(true);
- // contperson
- this.contperson.setBoundLabelText(resHelper.getString("contperson.boundLabelText"));
- this.contperson.setBoundLabelLength(100);
- this.contperson.setBoundLabelUnderline(true);
- this.contperson.setVisible(true);
- // contmoney
- this.contmoney.setBoundLabelText(resHelper.getString("contmoney.boundLabelText"));
- this.contmoney.setBoundLabelLength(100);
- this.contmoney.setBoundLabelUnderline(true);
- this.contmoney.setVisible(true);
- // contstartDate
- this.contstartDate.setBoundLabelText(resHelper.getString("contstartDate.boundLabelText"));
- this.contstartDate.setBoundLabelLength(100);
- this.contstartDate.setBoundLabelUnderline(true);
- this.contstartDate.setVisible(true);
- // contendDate
- this.contendDate.setBoundLabelText(resHelper.getString("contendDate.boundLabelText"));
- this.contendDate.setBoundLabelLength(100);
- this.contendDate.setBoundLabelUnderline(true);
- this.contendDate.setVisible(true);
- // contreissueDate
- this.contreissueDate.setBoundLabelText(resHelper.getString("contreissueDate.boundLabelText"));
- this.contreissueDate.setBoundLabelLength(100);
- this.contreissueDate.setBoundLabelUnderline(true);
- this.contreissueDate.setVisible(true);
- // contstatus
- this.contstatus.setBoundLabelText(resHelper.getString("contstatus.boundLabelText"));
- this.contstatus.setBoundLabelLength(100);
- this.contstatus.setBoundLabelUnderline(true);
- this.contstatus.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);
- // prmtadminOrgUnit
- this.prmtadminOrgUnit.setQueryInfo("com.kingdee.eas.basedata.org.app.AdminItemQuery");
- this.prmtadminOrgUnit.setVisible(true);
- this.prmtadminOrgUnit.setEditable(true);
- this.prmtadminOrgUnit.setDisplayFormat("$name$");
- this.prmtadminOrgUnit.setEditFormat("$number$");
- this.prmtadminOrgUnit.setCommitFormat("$number$");
- this.prmtadminOrgUnit.setRequired(true);
- setOrgF7(prmtadminOrgUnit,com.kingdee.eas.basedata.org.OrgType.getEnum("Admin"));
-
- // prmtperson
- this.prmtperson.setQueryInfo("com.kingdee.eas.basedata.person.app.PersonFilterQuery");
- this.prmtperson.setVisible(true);
- this.prmtperson.setEditable(true);
- this.prmtperson.setDisplayFormat("$name$");
- this.prmtperson.setEditFormat("$number$");
- this.prmtperson.setCommitFormat("$number$");
- this.prmtperson.setRequired(false);
- // txtmoney
- this.txtmoney.setVisible(true);
- this.txtmoney.setHorizontalAlignment(2);
- this.txtmoney.setDataType(1);
- this.txtmoney.setSupportedEmpty(true);
- this.txtmoney.setMinimumValue( new java.math.BigDecimal("-1.0E18"));
- this.txtmoney.setMaximumValue( new java.math.BigDecimal("1.0E18"));
- this.txtmoney.setPrecision(2);
- this.txtmoney.setRequired(false);
- // pkstartDate
- this.pkstartDate.setVisible(true);
- this.pkstartDate.setRequired(false);
- // pkendDate
- this.pkendDate.setVisible(true);
- this.pkendDate.setRequired(false);
- // pkreissueDate
- this.pkreissueDate.setVisible(true);
- this.pkreissueDate.setRequired(false);
- // status
- this.status.setVisible(true);
- this.status.addItems(EnumUtils.getEnumList("com.kingdee.eas.custom.enums.billStatusEnum").toArray());
- this.status.setRequired(false);
- this.setFocusTraversalPolicy(new com.kingdee.bos.ui.UIFocusTraversalPolicy(new java.awt.Component[] {txtApplier,txtDescription,txtNumber,cbBillState,prmtAdminOrg,dpApplyDate,kdtEntrys,prmtperson,txtmoney,pkstartDate,pkendDate,pkreissueDate,status}));
- 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.bill.salary.SalaryBagEntryInfo(),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));
- contadminOrgUnit.setBounds(new Rectangle(0, 0, 270, 19));
- this.add(contadminOrgUnit, new KDLayout.Constraints(0, 0, 270, 19, 0));
- contperson.setBounds(new Rectangle(0, 0, 270, 19));
- this.add(contperson, new KDLayout.Constraints(0, 0, 270, 19, 0));
- contmoney.setBounds(new Rectangle(0, 0, 270, 19));
- this.add(contmoney, new KDLayout.Constraints(0, 0, 270, 19, 0));
- contstartDate.setBounds(new Rectangle(0, 0, 270, 19));
- this.add(contstartDate, new KDLayout.Constraints(0, 0, 270, 19, 0));
- contendDate.setBounds(new Rectangle(0, 0, 270, 19));
- this.add(contendDate, new KDLayout.Constraints(0, 0, 270, 19, 0));
- contreissueDate.setBounds(new Rectangle(0, 0, 270, 19));
- this.add(contreissueDate, new KDLayout.Constraints(0, 0, 270, 19, 0));
- contstatus.setBounds(new Rectangle(0, 0, 270, 19));
- this.add(contstatus, 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);
- //contadminOrgUnit
- contadminOrgUnit.setBoundEditor(prmtadminOrgUnit);
- //contperson
- contperson.setBoundEditor(prmtperson);
- //contmoney
- contmoney.setBoundEditor(txtmoney);
- //contstartDate
- contstartDate.setBoundEditor(pkstartDate);
- //contendDate
- contendDate.setBoundEditor(pkendDate);
- //contreissueDate
- contreissueDate.setBoundEditor(pkreissueDate);
- //contstatus
- contstatus.setBoundEditor(status);
- }
- /**
- * 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.bill.salary.SalaryBagEntryInfo.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.months", java.util.Date.class, this.kdtEntrys, "months.text");
- dataBinder.registerBinding("entrys.moneys", java.math.BigDecimal.class, this.kdtEntrys, "moneys.text");
- dataBinder.registerBinding("entrys.beforeAmount", java.math.BigDecimal.class, this.kdtEntrys, "beforeAmount.text");
- dataBinder.registerBinding("entrys.reissueAmount", java.math.BigDecimal.class, this.kdtEntrys, "reissueAmount.text");
- dataBinder.registerBinding("entrys.amountPayable", java.math.BigDecimal.class, this.kdtEntrys, "amountPayable.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("adminOrgUnit", com.kingdee.eas.basedata.org.AdminOrgUnitInfo.class, this.prmtadminOrgUnit, "data");
- dataBinder.registerBinding("person", com.kingdee.eas.basedata.person.PersonInfo.class, this.prmtperson, "data");
- dataBinder.registerBinding("money", java.math.BigDecimal.class, this.txtmoney, "value");
- dataBinder.registerBinding("startDate", java.util.Date.class, this.pkstartDate, "value");
- dataBinder.registerBinding("endDate", java.util.Date.class, this.pkendDate, "value");
- dataBinder.registerBinding("reissueDate", java.util.Date.class, this.pkreissueDate, "value");
- dataBinder.registerBinding("status", com.kingdee.eas.custom.enums.billStatusEnum.class, this.status, "selectedItem");
- }
- //Regiester UI State
- private void registerUIState(){
- }
- public String getUIHandlerClassName() {
- return "com.kingdee.eas.custom.bill.salary.app.SalaryBagEditUIHandler";
- }
- 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.bill.salary.SalaryBagInfo)ov;
- }
- protected void removeByPK(IObjectPK pk) throws Exception {
- IObjectValue editData = this.editData;
- super.removeByPK(pk);
- recycleNumberByOrg(editData,"Admin",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());
- }
- }
- }
- protected com.kingdee.eas.basedata.org.OrgType getMainBizOrgType() {
- return com.kingdee.eas.basedata.org.OrgType.getEnum("Admin");
- }
- protected KDBizPromptBox getMainBizOrg() {
- return prmtadminOrgUnit;
- }
- /**
- * output loadFields method
- */
- public void loadFields()
- {
- setAutoNumberByOrg("Admin");
- 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.months", ValidateHelper.ON_SAVE);
- getValidateHelper().registerBindProperty("entrys.moneys", ValidateHelper.ON_SAVE);
- getValidateHelper().registerBindProperty("entrys.beforeAmount", ValidateHelper.ON_SAVE);
- getValidateHelper().registerBindProperty("entrys.reissueAmount", ValidateHelper.ON_SAVE);
- getValidateHelper().registerBindProperty("entrys.amountPayable", 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("adminOrgUnit", ValidateHelper.ON_SAVE);
- getValidateHelper().registerBindProperty("person", ValidateHelper.ON_SAVE);
- getValidateHelper().registerBindProperty("money", ValidateHelper.ON_SAVE);
- getValidateHelper().registerBindProperty("startDate", ValidateHelper.ON_SAVE);
- getValidateHelper().registerBindProperty("endDate", ValidateHelper.ON_SAVE);
- getValidateHelper().registerBindProperty("reissueDate", ValidateHelper.ON_SAVE);
- getValidateHelper().registerBindProperty("status", 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"));
- sic.add(new SelectorItemInfo("entrys.months"));
- sic.add(new SelectorItemInfo("entrys.moneys"));
- sic.add(new SelectorItemInfo("entrys.beforeAmount"));
- sic.add(new SelectorItemInfo("entrys.reissueAmount"));
- sic.add(new SelectorItemInfo("entrys.amountPayable"));
- 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"));
- if(selectorAll.equalsIgnoreCase("true"))
- {
- sic.add(new SelectorItemInfo("adminOrgUnit.*"));
- }
- else{
- sic.add(new SelectorItemInfo("adminOrgUnit.id"));
- sic.add(new SelectorItemInfo("adminOrgUnit.number"));
- sic.add(new SelectorItemInfo("adminOrgUnit.name"));
- }
- if(selectorAll.equalsIgnoreCase("true"))
- {
- sic.add(new SelectorItemInfo("person.*"));
- }
- else{
- sic.add(new SelectorItemInfo("person.id"));
- sic.add(new SelectorItemInfo("person.number"));
- sic.add(new SelectorItemInfo("person.name"));
- }
- sic.add(new SelectorItemInfo("money"));
- sic.add(new SelectorItemInfo("startDate"));
- sic.add(new SelectorItemInfo("endDate"));
- sic.add(new SelectorItemInfo("reissueDate"));
- sic.add(new SelectorItemInfo("status"));
- 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.bill.salary.client", "SalaryBagEditUI");
- }
- /**
- * output isBindWorkFlow method
- */
- public boolean isBindWorkFlow()
- {
- return true;
- }
- /**
- * output getEditUIName method
- */
- protected String getEditUIName()
- {
- return com.kingdee.eas.custom.bill.salary.client.SalaryBagEditUI.class.getName();
- }
- /**
- * output getBizInterface method
- */
- protected com.kingdee.eas.framework.ICoreBase getBizInterface() throws Exception
- {
- return com.kingdee.eas.custom.bill.salary.SalaryBagFactory.getRemoteInstance();
- }
- /**
- * output createNewData method
- */
- protected IObjectValue createNewData()
- {
- com.kingdee.eas.custom.bill.salary.SalaryBagInfo objectValue = new com.kingdee.eas.custom.bill.salary.SalaryBagInfo();
- if (com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit(com.kingdee.eas.basedata.org.OrgType.getEnum("Admin")) != null)
- objectValue.put("adminOrgUnit",com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit(com.kingdee.eas.basedata.org.OrgType.getEnum("Admin")));
-
- objectValue.setCreator((com.kingdee.eas.base.permission.UserInfo)(com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentUser()));
- return objectValue;
- }
- protected String getTDFileName() {
- return "/bim/custom/bill/salary/SalaryBag";
- }
- protected IMetaDataPK getTDQueryPK() {
- return new MetaDataPK("com.kingdee.eas.custom.bill.salary.app.SalaryBagQuery");
- }
-
- /**
- * output getDetailTable method
- */
- protected KDTable getDetailTable() {
- return kdtEntrys;
- }
- /**
- * output applyDefaultValue method
- */
- protected void applyDefaultValue(IObjectValue vo) {
- vo.put("status","1");
-
- }
- protected void setFieldsNull(com.kingdee.bos.dao.AbstractObjectValue arg0) {
- super.setFieldsNull(arg0);
- arg0.put("number",null);
- }
- }
|