Parcourir la source

金额格式化

kouchengxing il y a 3 ans
Parent
commit
9da00ab4af
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      dgtis-ui/src/views/system/userInfoDetails/index.vue

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

@@ -79,7 +79,7 @@
 <!--                        <div class="bxInfo">年缴保费:<span>{{custInfo.prem}}</span><span class="unit">元</span></div>-->
 <!--                      </el-col>-->
                       <el-col :span="8" v-for="(value, key, index) in majorCategorie">
-                        <div class="bxInfo">{{key}}:<span>{{(value/10000).toFixed(4)}}</span><span class="unit">万</span></div>
+                        <div class="bxInfo">{{key}}:<span>{{Math.floor(value*10)/100000}}</span><span class="unit">万</span></div>
                       </el-col>
                     </el-row>
                   </div>