Authored by 徐炜

Merge remote-tracking branch 'origin/feature/installment2a' into feature/installment2a

... ... @@ -13,7 +13,7 @@
<input id="list-{{key}}" type="checkbox" class="installment-check-btn" {{#if isChecked}}checked{{/if}}/>
<label for="list-{{key}}">
<div class="cont">
<p>¥{{currNoFeeAmt}}</p>
<p>¥{{currAmt}}</p>
<p>【全{{stage}}期】{{billInfo}}</p>
</div>
</label>
... ...
... ... @@ -19,7 +19,7 @@ var repayment = new Repayment({
index: li.index(),
orderCode: li.data('billNo'),
termNo: li.data('currterm'),
amount: parseFloat(li.data('currnofeeamt')),
amount: parseFloat(li.data('curramt')),
fee: parseFloat(li.data('currfee')) + 0
};
... ... @@ -49,10 +49,10 @@ $(CHECKBOX_SELECTOR + ':checkbox').click(function() {
billNo = $(self).parent().data('billNo'),
li = $('li[data-bill-no=' + billNo + ']'),
selection = li.find('input:checked'),
lastIndex = li.eq(0).index();
lastIndex = li.eq(0).data('currterm');
selection.parent().each(function(index, sel) {
var key = $(sel).index();
var key = $(sel).data('currterm');
if ((key + 1) - lastIndex > 1) {
isSkipped = true;
... ...