Explorar el Código

1、销售统计增加退款统计

huangmp hace 2 años
padre
commit
fbfca1a168
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      src/views/modules/form/shopStat.vue

+ 4 - 0
src/views/modules/form/shopStat.vue

@@ -48,6 +48,7 @@
           <div class="ranking-title">店铺排行
             <span style="color: red;font-weight: bold; margin-left: 20px;font-size: 14px">新增人数:{{totalUserNums}}</span>
             <span style="color: red;font-weight: bold; margin-left: 20px;font-size: 14px">营业额:{{totalAmount.toFixed(2)}}</span>
+            <span style="color: red;font-weight: bold; margin-left: 20px;font-size: 14px">退款金额:{{refundAmount.toFixed(2)}}</span>
           </div>
           <el-table
             highlight-current-row
@@ -143,6 +144,7 @@
         hotShopList: [], // 热卖店铺
         totalUserNums: 0,
         totalAmount: 0,
+        refundAmount:0
       }
     },
     watch: {
@@ -177,6 +179,7 @@
           this.hotProdList = data.hotProdList
           this.totalUserNums = data.totalUserNums
           this.totalAmount = data.totalAmount
+          this.refundAmount = data.refundAmount
         })
       },
       getPlatformStatistics() {
@@ -193,6 +196,7 @@
           this.hotProdList = data.hotProdList
           this.totalUserNums = data.totalUserNums
           this.totalAmount = data.totalAmount
+          this.refundAmount = data.refundAmount
         })
       },
       /**