Commit 065aa0a1 authored by lizhichao's avatar lizhichao

借贷申请,还款金额计算问题

parent af0f9b13
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
payable(){ payable(){
let time = new Date(this.debitData.expectedRepaymentDate).getTime()/ 1000 - new Date(this.debitData.sumInterestDate).getTime()/ 1000; let time = new Date(this.debitData.expectedRepaymentDate).getTime()/ 1000 - new Date(this.debitData.sumInterestDate).getTime()/ 1000;
let day = Math.round(time / 60 / 60 / 24); let day = Math.round(time / 60 / 60 / 24);
return this.debitData.littleTotal *(1 + 0.08 /360 * day).toFixed(2); return (this.debitData.littleTotal *(1 + 0.08 /360 * day)).toFixed(2);
} }
} }
} }
......
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