• 自定义Dialog中对数组的取值


    /*

    自定义Dialog中对数组的取值

    以下为Job

    */

    static void xyf_DialogDimension(Args _args)

    {

        Dialog          _Dialog = new Dialog("Test Array->Dimension");

        DialogField     dlgDimension;

        Dimension       _Dimension;

        FormDataSource  LedgerTable_ds;

     

    ;

        dlgDimension = _Dialog.addField(typeId(Dimension),"成本利润中心");

     

     

        dlgDimension.fieldControl(1).visible(false);

        dlgDimension.fieldControl(3).visible(false);

     

     

        /**   Query

        LedgerTable_ds.query().dataSourceTable(tablenum(LedgerTable)).addRange(fieldId2Ext(fieldnum(LedgerTable,

        Dimension),1)).value(QueryValue("DepartmentName"));

        */

        _Dialog.doInit();

        if(_Dialog.run())

        {

            _Dimension = dlgDimension.value();

            info(_Dimension[2]);

     

        }

    }

     

  • 相关阅读:
    数据结构-图
    web.xml的运行顺序
    如何把自己打造成技术圈的 papi 酱
    也谈http中get和post
    手机充电速度及电池使用
    web项目Log4j日志输出路径配置问题
    JAVA模块化
    关于web安全
    Struts2中通配符
    2016第14周一
  • 原文地址:https://www.cnblogs.com/Fandyx/p/2761531.html
Copyright © 2020-2023  润新知