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();
}
承接钉钉定制;网站服务定制;
联系qq:1655119603