소스 검색

实付金额提示词修正

ellisran 10 달 전
부모
커밋
80963769d6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/public/js/contract_detail.js

+ 1 - 1
app/public/js/contract_detail.js

@@ -1717,7 +1717,7 @@ $(document).ready(function() {
             const newNodeDebitPrice = ZhCalc.add(ZhCalc.sub(node.debit_price, cpInfo.debit_price), parseFloat(debit_price));
             const newNodeYfPrice = ZhCalc.sub(newNodePayPrice, newNodeDebitPrice);
             if (parseFloat(sf_price) > ZhCalc.sub(newNodeYfPrice, node.sf_price)) {
-                $('#cons-addpay .sf-tips').text(' ≤ ' + ZhCalc.sub(newNodeYfPrice, node.sf_price));
+                $('#cons-addpay .sf-tips').text(' ≤ ' + ZhCalc.add(cpInfo.sf_price, ZhCalc.sub(newNodeYfPrice, node.sf_price)));
             } else {
                 $('#cons-addpay .sf-tips').text('');
             }