Ver Código Fonte

bookie count

Encore 6 anos atrás
pai
commit
ec9f576308

+ 1 - 4
src/views/agnetManagement/gambleMemberManagement/index.vue

@@ -55,6 +55,7 @@
55 55
       </el-table>
56 56
       <el-table show-summary :summary-method="getSummaries" :data="combine" v-loading.body="listLoading" element-loading-text="Loading" border fit highlight-current-row>
57 57
         <el-table-column :label="`${(this.data.secondLayer.GambleMember.name).slice(19)}的會員`" align="center">
58
+          <el-table-column label="當莊次數" prop="bookieCount"  align="center"></el-table-column>          
58 59
           <el-table-column label="名稱" align="center">
59 60
             <template slot-scope="scope">
60 61
               <span>{{scope.row.name}}</span>
@@ -347,10 +348,6 @@ export default {
347 348
         const { columns, data } = param;
348 349
         let sums = [];
349 350
         columns.forEach((column, index) => {
350
-          if (index === 0) {
351
-            sums[index] = '合計';
352
-            return;
353
-          }
354 351
           const values = data.map(item => Number(item[column.property]));
355 352
           if (!values.every(value => isNaN(value))) {
356 353
             sums[index] = values.reduce((prev, curr) => {