kingdee笔记待整理Word文档下载推荐.docx
- 文档编号:15892160
- 上传时间:2022-11-16
- 格式:DOCX
- 页数:14
- 大小:20.01KB
kingdee笔记待整理Word文档下载推荐.docx
《kingdee笔记待整理Word文档下载推荐.docx》由会员分享,可在线阅读,更多相关《kingdee笔记待整理Word文档下载推荐.docx(14页珍藏版)》请在冰豆网上搜索。
billInfoinstanceofMendRecordTableInfo){
MendRecordTableInfotinfo=MendRecordTableFactory.getRemoteInstance().getMendRecordTableInfo(objpk);
if(AuditState.unexecute.equals(tinfo.getAuditState())){
tinfo.setAuditState(AuditState.execute);
MendRecordTableFactory.getRemoteInstance().update(newObjectUuidPK(tinfo.getId().toString()),tinfo);
}
}elseif(objpk!
billInfoinstanceofMonthMendPlanInfo){
MonthMendPlanInfopinfo=MonthMendPlanFactory.getRemoteInstance().getMonthMendPlanInfo(objpk);
if(AuditState.unexecute.equals(pinfo.getAuditState())){
pinfo.setAuditState(AuditState.execute);
MonthMendPlanFactory.getRemoteInstance().update(newObjectUuidPK(pinfo.getId().toString()),pinfo);
}
}catch(EASBizExceptione1){
e1.printStackTrace();
}catch(BOSExceptione1){
}}
}catch(EASBizExceptione1){
e1.printStackTrace();
}catch(BOSExceptione1){
}
chcek=ObjectPK;
if(chcek==null){
MsgBox.showInfo("
请选中一行!
"
);
}
}
List设图标:
publicvoidonLoad()throwsException{
//TODOAuto-generatedmethodstub
super.onLoad();
btnApproval.setIcon(EASResource.getIcon("
imgTbtn_audit"
));
btnAgainstApproval.setIcon(EASResource.getIcon("
imgTbtn_unaudit"
btnOver.setIcon(EASResource.getIcon("
imgTbtn_execute"
btnClose.setIcon(EASResource.getIcon("
imgTbtn_close"
Edit:
*多项选择
*/
intcurrRow=-1;
Stringchcek=null;
int[]selectRows=KDTableUtil.getSelectedRows(tblMain);
for(inti=0;
i<
selectRows.length;
i++){
currRow=selectRows[i];
//编辑的行号
StringObjectPK=(tblMain.getRow(currRow).getCell("
id"
).getValue()).toString();
//获得当前行对象
if(!
ObjectPK.equals(chcek)){
if(MendPlanFactory.getRemoteInstance().setClose(ObjectPK)){
}else{
MsgBox.showError("
第"
+(selectRows[i]+1)+"
行单据状态不符合,不能关闭!
chcek=ObjectPK;
actionRefresh_actionPerformed(e);
}
*单项选择当前活动的第一行。
//一个控件的值赋给其他对象时先排空。
if(txtstratCount.getValue()!
=null){
sart=newBigDecimal(txtstratCount.getValue().toString());
}else{
MsgBox.showInfo("
请先填写起始读数!
//kdtEntrys.setEnabled(false);
SysUtil.abort();
if(info.getSourceBillId()!
=null)与if(info.getSourceBillId().toString()!
=null)的区别。
后者为null是报错。
checkSelected();
//选中
if(confirmRemove())//确认框
{
Remove();
//删除
Int类型不是&
int显示而是正常数据
table.getColumn(columnName).getStyleAttributes().setNumberFormat("
#,##0;
-#,##0"
过滤组织:
EntityViewInfoview=newEntityViewInfo();
FilterInfofilter=newFilterInfo();
view.setFilter(filter);
StringcuId=SysContext.getSysContext().getCurrentCtrlUnit().getId().toString();
CtrlUnitInfocu=CtrlUnitFactory.getRemoteInstance().getCtrlUnitInfo(newObjectUuidPK(cuId));
Stringcu_longNumber=cu.getLongNumber();
filter.getFilterItems().add(newFilterItemInfo("
CU.longNumber"
"
%"
+cu_longNumber+"
CompareType.LIKE));
prmtassetName.setEntityViewInfo(view);
并重新QURERY:
prmtassetName.setQueryInfo("
com.kingdee.eas.custom.equipment.maintain.app.FaCurCardQuery_Copy"
prmtassetName.setCommitFormat("
$number$"
prmtassetName.setDisplayFormat("
$assetName$"
prmtassetName.setEditFormat("
分录添增删:
kdtEntrys_detailPanel.getRemoveLinesButton().setEnabled(false);
kdtEntrys_detailPanel.getAddNewLineButton().setEnabled(false);
kdtEntrys_detailPanel.getInsertLineButton().setEnabled(false);
套打:
publicvoidactionPrintPreview_actionPerformed(ActionEvente)
throwsException{
//super.actionPrintPreview_actionPerformed(e);
if(editData==null||StringUtils.isEmpty(editData.getString("
))){
return;
Stringid=editData.getId().toString();
//得到当前要打印单据的id
ExpenseAuditDataProviderdata=newExpenseAuditDataProvider(id);
//得到打印数据
KDNoteHelperappHlp=newKDNoteHelper();
appHlp.printPreview("
bim/custom/equipment/maintenance/DispatchTask"
data,
javax.swing.SwingUtilities.getWindowAncestor(this));
//定义打印模板输出的路径
publicclassExpenseAuditDataProviderimplementsBOSQueryDelegate{//重新复写打印类
privateStringbillId=null;
publicExpenseAuditDataProvider(){
super();
publicExpenseAuditDataProvider(StringbillId){
this.billId=b
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- kingdee 笔记 整理