zhangdan 4 years ago
parent
commit
db0309a1e8

+ 4 - 1
src/views/businessManage/ledouCollectRecord/ledouCollectRecord.vue

@@ -48,7 +48,7 @@
     </div>
     <!-- 合计 -->
     <a-alert type="info" showIcon style="margin-bottom:15px">
-      <div class="ftext" slot="message">总计<span> {{ orderTotal }} </span>条记录,收取乐豆<span> {{ totalGold }} </span>个</div>
+      <div class="ftext" slot="message">总计<span> {{ orderTotal }} </span>条记录,累计乐豆收取<span> {{ totalGold }} </span>个,其中 {{ cancelGold }} 个乐豆已撤销收取</div>
     </a-alert>
     <s-table
       ref="table"
@@ -94,6 +94,7 @@ export default {
       optionData: [],
       orderTotal: 0,	// 总单数
       totalGold: 0,	// 总金额
+	  cancelGold: 0, // 撤销收取乐豆数
       // 表头
       columns: [
         { title: '序号', dataIndex: 'no', width: 80, align: 'center' },
@@ -214,8 +215,10 @@ export default {
         if (res.status == 200) {
           if (res.data) {
             this.totalGold = res.data.totalGold || 0
+            this.cancelGold = res.data.totalCancelGold || 0
           } else {
             this.totalGold = 0
+            this.cancelGold = 0
           }
         }
       })