[FO] 은행자동이체 수정
55. 은행 자동이체 수입 내역 등록되었으나 상단 0건으로 노출됨 (지출도 같이 확인) 56. 은행 자동이체 내역 등록내역 노출 시 등록한 항목만 노출
This commit is contained in:
@@ -332,6 +332,7 @@
|
||||
const next = document.getElementById('complateBtn');
|
||||
const header = document.getElementById('listHeader');
|
||||
const count = document.getElementById('listCount');
|
||||
const totalItems = document.getElementById('totalItems');
|
||||
const total = ENV.data.bankList.length;
|
||||
|
||||
|
||||
@@ -339,6 +340,7 @@
|
||||
status.style.display = total > 0 ? 'none' : '';
|
||||
callPastInfoBtn.style.display = total > 0 ? 'none' : '';
|
||||
count.textContent = total;
|
||||
totalItems.textContent = total;
|
||||
|
||||
|
||||
btn.disabled = isChecked;
|
||||
@@ -474,9 +476,6 @@
|
||||
ENV.data.bankList = [];
|
||||
document.getElementById('listBody').innerHTML = '';
|
||||
formControl.updateLayout();
|
||||
|
||||
// TODO(ks): 선택 삭제 시 전체 count 미반영 중. 일단 전체 초기화에서만 count 갱신.
|
||||
document.getElementById('totalItems').textContent = ENV.data.bankList.length;
|
||||
},
|
||||
});
|
||||
},
|
||||
@@ -557,7 +556,9 @@
|
||||
${buttonGroupHtml}
|
||||
</div>
|
||||
<ul class="detail-list">
|
||||
<li><p>재배형태</p><span>${getCrop(product.cropCode)}</span></li>
|
||||
${product.cropCode != null && product.cropCode != ''
|
||||
? `<li><p>재배형태</p><span>${getCrop(product.cropCode)}</span></li>`
|
||||
: ''}
|
||||
${product.sourcePurpose != null && product.sourcePurpose != ''
|
||||
? `<li><p>수입원</p><span>${product.sourcePurpose}</span></li>`
|
||||
: ''}
|
||||
|
||||
Reference in New Issue
Block a user