• 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();

  • 相关阅读:
    tableView cell 设置圆角 响应链
    iOS
    git code 初次上传
    隐藏导航栏,偏移20PX
    Mysql数据库远程连接
    umeng推送, 生产环境deviceToken失效可能原因
    KeyChainWrapper
    UIVisualEffectView(高斯模糊效果)
    UVA 11582 Colossal Fibonacci Numbers! 快速幂
    HDU 2859 Phalanx DP
  • 原文地址:https://www.cnblogs.com/loveliqun/p/13852481.html
Copyright © 2020-2023  润新知