소스 검색

保留两位小数改为保留一位小数

chenzhenguo 3 년 전
부모
커밋
b324e4b913
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      dgtis-ui/src/views/system/userInfoDetails/index.vue

+ 1 - 1
dgtis-ui/src/views/system/userInfoDetails/index.vue

@@ -250,7 +250,7 @@ export default {
           }
         // 客户保单信息
           that.custInfo = response.data.custInfo;
-          that.custInfo.wjbf = (parseFloat(that.custInfo.prem)-parseFloat(that.custInfo.handedinprem)).toFixed(2);
+          that.custInfo.wjbf = (parseFloat(that.custInfo.prem)-parseFloat(that.custInfo.handedinprem)).toFixed(1);
           if(that.custInfo.wjbf == 0){
               that.custInfo.wjbf = "0.0"
           }