treegrid-树展开前请求参数拦截onBeforeLoad

写个js:getZkParam 方法
  
        <#if childFields?exists>
            
                <#list childFields as field>
                    
                    <#if '${field.ATTRID}' != ''>
                        
                    <#if '${field.ATTRCODE}' == 'QUANTITY'>
                        
${field.ATTRNAME} ${field.ATTRNAME} BOMVERSION
修改param查询参数,把row中的数据放入到param中
    this.getZkParam = function(row, param){
        debugger;
        var row = row;
        var param=param;
        if(row != null&&row.bomversion!=null&&row.bomversion!=undefined&&row.bomversion!=""){
            param.bomversion=row.bomversion;
        }
        return true;
    }

image.png

你可能感兴趣的:(treegrid-树展开前请求参数拦截onBeforeLoad)