把下面控件的值传到上面
https://help.fanruan.com/finereport/doc-view-4007.html也有讲到;参考_g().getWidgetByName("area").getValue(); //获取报表主体控件area的控件值
JS实现在报表参数界面获取控件的值 - FineReport帮助文档 - 全面的报表使用教程和学习资料 (fanruan.com)
//获取参数面板中的控件
var a=_g().parameterEl.getWidgetByName('province');
//获取模板内组件的值
var hy=_g().getWidgetByName("province").getValue();
//把模板内组件的值赋给参数面板控件
a.setValue(hy);
js代码写在下面控件中