diff --git a/apps/home/views/action/installment/repayment-list.hbs b/apps/home/views/action/installment/repayment-list.hbs index ce93144..2bb9f5c 100644 --- a/apps/home/views/action/installment/repayment-list.hbs +++ b/apps/home/views/action/installment/repayment-list.hbs @@ -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> diff --git a/public/js/home/repayment-list.page.js b/public/js/home/repayment-list.page.js index 7eb066c..1e7aa23 100644 --- a/public/js/home/repayment-list.page.js +++ b/public/js/home/repayment-list.page.js @@ -50,10 +50,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;