Commit 89baebb1 authored by youjie's avatar youjie

no message

parent 5ff35b09
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
if(this.type==2&&this.Profit>0&&this.Profit>=data.StartValue&&this.Profit<=data.EndValue){ if(this.type==2&&this.Profit>0&&this.Profit>=data.StartValue&&this.Profit<=data.EndValue){
return data.EndValue<999999?(this.Profit/data.EndValue)*100:(this.Profit/data.StartValue)*100 return data.EndValue<999999?(this.Profit/data.EndValue)*100:(this.Profit/data.StartValue)*100
}else if(this.type==1&&this.Profit>0&&this.Profit>=data.StartValue&&this.Profit<=data.EndValue){ }else if(this.type==1&&this.Profit>0&&this.Profit>=data.StartValue&&this.Profit<=data.EndValue){
return (this.Profit/data.EndValue)*100 return data.EndValue<999?(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