청구 비교 금액 계산 수정

This commit is contained in:
Jeon
2023-07-11 14:36:37 +09:00
parent f59ed89793
commit 126d2b0f83
2 changed files with 4 additions and 3 deletions

View File

@@ -97,7 +97,7 @@
}, },
{ {
"key": "rsltStr" "key": "rsltStr"
,"name": "일치여부" ,"name": "이월 일치여부"
}, },
{ {
"key": "fxLmtAmt" "key": "fxLmtAmt"

View File

@@ -87,7 +87,7 @@
<th headers="thHeader08" class="th_line">일할 정액요금</th> <th headers="thHeader08" class="th_line">일할 정액요금</th>
<th headers="thHeader08" class="th_line">신규 이월금액</th> <th headers="thHeader08" class="th_line">신규 이월금액</th>
<th headers="thHeader08" class="th_line">예상 이월금액</th> <th headers="thHeader08" class="th_line">예상 이월금액</th>
<th headers="thHeader08" class="th_line">일치여부</th> <th headers="thHeader08" class="th_line">이월 일치여부</th>
<th headers="thHeader09" class="th_line">정액요금</th> <th headers="thHeader09" class="th_line">정액요금</th>
<th headers="thHeader09" class="th_line">이월금액</th> <th headers="thHeader09" class="th_line">이월금액</th>
<th headers="thHeader09" class="th_line">소멸금액</th> <th headers="thHeader09" class="th_line">소멸금액</th>
@@ -266,7 +266,7 @@ export default {
item.billAmt = 0; item.billAmt = 0;
} }
item.calUseAmt = (Number(item.lmtPerUseDay)+Number(item.mrtUseAmt)); item.calUseAmt = (Number(item.lmtPerUseDay)+Number(item.mrtUseAmt.replaceAll(",","")));
item.calUseAmt = item.calUseAmt - (item.calUseAmt*(Number(item.discount)/100)); item.calUseAmt = item.calUseAmt - (item.calUseAmt*(Number(item.discount)/100));
item.calUseAmt = Math.floor(item.calUseAmt/10) * 10; item.calUseAmt = Math.floor(item.calUseAmt/10) * 10;
@@ -274,6 +274,7 @@ export default {
if(item.calUseAmt == item.billAmt){ if(item.calUseAmt == item.billAmt){
item.billRslt = "일치"; item.billRslt = "일치";
} }
return {...item}; return {...item};
}); });