d21e411f by wang

init

1 parent 9e6fc802
...@@ -125,7 +125,8 @@ ...@@ -125,7 +125,8 @@
125 } else { 125 } else {
126 $('#totalRepay').val(data.data.totalRepay); 126 $('#totalRepay').val(data.data.totalRepay);
127 if(data.data.repayPlans.length > 1){ 127 if(data.data.repayPlans.length > 1){
128 if(data.data.repayPlans[0].totalAmount != data.data.repayPlans[1].totalAmount){ 128 var len = data.data.repayPlans.length-1;
129 if(data.data.repayPlans[0].totalAmount != data.data.repayPlans[len].totalAmount){
129 $('.months').html(''); 130 $('.months').html('');
130 var str = ''; 131 var str = '';
131 for(var i=0;i<data.data.repayPlans.length;i++){ 132 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!