d21e411f by wang

init

1 parent 9e6fc802
......@@ -125,7 +125,8 @@
} else {
$('#totalRepay').val(data.data.totalRepay);
if(data.data.repayPlans.length > 1){
if(data.data.repayPlans[0].totalAmount != data.data.repayPlans[1].totalAmount){
var len = data.data.repayPlans.length-1;
if(data.data.repayPlans[0].totalAmount != data.data.repayPlans[len].totalAmount){
$('.months').html('');
var str = '';
for(var i=0;i<data.data.repayPlans.length;i++){
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!