JS里面能写函数吗?
在JS代码中使用FineReport内置的公式-https://help.fanruan.com/finereport/doc-view-1785.html
平时的js怎么写就怎么写。
你所说的是function函数吗?会不起作用的,帆软已经将js从新封装了一套新的方法,你可参考帮助文档的二次开发
https://help.fanruan.com/finereport/doc-view-615.html