소스 검색

修改小数点位数

mxx 3 년 전
부모
커밋
6138487c4b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/houseSelfCollect/paymentManagement.vue

+ 1 - 1
src/views/houseSelfCollect/paymentManagement.vue

@@ -589,7 +589,7 @@ export default {
           sum += this.modification[i].amountIngPayable
           sum += this.modification[i].amountIngPayable
           count += this.modification[i].amountEdPayable
           count += this.modification[i].amountEdPayable
         }
         }
-        this.payments.amountNotPayable = sum - count
+        this.payments.amountNotPayable = (sum - count).toFixed(2)
         this.paymentForm = true
         this.paymentForm = true
       }
       }
     },
     },