本帖最后由 czkt 于 2022-11-22 15:44 编辑
这是数据,然后本身是自由式表格 ,你这种if会有循环依赖,要判断的是row+2,1
我写的是iif(cell(row+2,1)='内地',cell(row+1,2)+cell(row+2,2),cell(row+1,2)) ,但是报错执行数据失败:g5.util.GRTException: 报告(预览: 仓单图测试)-->组件(自由式表格1)-->数据集(郑棉仓单)-->ReferenceError: Function function cell() { [native code, arity=2]
}
can not be used as the left-hand side of assignment or as an operand of ++ or -- operator. ([script]#1) at line 1
|