eas打开其他界面代码
IUIWindow uiWindow = null;
String table="CT_salesOutLot";
int status=editData.getBaseStatus().getValue();
//map是上下文传递的参数
Map map=new com.kingdee.eas.common.client.UIContext(this);
map.put("Owner", SaleIssueBillEditUICTEx.this);
map.put("billNumber",billNumber);
map.put("storageOrg",storageOrg);
map.put("materialArrayList",materialArrayList);
map.put("table",table);
map.put("materialidSumList", materialidSumList);
map.put("qtySumList", qtySumList);
map.put("status", status);
try {
String nameString=LotManagerment.class.getName();
uiWindow = UIFactory.createUIFactory(UIFactoryName.MODEL).
create(nameString, map, null,OprtState.ADDNEW);
} catch (UIException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
// OprtState.ADDNEW为业务模式,也可以为查看或编辑,但是一定要传入UIContext.ID否则会报错。
//强转之后,可对创建的ui进行操作
//((CoreBillEditUI)uiWindow.getUIObject()).setMakeRelations(btpResult.getBOTRelationCollection());
//开始展现UI
uiWindow.show();