Commit 464f8a7d authored by youjie's avatar youjie

用款计划 ,第一次领款千位数四舍五入

parent 91a8d1b4
......@@ -1768,8 +1768,14 @@
});
this.CurrencyListMoney.forEach((cur, i) => {
cur.LeaderGetPriceArr.forEach(lead => {
lead.LeaderGetPriceT =
if(lead.LeaderGetPrice==0){
lead.LeaderGetPriceT = (Math.floor((cur.money * this.comRate - cur.yiLing) * 100) / 100)/10000;
lead.LeaderGetPriceT = lead.LeaderGetPriceT.toFixed(1)*10000
}else{
lead.LeaderGetPriceT =
Math.floor((cur.money * this.comRate - cur.yiLing) * 100) / 100;
}
lead.PlanPrice = cur.money * this.comRate;
});
});
......
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