zoukankan      html  css  js  c++  java
  • UCML JS函数说明

    UCML JS函数说明
    1.调用父窗体函数
    window.openerWindow.函数名

    2.公用JS存放位置
    BPObjectModelRuleinitvalue.js

    3.弹窗JS

    var w = new UCML.OpenShowWindow({ frameMode: "frame",modal:false, maximizable: true,maximized:false,
    collapsible: true,closable:true,collapsible:false, URL: "BPO_Work_Center.aspx?BusinessKeyOID="+BC_Work_CenterBase.getEmptyGuid()+"", scroll: "yes", draggable: true,
    resizable: true, 800, height: 600, title: "工作中心"});
    w.open();
    if (w && w.on) {//当窗口关闭时

    w.on("close", function () {BC_Work_CenterBase.Refresh();

    })

    }
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    4.行双击

    VCname.on("rowdblclick",函数名)
    demo:VC_InstallPlan_ListList.on("rowdblclick",function (){WindowsOpen(1)});
    1
    2
    5.加载动画效果
    开启加载动画:
    VCNAME.showMask();
    ShowMessage(“正在抽取等待…”);
    关闭加载动画:
    HideMessage();
    VC_GetAccBugData_NewQuery.hideMask();

    6.BC字段change事件

    BCNameBase.on("OnFieldChange", 函数名);

    函数体
    function hanshuming(event) {
    if (event.fieldName == '字段') {
    函数;
    }


    }
    //demo
    BC_CustomerService_PlanBase.on("OnFieldChange",function (e){
    if (e.fieldName=="CRMCustommer_FK"){
    CallGetCRMData(BC_CustomerService_PlanBase.getFieldValue("CRMCustommer_FK"))
    }
    });
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    7.清除BCLink
    BC_SOMainBase.clearAllBCLink();

    8.删除提示
    if(window.confirm(‘确认删除吗?’))
    {
    BC_Work_CenterBase.Delete();
    BusinessSubmit();
    }
    else
    {
    return false;
    }

    9.关闭窗口
    window.currentWindow.close();

  • 相关阅读:
    (转)php读写文件
    CentOS5.2下安装GCC4.1.2
    使用php模拟post提交数据
    Linux系统信息查看命令大全
    强制卸载MYSQL
    Php文件操作
    redhat linux上安装 gcc编译器
    centos5.2安装mysql6.0
    如何收缩数据库日志文件(ldf)
    浑沌的JSON,JS Object,JS Array
  • 原文地址:https://www.cnblogs.com/Jeely/p/10756837.html
Copyright © 2011-2022 走看看