Преглед изворни кода

fix(月度回款): 1.修改显示小数点

youchen пре 10 месеци
родитељ
комит
c8025344eb
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      src/views/business/tr/targetMonthReturn/index.vue

+ 3 - 0
src/views/business/tr/targetMonthReturn/index.vue

@@ -80,6 +80,9 @@
       <el-table-column
         prop="returnRate"
         label="回报率(%)">
+        <template slot-scope="scope" v-if="scope.row.returnRate!=null">
+          {{scope.row.returnRate+'%'}}
+        </template>
       </el-table-column>
       <el-table-column
         prop="firstWeek"