...
|
...
|
@@ -15,13 +15,12 @@ var repayment = new Repayment({ |
|
|
|
|
|
$(`${CHECKBOX_SELECTOR}:checked`).each(function(key, item) {
|
|
|
var li = $(item).parents('li');
|
|
|
|
|
|
var data = {
|
|
|
index: li.index(),
|
|
|
orderCode: li.attr('data-billno'),
|
|
|
termNo: li.attr('data-termNo'),
|
|
|
amount: parseFloat(li.attr('data-currNoFeeAmt')),
|
|
|
fee: parseFloat(li.attr('data-currfee')) + 0
|
|
|
orderCode: li.data('bill'),
|
|
|
termNo: li.data('termno'),
|
|
|
amount: parseFloat(li.data('currnofeeamt')),
|
|
|
fee: parseFloat(li.data('currfee')) + 0
|
|
|
};
|
|
|
|
|
|
ret.push(data);
|
...
|
...
|
@@ -29,6 +28,9 @@ var repayment = new Repayment({ |
|
|
|
|
|
return ret;
|
|
|
},
|
|
|
onGetSelectableCount: function() {
|
|
|
return $(CHECKBOX_SELECTOR).length;
|
|
|
},
|
|
|
onDeselectAll: function() {
|
|
|
$(`${CHECKBOX_SELECTOR}:checked`).prop('checked', false);
|
|
|
return [];
|
...
|
...
|
@@ -65,7 +67,4 @@ $(CHECKBOX_SELECTOR + ':checkbox').click(function() { |
|
|
repayment.update();
|
|
|
});
|
|
|
|
|
|
// 跳转到还款详情
|
|
|
window.jumpDetail = function(id) {
|
|
|
location.href = '/home/installment/repay/detail?id=' + id;
|
|
|
}; |
|
|
repayment.update(); |
...
|
...
|
|