Authored by Aiden Xu

分期订单

... ... @@ -45,6 +45,7 @@
<input id="sort-{{@index}}" type="checkbox"
class="installment-check-btn installment-term"
data-order-code="{{../orderCode}}"
data-curr-amt="{{currAmt}}"
data-sort-id="{{sortId}}"
data-fee="{{currFeeAmt}}"
data-delay-fee="{{currDealyFeeAmt}}"
... ...
... ... @@ -13,7 +13,7 @@ var repayment = new Repayment({
index: input.data('sortId'),
orderCode: input.data('orderCode'),
termNo: input.data('sortId'),
amount: parseFloat(input.data('amount')),
amount: parseFloat(input.data('currAmt')),
fee: parseFloat(input.data('delayFee'))
};
... ... @@ -65,10 +65,12 @@ $(CHECKBOX_SELECTOR + ':checkbox').click(function() {
var self = this;
selection.forEach(function(sel) {
if (sel.index - lastIndex > 1) {
var index = sel.index + 1;
if (index - lastIndex > 1) {
isSkipped = true;
} else {
lastIndex = sel.index;
lastIndex = index;
}
});
... ...