Commit bb09b95c authored by youjie's avatar youjie

no message

parent 056188c1
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
// 设置进度 // 设置进度
setItemProgress(data) { setItemProgress(data) {
if(this.Profit>0&&this.Profit>=data.StartValue&&this.Profit<=data.EndValue){ if(this.Profit>0&&this.Profit>=data.StartValue&&this.Profit<=data.EndValue){
return data.EndValue<999999?this.Profit/data.StartValue:this.Profit/data.EndValue return data.EndValue<999999?(this.Profit/data.EndValue)*100:(this.Profit/data.StartValue)*100
}else{ }else{
return 0 return 0
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment