JS控制单元格控件是否可用/可见 https://help.fanruan.com/finereport/doc-view-4055.html
方法就是用这个
控件通用 https://help.fanruan.com/finereport/doc-view-4261.html
----------------------------
你的这个问题
直接把原来的单元格里面的控件删掉
用条件属性来显示控件就行了 不需要写js