|
|
@@ -46,33 +46,33 @@ import com.kingdee.bos.appframework.uip.UINavigator;
|
|
|
public abstract class AbstractApplicantBeisenEditUI extends com.kingdee.eas.framework.client.CoreBillEditUI
|
|
|
{
|
|
|
private static final Logger logger = CoreUIObject.getLogger(AbstractApplicantBeisenEditUI.class);
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDLabelContainer contCreator;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDLabelContainer contCreateTime;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDLabelContainer contLastUpdateUser;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDLabelContainer contLastUpdateTime;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDLabelContainer contNumber;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDLabelContainer contBizDate;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDLabelContainer contDescription;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDLabelContainer contAuditor;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDLabelContainer contcandidateId;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDLabelContainer contapplyId;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDLabelContainer contrecuritment;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDLabelContainer contsyncResult;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDLabelContainer contsyncStatus;
|
|
|
- protected com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox prmtCreator;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDDatePicker kDDateCreateTime;
|
|
|
- protected com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox prmtLastUpdateUser;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDDatePicker kDDateLastUpdateTime;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDTextField txtNumber;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDDatePicker pkBizDate;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDTextField txtDescription;
|
|
|
- protected com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox prmtAuditor;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDTextField txtcandidateId;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDTextField txtapplyId;
|
|
|
- protected com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox prmtrecuritment;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDScrollPane scrollPanesyncResult;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDTextArea txtsyncResult;
|
|
|
- protected com.kingdee.bos.ctrl.swing.KDComboBox syncStatus;
|
|
|
+ protected KDLabelContainer contCreator;
|
|
|
+ protected KDLabelContainer contCreateTime;
|
|
|
+ protected KDLabelContainer contLastUpdateUser;
|
|
|
+ protected KDLabelContainer contLastUpdateTime;
|
|
|
+ protected KDLabelContainer contNumber;
|
|
|
+ protected KDLabelContainer contBizDate;
|
|
|
+ protected KDLabelContainer contDescription;
|
|
|
+ protected KDLabelContainer contAuditor;
|
|
|
+ protected KDLabelContainer contcandidateId;
|
|
|
+ protected KDLabelContainer contapplyId;
|
|
|
+ protected KDLabelContainer contrecuritment;
|
|
|
+ protected KDLabelContainer contsyncResult;
|
|
|
+ protected KDLabelContainer contsyncStatus;
|
|
|
+ protected KDBizPromptBox prmtCreator;
|
|
|
+ protected KDDatePicker kDDateCreateTime;
|
|
|
+ protected KDBizPromptBox prmtLastUpdateUser;
|
|
|
+ protected KDDatePicker kDDateLastUpdateTime;
|
|
|
+ protected KDTextField txtNumber;
|
|
|
+ protected KDDatePicker pkBizDate;
|
|
|
+ protected KDTextField txtDescription;
|
|
|
+ protected KDBizPromptBox prmtAuditor;
|
|
|
+ protected KDTextField txtcandidateId;
|
|
|
+ protected KDTextField txtapplyId;
|
|
|
+ protected KDBizPromptBox prmtrecuritment;
|
|
|
+ protected KDScrollPane scrollPanesyncResult;
|
|
|
+ protected KDTextArea txtsyncResult;
|
|
|
+ protected KDComboBox syncStatus;
|
|
|
protected com.kingdee.eas.custom.recuritment.ApplicantBeisenInfo editData = null;
|
|
|
/**
|
|
|
* output class constructor
|
|
|
@@ -82,7 +82,7 @@ public abstract class AbstractApplicantBeisenEditUI extends com.kingdee.eas.fram
|
|
|
super();
|
|
|
this.defaultObjectName = "editData";
|
|
|
jbInit();
|
|
|
-
|
|
|
+
|
|
|
initUIP();
|
|
|
}
|
|
|
|
|
|
@@ -137,33 +137,33 @@ public abstract class AbstractApplicantBeisenEditUI extends com.kingdee.eas.fram
|
|
|
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());
|
|
|
- this.contCreator = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
|
|
|
- this.contCreateTime = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
|
|
|
- this.contLastUpdateUser = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
|
|
|
- this.contLastUpdateTime = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
|
|
|
- this.contNumber = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
|
|
|
- this.contBizDate = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
|
|
|
- this.contDescription = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
|
|
|
- this.contAuditor = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
|
|
|
- this.contcandidateId = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
|
|
|
- this.contapplyId = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
|
|
|
- this.contrecuritment = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
|
|
|
- this.contsyncResult = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
|
|
|
- this.contsyncStatus = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
|
|
|
- this.prmtCreator = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();
|
|
|
- this.kDDateCreateTime = new com.kingdee.bos.ctrl.swing.KDDatePicker();
|
|
|
- this.prmtLastUpdateUser = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();
|
|
|
- this.kDDateLastUpdateTime = new com.kingdee.bos.ctrl.swing.KDDatePicker();
|
|
|
- this.txtNumber = new com.kingdee.bos.ctrl.swing.KDTextField();
|
|
|
- this.pkBizDate = new com.kingdee.bos.ctrl.swing.KDDatePicker();
|
|
|
- this.txtDescription = new com.kingdee.bos.ctrl.swing.KDTextField();
|
|
|
- this.prmtAuditor = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();
|
|
|
- this.txtcandidateId = new com.kingdee.bos.ctrl.swing.KDTextField();
|
|
|
- this.txtapplyId = new com.kingdee.bos.ctrl.swing.KDTextField();
|
|
|
- this.prmtrecuritment = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();
|
|
|
- this.scrollPanesyncResult = new com.kingdee.bos.ctrl.swing.KDScrollPane();
|
|
|
- this.txtsyncResult = new com.kingdee.bos.ctrl.swing.KDTextArea();
|
|
|
- this.syncStatus = new com.kingdee.bos.ctrl.swing.KDComboBox();
|
|
|
+ this.contCreator = new KDLabelContainer();
|
|
|
+ this.contCreateTime = new KDLabelContainer();
|
|
|
+ this.contLastUpdateUser = new KDLabelContainer();
|
|
|
+ this.contLastUpdateTime = new KDLabelContainer();
|
|
|
+ this.contNumber = new KDLabelContainer();
|
|
|
+ this.contBizDate = new KDLabelContainer();
|
|
|
+ this.contDescription = new KDLabelContainer();
|
|
|
+ this.contAuditor = new KDLabelContainer();
|
|
|
+ this.contcandidateId = new KDLabelContainer();
|
|
|
+ this.contapplyId = new KDLabelContainer();
|
|
|
+ this.contrecuritment = new KDLabelContainer();
|
|
|
+ this.contsyncResult = new KDLabelContainer();
|
|
|
+ this.contsyncStatus = new KDLabelContainer();
|
|
|
+ this.prmtCreator = new KDBizPromptBox();
|
|
|
+ this.kDDateCreateTime = new KDDatePicker();
|
|
|
+ this.prmtLastUpdateUser = new KDBizPromptBox();
|
|
|
+ this.kDDateLastUpdateTime = new KDDatePicker();
|
|
|
+ this.txtNumber = new KDTextField();
|
|
|
+ this.pkBizDate = new KDDatePicker();
|
|
|
+ this.txtDescription = new KDTextField();
|
|
|
+ this.prmtAuditor = new KDBizPromptBox();
|
|
|
+ this.txtcandidateId = new KDTextField();
|
|
|
+ this.txtapplyId = new KDTextField();
|
|
|
+ this.prmtrecuritment = new KDBizPromptBox();
|
|
|
+ this.scrollPanesyncResult = new KDScrollPane();
|
|
|
+ this.txtsyncResult = new KDTextArea();
|
|
|
+ this.syncStatus = new KDComboBox();
|
|
|
this.contCreator.setName("contCreator");
|
|
|
this.contCreateTime.setName("contCreateTime");
|
|
|
this.contLastUpdateUser.setName("contLastUpdateUser");
|
|
|
@@ -191,140 +191,140 @@ public abstract class AbstractApplicantBeisenEditUI extends com.kingdee.eas.fram
|
|
|
this.scrollPanesyncResult.setName("scrollPanesyncResult");
|
|
|
this.txtsyncResult.setName("txtsyncResult");
|
|
|
this.syncStatus.setName("syncStatus");
|
|
|
- // CoreUI
|
|
|
- this.btnTraceUp.setVisible(false);
|
|
|
- this.btnTraceDown.setVisible(false);
|
|
|
- this.btnCreateTo.setVisible(true);
|
|
|
- this.btnAddLine.setVisible(false);
|
|
|
- this.btnCopyLine.setVisible(false);
|
|
|
- this.btnInsertLine.setVisible(false);
|
|
|
- this.btnRemoveLine.setVisible(false);
|
|
|
- this.btnAuditResult.setVisible(false);
|
|
|
- this.separator1.setVisible(false);
|
|
|
- this.menuItemCreateTo.setVisible(true);
|
|
|
- this.separator3.setVisible(false);
|
|
|
- this.menuItemTraceUp.setVisible(false);
|
|
|
- this.menuItemTraceDown.setVisible(false);
|
|
|
- this.menuTable1.setVisible(false);
|
|
|
- this.menuItemAddLine.setVisible(false);
|
|
|
- this.menuItemCopyLine.setVisible(false);
|
|
|
- this.menuItemInsertLine.setVisible(false);
|
|
|
- this.menuItemRemoveLine.setVisible(false);
|
|
|
- this.menuItemViewSubmitProccess.setVisible(false);
|
|
|
- this.menuItemViewDoProccess.setVisible(false);
|
|
|
+ // CoreUI
|
|
|
+ this.btnTraceUp.setVisible(false);
|
|
|
+ this.btnTraceDown.setVisible(false);
|
|
|
+ this.btnCreateTo.setVisible(true);
|
|
|
+ this.btnAddLine.setVisible(false);
|
|
|
+ this.btnCopyLine.setVisible(false);
|
|
|
+ this.btnInsertLine.setVisible(false);
|
|
|
+ this.btnRemoveLine.setVisible(false);
|
|
|
+ this.btnAuditResult.setVisible(false);
|
|
|
+ this.separator1.setVisible(false);
|
|
|
+ this.menuItemCreateTo.setVisible(true);
|
|
|
+ this.separator3.setVisible(false);
|
|
|
+ this.menuItemTraceUp.setVisible(false);
|
|
|
+ this.menuItemTraceDown.setVisible(false);
|
|
|
+ this.menuTable1.setVisible(false);
|
|
|
+ this.menuItemAddLine.setVisible(false);
|
|
|
+ this.menuItemCopyLine.setVisible(false);
|
|
|
+ this.menuItemInsertLine.setVisible(false);
|
|
|
+ this.menuItemRemoveLine.setVisible(false);
|
|
|
+ this.menuItemViewSubmitProccess.setVisible(false);
|
|
|
+ this.menuItemViewDoProccess.setVisible(false);
|
|
|
this.menuItemAuditResult.setVisible(false);
|
|
|
- // contCreator
|
|
|
- this.contCreator.setBoundLabelText(resHelper.getString("contCreator.boundLabelText"));
|
|
|
- this.contCreator.setBoundLabelLength(100);
|
|
|
- this.contCreator.setBoundLabelUnderline(true);
|
|
|
+ // contCreator
|
|
|
+ this.contCreator.setBoundLabelText(resHelper.getString("contCreator.boundLabelText"));
|
|
|
+ this.contCreator.setBoundLabelLength(100);
|
|
|
+ this.contCreator.setBoundLabelUnderline(true);
|
|
|
this.contCreator.setEnabled(false);
|
|
|
- // contCreateTime
|
|
|
- this.contCreateTime.setBoundLabelText(resHelper.getString("contCreateTime.boundLabelText"));
|
|
|
- this.contCreateTime.setBoundLabelLength(100);
|
|
|
- this.contCreateTime.setBoundLabelUnderline(true);
|
|
|
+ // contCreateTime
|
|
|
+ this.contCreateTime.setBoundLabelText(resHelper.getString("contCreateTime.boundLabelText"));
|
|
|
+ this.contCreateTime.setBoundLabelLength(100);
|
|
|
+ this.contCreateTime.setBoundLabelUnderline(true);
|
|
|
this.contCreateTime.setEnabled(false);
|
|
|
- // contLastUpdateUser
|
|
|
- this.contLastUpdateUser.setBoundLabelText(resHelper.getString("contLastUpdateUser.boundLabelText"));
|
|
|
- this.contLastUpdateUser.setBoundLabelLength(100);
|
|
|
- this.contLastUpdateUser.setBoundLabelUnderline(true);
|
|
|
- this.contLastUpdateUser.setEnabled(false);
|
|
|
+ // contLastUpdateUser
|
|
|
+ this.contLastUpdateUser.setBoundLabelText(resHelper.getString("contLastUpdateUser.boundLabelText"));
|
|
|
+ this.contLastUpdateUser.setBoundLabelLength(100);
|
|
|
+ this.contLastUpdateUser.setBoundLabelUnderline(true);
|
|
|
+ this.contLastUpdateUser.setEnabled(false);
|
|
|
this.contLastUpdateUser.setVisible(false);
|
|
|
- // contLastUpdateTime
|
|
|
- this.contLastUpdateTime.setBoundLabelText(resHelper.getString("contLastUpdateTime.boundLabelText"));
|
|
|
- this.contLastUpdateTime.setBoundLabelLength(100);
|
|
|
- this.contLastUpdateTime.setBoundLabelUnderline(true);
|
|
|
- this.contLastUpdateTime.setEnabled(false);
|
|
|
+ // contLastUpdateTime
|
|
|
+ this.contLastUpdateTime.setBoundLabelText(resHelper.getString("contLastUpdateTime.boundLabelText"));
|
|
|
+ this.contLastUpdateTime.setBoundLabelLength(100);
|
|
|
+ this.contLastUpdateTime.setBoundLabelUnderline(true);
|
|
|
+ this.contLastUpdateTime.setEnabled(false);
|
|
|
this.contLastUpdateTime.setVisible(false);
|
|
|
- // contNumber
|
|
|
- this.contNumber.setBoundLabelText(resHelper.getString("contNumber.boundLabelText"));
|
|
|
- this.contNumber.setBoundLabelLength(100);
|
|
|
+ // contNumber
|
|
|
+ this.contNumber.setBoundLabelText(resHelper.getString("contNumber.boundLabelText"));
|
|
|
+ this.contNumber.setBoundLabelLength(100);
|
|
|
this.contNumber.setBoundLabelUnderline(true);
|
|
|
- // contBizDate
|
|
|
- this.contBizDate.setBoundLabelText(resHelper.getString("contBizDate.boundLabelText"));
|
|
|
- this.contBizDate.setBoundLabelLength(100);
|
|
|
- this.contBizDate.setBoundLabelUnderline(true);
|
|
|
- this.contBizDate.setBoundLabelAlignment(7);
|
|
|
+ // contBizDate
|
|
|
+ this.contBizDate.setBoundLabelText(resHelper.getString("contBizDate.boundLabelText"));
|
|
|
+ this.contBizDate.setBoundLabelLength(100);
|
|
|
+ this.contBizDate.setBoundLabelUnderline(true);
|
|
|
+ this.contBizDate.setBoundLabelAlignment(7);
|
|
|
this.contBizDate.setVisible(true);
|
|
|
- // contDescription
|
|
|
- this.contDescription.setBoundLabelText(resHelper.getString("contDescription.boundLabelText"));
|
|
|
- this.contDescription.setBoundLabelLength(100);
|
|
|
+ // contDescription
|
|
|
+ this.contDescription.setBoundLabelText(resHelper.getString("contDescription.boundLabelText"));
|
|
|
+ this.contDescription.setBoundLabelLength(100);
|
|
|
this.contDescription.setBoundLabelUnderline(true);
|
|
|
- // contAuditor
|
|
|
- this.contAuditor.setBoundLabelText(resHelper.getString("contAuditor.boundLabelText"));
|
|
|
- this.contAuditor.setBoundLabelLength(100);
|
|
|
+ // contAuditor
|
|
|
+ this.contAuditor.setBoundLabelText(resHelper.getString("contAuditor.boundLabelText"));
|
|
|
+ this.contAuditor.setBoundLabelLength(100);
|
|
|
this.contAuditor.setBoundLabelUnderline(true);
|
|
|
- // contcandidateId
|
|
|
- this.contcandidateId.setBoundLabelText(resHelper.getString("contcandidateId.boundLabelText"));
|
|
|
- this.contcandidateId.setBoundLabelLength(100);
|
|
|
- this.contcandidateId.setBoundLabelUnderline(true);
|
|
|
+ // contcandidateId
|
|
|
+ this.contcandidateId.setBoundLabelText(resHelper.getString("contcandidateId.boundLabelText"));
|
|
|
+ this.contcandidateId.setBoundLabelLength(100);
|
|
|
+ this.contcandidateId.setBoundLabelUnderline(true);
|
|
|
this.contcandidateId.setVisible(true);
|
|
|
- // contapplyId
|
|
|
- this.contapplyId.setBoundLabelText(resHelper.getString("contapplyId.boundLabelText"));
|
|
|
- this.contapplyId.setBoundLabelLength(100);
|
|
|
- this.contapplyId.setBoundLabelUnderline(true);
|
|
|
+ // contapplyId
|
|
|
+ this.contapplyId.setBoundLabelText(resHelper.getString("contapplyId.boundLabelText"));
|
|
|
+ this.contapplyId.setBoundLabelLength(100);
|
|
|
+ this.contapplyId.setBoundLabelUnderline(true);
|
|
|
this.contapplyId.setVisible(true);
|
|
|
- // contrecuritment
|
|
|
- this.contrecuritment.setBoundLabelText(resHelper.getString("contrecuritment.boundLabelText"));
|
|
|
- this.contrecuritment.setBoundLabelLength(100);
|
|
|
- this.contrecuritment.setBoundLabelUnderline(true);
|
|
|
+ // contrecuritment
|
|
|
+ this.contrecuritment.setBoundLabelText(resHelper.getString("contrecuritment.boundLabelText"));
|
|
|
+ this.contrecuritment.setBoundLabelLength(100);
|
|
|
+ this.contrecuritment.setBoundLabelUnderline(true);
|
|
|
this.contrecuritment.setVisible(true);
|
|
|
- // contsyncResult
|
|
|
- this.contsyncResult.setBoundLabelText(resHelper.getString("contsyncResult.boundLabelText"));
|
|
|
- this.contsyncResult.setBoundLabelLength(100);
|
|
|
- this.contsyncResult.setBoundLabelUnderline(true);
|
|
|
+ // contsyncResult
|
|
|
+ this.contsyncResult.setBoundLabelText(resHelper.getString("contsyncResult.boundLabelText"));
|
|
|
+ this.contsyncResult.setBoundLabelLength(100);
|
|
|
+ this.contsyncResult.setBoundLabelUnderline(true);
|
|
|
this.contsyncResult.setVisible(true);
|
|
|
- // contsyncStatus
|
|
|
- this.contsyncStatus.setBoundLabelText(resHelper.getString("contsyncStatus.boundLabelText"));
|
|
|
- this.contsyncStatus.setBoundLabelLength(100);
|
|
|
- this.contsyncStatus.setBoundLabelUnderline(true);
|
|
|
+ // contsyncStatus
|
|
|
+ this.contsyncStatus.setBoundLabelText(resHelper.getString("contsyncStatus.boundLabelText"));
|
|
|
+ this.contsyncStatus.setBoundLabelLength(100);
|
|
|
+ this.contsyncStatus.setBoundLabelUnderline(true);
|
|
|
this.contsyncStatus.setVisible(true);
|
|
|
- // prmtCreator
|
|
|
+ // prmtCreator
|
|
|
this.prmtCreator.setEnabled(false);
|
|
|
- // kDDateCreateTime
|
|
|
- this.kDDateCreateTime.setTimeEnabled(true);
|
|
|
+ // kDDateCreateTime
|
|
|
+ this.kDDateCreateTime.setTimeEnabled(true);
|
|
|
this.kDDateCreateTime.setEnabled(false);
|
|
|
- // prmtLastUpdateUser
|
|
|
+ // prmtLastUpdateUser
|
|
|
this.prmtLastUpdateUser.setEnabled(false);
|
|
|
- // kDDateLastUpdateTime
|
|
|
- this.kDDateLastUpdateTime.setTimeEnabled(true);
|
|
|
+ // kDDateLastUpdateTime
|
|
|
+ this.kDDateLastUpdateTime.setTimeEnabled(true);
|
|
|
this.kDDateLastUpdateTime.setEnabled(false);
|
|
|
- // txtNumber
|
|
|
+ // txtNumber
|
|
|
this.txtNumber.setMaxLength(80);
|
|
|
- // pkBizDate
|
|
|
- this.pkBizDate.setVisible(true);
|
|
|
+ // pkBizDate
|
|
|
+ this.pkBizDate.setVisible(true);
|
|
|
this.pkBizDate.setEnabled(true);
|
|
|
- // txtDescription
|
|
|
+ // txtDescription
|
|
|
this.txtDescription.setMaxLength(80);
|
|
|
- // prmtAuditor
|
|
|
+ // prmtAuditor
|
|
|
this.prmtAuditor.setEnabled(false);
|
|
|
- // txtcandidateId
|
|
|
- this.txtcandidateId.setVisible(true);
|
|
|
- this.txtcandidateId.setHorizontalAlignment(2);
|
|
|
- this.txtcandidateId.setMaxLength(100);
|
|
|
+ // txtcandidateId
|
|
|
+ this.txtcandidateId.setVisible(true);
|
|
|
+ this.txtcandidateId.setHorizontalAlignment(2);
|
|
|
+ this.txtcandidateId.setMaxLength(100);
|
|
|
this.txtcandidateId.setRequired(false);
|
|
|
- // txtapplyId
|
|
|
- this.txtapplyId.setVisible(true);
|
|
|
- this.txtapplyId.setHorizontalAlignment(2);
|
|
|
- this.txtapplyId.setMaxLength(100);
|
|
|
+ // txtapplyId
|
|
|
+ this.txtapplyId.setVisible(true);
|
|
|
+ this.txtapplyId.setHorizontalAlignment(2);
|
|
|
+ this.txtapplyId.setMaxLength(100);
|
|
|
this.txtapplyId.setRequired(false);
|
|
|
- // prmtrecuritment
|
|
|
- this.prmtrecuritment.setQueryInfo("com.kingdee.eas.basedata.person.app.PersonQuery");
|
|
|
- this.prmtrecuritment.setVisible(true);
|
|
|
- this.prmtrecuritment.setEditable(true);
|
|
|
- this.prmtrecuritment.setDisplayFormat("$gender$");
|
|
|
- this.prmtrecuritment.setEditFormat("$number$");
|
|
|
- this.prmtrecuritment.setCommitFormat("$number$");
|
|
|
+ // prmtrecuritment
|
|
|
+ this.prmtrecuritment.setQueryInfo("com.kingdee.eas.basedata.person.app.PersonQuery");
|
|
|
+ this.prmtrecuritment.setVisible(true);
|
|
|
+ this.prmtrecuritment.setEditable(true);
|
|
|
+ this.prmtrecuritment.setDisplayFormat("$gender$");
|
|
|
+ this.prmtrecuritment.setEditFormat("$number$");
|
|
|
+ this.prmtrecuritment.setCommitFormat("$number$");
|
|
|
this.prmtrecuritment.setRequired(false);
|
|
|
// scrollPanesyncResult
|
|
|
- // txtsyncResult
|
|
|
- this.txtsyncResult.setVisible(true);
|
|
|
- this.txtsyncResult.setRequired(false);
|
|
|
+ // txtsyncResult
|
|
|
+ this.txtsyncResult.setVisible(true);
|
|
|
+ this.txtsyncResult.setRequired(false);
|
|
|
this.txtsyncResult.setMaxLength(2000);
|
|
|
- // syncStatus
|
|
|
- this.syncStatus.setVisible(true);
|
|
|
- this.syncStatus.addItems(EnumUtils.getEnumList("com.kingdee.eas.ma.biz.BizExecuteResultEnum").toArray());
|
|
|
+ // syncStatus
|
|
|
+ this.syncStatus.setVisible(true);
|
|
|
+ this.syncStatus.addItems(EnumUtils.getEnumList("com.kingdee.eas.ma.biz.BizExecuteResultEnum").toArray());
|
|
|
this.syncStatus.setRequired(false);
|
|
|
- this.setFocusTraversalPolicy(new com.kingdee.bos.ui.UIFocusTraversalPolicy(new java.awt.Component[] {txtcandidateId,txtapplyId,prmtrecuritment,txtsyncResult,syncStatus}));
|
|
|
+ this.setFocusTraversalPolicy(new com.kingdee.bos.ui.UIFocusTraversalPolicy(new Component[] {txtcandidateId,txtapplyId,prmtrecuritment,txtsyncResult,syncStatus}));
|
|
|
this.setFocusCycleRoot(true);
|
|
|
//Register control's property binding
|
|
|
registerBindings();
|
|
|
@@ -333,13 +333,13 @@ public abstract class AbstractApplicantBeisenEditUI extends com.kingdee.eas.fram
|
|
|
|
|
|
}
|
|
|
|
|
|
- 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();
|
|
|
+ public KDToolBar[] getUIMultiToolBar(){
|
|
|
+ java.util.List list = new ArrayList();
|
|
|
+ KDToolBar[] bars = super.getUIMultiToolBar();
|
|
|
if (bars != null) {
|
|
|
- list.addAll(java.util.Arrays.asList(bars));
|
|
|
+ list.addAll(Arrays.asList(bars));
|
|
|
}
|
|
|
- return (com.kingdee.bos.ctrl.swing.KDToolBar[])list.toArray(new com.kingdee.bos.ctrl.swing.KDToolBar[list.size()]);
|
|
|
+ return (KDToolBar[])list.toArray(new KDToolBar[list.size()]);
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -587,17 +587,17 @@ public abstract class AbstractApplicantBeisenEditUI extends com.kingdee.eas.fram
|
|
|
dataBinder.registerBinding("lastUpdateUser", com.kingdee.eas.base.permission.UserInfo.class, this.prmtLastUpdateUser, "data");
|
|
|
dataBinder.registerBinding("lastUpdateTime", java.sql.Timestamp.class, this.kDDateLastUpdateTime, "value");
|
|
|
dataBinder.registerBinding("number", String.class, this.txtNumber, "text");
|
|
|
- dataBinder.registerBinding("bizDate", java.util.Date.class, this.pkBizDate, "value");
|
|
|
+ dataBinder.registerBinding("bizDate", Date.class, this.pkBizDate, "value");
|
|
|
dataBinder.registerBinding("description", String.class, this.txtDescription, "text");
|
|
|
dataBinder.registerBinding("auditor", com.kingdee.eas.base.permission.UserInfo.class, this.prmtAuditor, "data");
|
|
|
dataBinder.registerBinding("candidateId", String.class, this.txtcandidateId, "text");
|
|
|
dataBinder.registerBinding("applyId", String.class, this.txtapplyId, "text");
|
|
|
dataBinder.registerBinding("recuritment", com.kingdee.eas.basedata.person.PersonInfo.class, this.prmtrecuritment, "data");
|
|
|
dataBinder.registerBinding("syncResult", String.class, this.txtsyncResult, "text");
|
|
|
- dataBinder.registerBinding("syncStatus", com.kingdee.eas.ma.biz.BizExecuteResultEnum.class, this.syncStatus, "selectedItem");
|
|
|
+ dataBinder.registerBinding("syncStatus", com.kingdee.eas.ma.biz.BizExecuteResultEnum.class, this.syncStatus, "selectedItem");
|
|
|
}
|
|
|
//Regiester UI State
|
|
|
- private void registerUIState(){
|
|
|
+ private void registerUIState(){
|
|
|
}
|
|
|
public String getUIHandlerClassName() {
|
|
|
return "com.kingdee.eas.custom.recuritment.app.ApplicantBeisenEditUIHandler";
|
|
|
@@ -611,7 +611,7 @@ public abstract class AbstractApplicantBeisenEditUI extends com.kingdee.eas.fram
|
|
|
}
|
|
|
return clientHanlder;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
public boolean isPrepareInit() {
|
|
|
return false;
|
|
|
}
|
|
|
@@ -629,15 +629,15 @@ public abstract class AbstractApplicantBeisenEditUI extends com.kingdee.eas.fram
|
|
|
this.txtcandidateId.requestFocusInWindow();
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* output setDataObject method
|
|
|
*/
|
|
|
public void setDataObject(IObjectValue dataObject)
|
|
|
{
|
|
|
- IObjectValue ov = dataObject;
|
|
|
+ IObjectValue ov = dataObject;
|
|
|
super.setDataObject(ov);
|
|
|
this.editData = (com.kingdee.eas.custom.recuritment.ApplicantBeisenInfo)ov;
|
|
|
}
|
|
|
@@ -646,21 +646,21 @@ public abstract class AbstractApplicantBeisenEditUI extends com.kingdee.eas.fram
|
|
|
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;
|
|
|
+ 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);
|
|
|
+ iCodingRuleManager.recycleNumber(editData,companyID,number);
|
|
|
}
|
|
|
}
|
|
|
catch (Exception e)
|
|
|
@@ -692,8 +692,8 @@ public abstract class AbstractApplicantBeisenEditUI extends com.kingdee.eas.fram
|
|
|
handUIException(e);
|
|
|
this.oldData = editData;
|
|
|
com.kingdee.eas.util.SysUtil.abort();
|
|
|
- }
|
|
|
- }
|
|
|
+ }
|
|
|
+ }
|
|
|
else {
|
|
|
if (editData.getNumber().trim().length() > 0) {
|
|
|
txtNumber.setText(editData.getNumber());
|
|
|
@@ -729,19 +729,19 @@ public abstract class AbstractApplicantBeisenEditUI extends com.kingdee.eas.fram
|
|
|
*/
|
|
|
protected void registerValidator() {
|
|
|
getValidateHelper().setCustomValidator( getValidator() );
|
|
|
- getValidateHelper().registerBindProperty("creator", ValidateHelper.ON_SAVE);
|
|
|
- getValidateHelper().registerBindProperty("createTime", ValidateHelper.ON_SAVE);
|
|
|
- getValidateHelper().registerBindProperty("lastUpdateUser", ValidateHelper.ON_SAVE);
|
|
|
- getValidateHelper().registerBindProperty("lastUpdateTime", ValidateHelper.ON_SAVE);
|
|
|
- getValidateHelper().registerBindProperty("number", ValidateHelper.ON_SAVE);
|
|
|
- getValidateHelper().registerBindProperty("bizDate", ValidateHelper.ON_SAVE);
|
|
|
- getValidateHelper().registerBindProperty("description", ValidateHelper.ON_SAVE);
|
|
|
- getValidateHelper().registerBindProperty("auditor", ValidateHelper.ON_SAVE);
|
|
|
- getValidateHelper().registerBindProperty("candidateId", ValidateHelper.ON_SAVE);
|
|
|
- getValidateHelper().registerBindProperty("applyId", ValidateHelper.ON_SAVE);
|
|
|
- getValidateHelper().registerBindProperty("recuritment", ValidateHelper.ON_SAVE);
|
|
|
- getValidateHelper().registerBindProperty("syncResult", ValidateHelper.ON_SAVE);
|
|
|
- getValidateHelper().registerBindProperty("syncStatus", ValidateHelper.ON_SAVE);
|
|
|
+ getValidateHelper().registerBindProperty("creator", ValidateHelper.ON_SAVE);
|
|
|
+ getValidateHelper().registerBindProperty("createTime", ValidateHelper.ON_SAVE);
|
|
|
+ getValidateHelper().registerBindProperty("lastUpdateUser", ValidateHelper.ON_SAVE);
|
|
|
+ getValidateHelper().registerBindProperty("lastUpdateTime", ValidateHelper.ON_SAVE);
|
|
|
+ getValidateHelper().registerBindProperty("number", ValidateHelper.ON_SAVE);
|
|
|
+ getValidateHelper().registerBindProperty("bizDate", ValidateHelper.ON_SAVE);
|
|
|
+ getValidateHelper().registerBindProperty("description", ValidateHelper.ON_SAVE);
|
|
|
+ getValidateHelper().registerBindProperty("auditor", ValidateHelper.ON_SAVE);
|
|
|
+ getValidateHelper().registerBindProperty("candidateId", ValidateHelper.ON_SAVE);
|
|
|
+ getValidateHelper().registerBindProperty("applyId", ValidateHelper.ON_SAVE);
|
|
|
+ getValidateHelper().registerBindProperty("recuritment", ValidateHelper.ON_SAVE);
|
|
|
+ getValidateHelper().registerBindProperty("syncResult", ValidateHelper.ON_SAVE);
|
|
|
+ getValidateHelper().registerBindProperty("syncStatus", ValidateHelper.ON_SAVE);
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -815,8 +815,8 @@ public abstract class AbstractApplicantBeisenEditUI extends com.kingdee.eas.fram
|
|
|
sic.add(new SelectorItemInfo("syncResult"));
|
|
|
sic.add(new SelectorItemInfo("syncStatus"));
|
|
|
return sic;
|
|
|
- }
|
|
|
-
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* output actionSubmit_actionPerformed method
|
|
|
@@ -825,7 +825,7 @@ public abstract class AbstractApplicantBeisenEditUI extends com.kingdee.eas.fram
|
|
|
{
|
|
|
super.actionSubmit_actionPerformed(e);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* output actionPrint_actionPerformed method
|
|
|
@@ -842,7 +842,7 @@ public abstract class AbstractApplicantBeisenEditUI extends com.kingdee.eas.fram
|
|
|
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
|
|
|
@@ -860,35 +860,35 @@ public abstract class AbstractApplicantBeisenEditUI extends com.kingdee.eas.fram
|
|
|
appHlp.printPreview(getTDFileName(), data, javax.swing.SwingUtilities.getWindowAncestor(this));
|
|
|
}
|
|
|
public RequestContext prepareActionSubmit(IItemAction itemAction) throws Exception {
|
|
|
- RequestContext request = super.prepareActionSubmit(itemAction);
|
|
|
+ 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);
|
|
|
+ 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);
|
|
|
+ RequestContext request = super.prepareActionPrintPreview(itemAction);
|
|
|
if (request != null) {
|
|
|
request.setClassName(getUIHandlerClassName());
|
|
|
}
|
|
|
return request;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
public boolean isPrepareActionPrintPreview() {
|
|
|
return false;
|
|
|
}
|
|
|
@@ -913,7 +913,7 @@ public abstract class AbstractApplicantBeisenEditUI extends com.kingdee.eas.fram
|
|
|
*/
|
|
|
protected String getEditUIName()
|
|
|
{
|
|
|
- return com.kingdee.eas.custom.recuritment.client.ApplicantBeisenEditUI.class.getName();
|
|
|
+ return ApplicantBeisenEditUI.class.getName();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -930,7 +930,7 @@ public abstract class AbstractApplicantBeisenEditUI extends com.kingdee.eas.fram
|
|
|
protected IObjectValue createNewData()
|
|
|
{
|
|
|
com.kingdee.eas.custom.recuritment.ApplicantBeisenInfo objectValue = new com.kingdee.eas.custom.recuritment.ApplicantBeisenInfo();
|
|
|
- objectValue.setCreator((com.kingdee.eas.base.permission.UserInfo)(com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentUser()));
|
|
|
+ objectValue.setCreator((com.kingdee.eas.base.permission.UserInfo)(com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentUser()));
|
|
|
return objectValue;
|
|
|
}
|
|
|
|
|
|
@@ -941,22 +941,22 @@ public abstract class AbstractApplicantBeisenEditUI extends com.kingdee.eas.fram
|
|
|
protected IMetaDataPK getTDQueryPK() {
|
|
|
return new MetaDataPK("com.kingdee.eas.custom.recuritment.app.ApplicantBeisenQuery");
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* output getDetailTable method
|
|
|
*/
|
|
|
- protected KDTable getDetailTable() {
|
|
|
+ protected KDTable getDetailTable() {
|
|
|
return null;
|
|
|
}
|
|
|
/**
|
|
|
* output applyDefaultValue method
|
|
|
*/
|
|
|
- protected void applyDefaultValue(IObjectValue vo) {
|
|
|
- }
|
|
|
- protected void setFieldsNull(com.kingdee.bos.dao.AbstractObjectValue arg0) {
|
|
|
+ protected void applyDefaultValue(IObjectValue vo) {
|
|
|
+ }
|
|
|
+ protected void setFieldsNull(AbstractObjectValue arg0) {
|
|
|
super.setFieldsNull(arg0);
|
|
|
arg0.put("number",null);
|
|
|
}
|
|
|
|
|
|
-}
|
|
|
+}
|