请上传宽度大于 1200px,高度大于 164px 的封面图片
    调整图片尺寸与位置
    滚轮可以放大缩小图片尺寸,按住图片拖动可调整位置,多余的会自动被裁剪掉
取消
Zero丶zero(uid:449529)
FineReport萌新小白在线求教,感谢各位大佬 职业资格认证:FCA-FineReport
  • 多列排序添加动态箭头测试 .cpt
  • 校区排序选择升降序过后,选择日期排序的时候怎么只在校区范围内排序,不扩展到整个报表,时间段选择排序只在日期范围内排序,不扩展到整个报表。排序测试.cpt
  • 文本框测试.cptSQL("JDBC3", "SELECT t.stu_qty from term t where " + if(len(B6) = 0,'1=2', " t.id  like '%" + B6 + "%'"), 1, 1)两个内容都是一样的,只是一个设置了默认值,一个没有设置默认值。设置默认值的它就能直接读取,没有设置的手动输入值就没有执行查询。现在需要的是手动输入这个值下面获取查询的结果,要怎么弄?
  • 去除填报预览三角标记.cpt预览模板需要在填报预览下,URL后面添加&__cutpage__=vweb属性添加加载结束事件contentPane.on("cellselect", function(td) {     $('.dirty').removeClass('dirty');});添加过后,预览还是有三角标记,需要点击报表区域才会消失,再次点击下一页标记又出来了
  • 这几个该怎么设置自定义翻页按钮控件.cpt
  • 直接修改这个列好像不得行。https://bbs.fanruan.com/wenda/question1/103544.html(帖子最后一个回答)var exist=false;var self=this;var s;$("").each(function(){if($(this).text()==self.getValue()){exist=true;}});if(exist){alert("此数据已存在");this.setValue('');this.setText('');return false;}点击增加按钮过后这个JS好像不起作用
  • 有一个增加的按钮,原先设置的指定的单元格var a= contentPane.getCellValue("P24",null)if(this.getValue()>a){    alert("实到学生应小于等于应到学生,请重新输入")    }增加过后,后面JS比较的就是实到学生的值就是值就是P24单元格的应到学生。稍微改了下这个JS,没改对。需要的是扩展后每一行的实到学生跟应到学生做比较var location = this.options.location; //获取当前控件的位置var cr = FR.cellStr2ColumnRow(location);var col = cr.col; //列号var a= contentPane.getCellValue(cr-2,null)if(this.getValue()>a){    alert("实到学生应小于等于应到学生,请重新输入")    }
  • 文本框小数测试.cpt日志抛出错误严重:16:00:36 http-nio-8075-exec-7 ERROR 错误代码:11201000 JS抛错具体错误:Cannot read property 'getValue' of null错误堆栈:TypeError: Cannot read property 'getValue' of null    at FR.WLGP.stopCellEditing (http://localhost:8075/webroot/decision/view/report?viewlet=11111111.cpt&op=write:358:22)    at FR.WLGP.selectTDCell (http://localhost:8075/webroot/decision/view/report?viewlet=11111111.cpt&op=write:342:487)    at sb.eval (eval at    at sb.    at eval (eval at    at sb.eval (eval at jsonDecode (http://localhost:8075/webroot/decision/view/report?op=emb&resource=finereport.js&inter=zh_CN&__fr_locale__=&__v__=2020.11.13.20.06.57.429&jsVersion=1606357053392:533:290),    at Object.tc (http://localhost:8075/webroot/decision/view/report?op=emb&resource=finereport.js&inter=zh_CN&__fr_locale__=&__v__=2020.11.13.20.06.57.429&jsVersion=1606357053392:501:111)    at sb.action (eval at jsonDecode (http://localhost:8075/webroot/decision/view/report?op=emb&resource=finereport.js&inter=zh_CN&__fr_locale__=&__v__=2020.11.13.20.06.57.429&jsVersion=1606357053392:533:290),    at sb.    at sb.fireEvent (http://localhost:8075/webroot/decision/view/report?op=emb&resource=finereport.js&inter=zh_CN&__fr_locale__=&__v__=2020.11.13.20.06.57.429&jsVersion=1606357053392:566:127) var endrate = this.getValue();var cell = contentPane.curLGP.getTDCell(1, 1);contentPane.curLGP.selectTDCell(cell);var a = this.getValue();var location = this.options.location; //获取当前控件的位置var cr = FR.cellStr2ColumnRow(location);var col = cr.col; //列号var ro = cr.row; //行号//这里是正则表达式在js里的判断用法if (/^\d+(\.\d{1,2})?$/.test(endrate)) {} else {    alert("课消请输入精度为两位小数以内的正数!");    contentPane.setCellValue(col, ro, "0.00");}原始的需求是这个文本框输入小数过后超过2位小数就弹出提示 一直在加载处理中

151

28

151

10

个人成就
内容被浏览59,710
加入社区4年74天
返回顶部