eas之动态调用Ui界面,并在UI之间传递变量


private void makePurOrderUI(PurOrderInfo srcBillInfo)throws EASBizException, UIException,BOSException, Exception{
String destBillEditUIClassName="com.kingdee...PurOrderEditUI";
Map map=new UIContext(this);
map.put("srcBillId").srcBillInfo.getId().toString();
map.put(UIContext.OWNER,this);
map.put("srcBillInfoBOSTypeString",destBillInfo.getBOSType());
UIWindow uiWindow=null;
uiWindow=UIFactory.createUIFactory(UIFactoryName.MODEL).create(destBillEditUIClassName,map,null,OrtState.ADDNEW);
//可对创建的ui进行操作
//((CoreBillEditUI).uiWindow.getUIObject()).setMakeRelations(btpResult.getBOTRelationCollection());
//开始展现UI
uiWindow.show();
}

posted @ 2019-06-26 18:08  一条有梦想的海洋咸鱼  阅读(660)  评论(0编辑  收藏  举报