99b65276 by wang

init

1 parent 957a7ec8
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
142 }else{ 142 }else{
143 str1 = '<div class="row cl">'+ 143 str1 = '<div class="row cl">'+
144 '<div class="form-group col-sm-3 col-md-2">'+ 144 '<div class="form-group col-sm-3 col-md-2">'+
145 '<label>'+(i+1)+'月应还</label>'+ 145 '<label>月应还</label>'+
146 '<input type="text" id="totalAmount" class="form-control input-text" value="'+data.data.repayPlans[0].totalAmount+'" disabled>'+ 146 '<input type="text" id="totalAmount" class="form-control input-text" value="'+data.data.repayPlans[0].totalAmount+'" disabled>'+
147 '<span class="glyphicon form-control-feedback">元</span>'+ 147 '<span class="glyphicon form-control-feedback">元</span>'+
148 '</div>'+ 148 '</div>'+
...@@ -152,7 +152,15 @@ ...@@ -152,7 +152,15 @@
152 152
153 153
154 }else{ 154 }else{
155 $('#totalAmount').val(data.data.repayPlans[0].totalAmount); 155 str1 = '<div class="row cl">'+
156 '<div class="form-group col-sm-3 col-md-2">'+
157 '<label>每月应还</label>'+
158 '<input type="text" id="totalAmount" class="form-control input-text" value="'+data.data.repayPlans[0].totalAmount+'" disabled>'+
159 '<span class="glyphicon form-control-feedback">元</span>'+
160 '</div>'+
161 '</div>';
162 $('.months').html(str1);
163 // $('#totalAmount').val(data.data.repayPlans[0].totalAmount);
156 } 164 }
157 165
158 } 166 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!