zoukankan      html  css  js  c++  java
  • 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();

  • 相关阅读:
    Java I/O
    iOS AppsFlyer的使用注意事项
    Star Schema and Snowflake Schema
    SSB基准测试
    ES Route
    CPS(Cyber-Physical Systems)白皮书-摘选
    蓄电池放电容量与环境温度的关系
    时间序列分析(二)
    时间序列分析(一)
    IndexR
  • 原文地址:https://www.cnblogs.com/loveliqun/p/13852481.html
Copyright © 2011-2022 走看看