瀏覽代碼

金额显示修正

JXDS18FUJT 2 年之前
父節點
當前提交
5883df7bb9
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      src/views/income/index.vue

+ 6 - 6
src/views/income/index.vue

@@ -9,13 +9,13 @@
                         <tr class="head">
                             <th>账单时间</th>
                             <th>套餐名称</th>
-                            <th>收入金额</th>
+                            <th>收入金额(元)</th>
                         </tr>
 
                         <tr v-for="(item, index) in orderList" :key="index" class="item">
                             <td>{{ item.successTime }}</td>
                             <td>{{ item.goodsName }}</td>
-                            <td style="color:#FF4D53"> {{ item.commissionPrice }}</td>
+                            <td style="color:#FF4D53"> {{ item.commissionPrice/100 }}</td>
                         </tr>
 
 
@@ -39,16 +39,16 @@
                             时间
                         </th>
                         <th class="table-head">
-                            预估收入
+                            预估收入(元)
                         </th>
                         <th class="table-head">
-                            月结实发金额
+                            月结实发金额(元)
                         </th>
 
                         <tr v-for="(item,index) in incomeList" :key="index">
                             <td class="table-grid">{{item.yearMonth}}</td>
-                            <td class="table-grid">{{item.income}}</td>
-                            <td class="table-grid">{{item.income}}</td>
+                            <td class="table-grid">{{item.income/100}}</td>
+                            <td class="table-grid">{{item.income/100}}</td>
                         </tr>
                     </table>