Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

1. 使用变量

使用变量的格式:{{变量名称}}  ,例如:

 {{门店名称}}   {{city}}  

2. 变量的计算

可以直接使用计算符号,例如:

 

//直接计算字段变量
{{ 销售额/10000 }} 万元
{{ ( (销售额-去年销售额) / 去年销售额 ) * 100 }}

//遍历dataRow时,计算字段列,必须对字段使用括号
{{ ( ( (item["销售额"])-(item["去年销售额"])) / (item["去年销售额"]) ) * 100 }}



3. 内置函数

 

 

 

 

 

  • No labels