参考行序号-https://help.fanruan.com/finereport/doc-view-341.html
使用seq()函数
TOINTEGER(B19)+1
填报属性-新值-SEQ()
https://help.fanruan.com/finereport/doc-view-545.html
插入删除行重新编号
三种情况都给你列出来了,用MAX(B19)+1就行了。