finereport 填报 单元格 JS 触发 提交SQL 事件
时间:2021-07-01 10:21:17
帮助过:274人阅读
location =
this.options.location;
var cr =
FR.cellStr2ColumnRow(location);
var col =
cr.col;
var row =
cr.row;
var ORG_ID =
contentPane.getWidgetByCell(FR.columnRow2CellStr({col: col, row: row})).getValue();
//alert(goods);
//var index=goods.indexOf(" 包材名称:");
//var goodsid=goods.substr(5,index-5);
var ORG_NAME = FR.remoteEvaluate("sql(\"FR_DW\",\"SELECT ORG_NAME FROM DIM_HR_ORG WHERE ORG_ID="+ORG_ID+"\",1,1)"
);
contentPane.setCellValue(col+1,row,ORG_NAME);
报表JS 提交SQL
finereport 填报 单元格 JS 触发 提交SQL 事件
标签:rem tee content col bst pre span cells substr