ethan 6 anos atrás
pai
commit
9514581805
1 arquivos alterados com 4 adições e 1 exclusões
  1. 4 1
      src/views/gambleGameBucket/detail/index.vue

+ 4 - 1
src/views/gambleGameBucket/detail/index.vue

@@ -65,7 +65,7 @@
65 65
               <div>{{scope.row.currentChips}}</div>
66 66
             </template>
67 67
           </el-table-column>  
68
-          <el-table-column label="閒家輸贏" prop="effectiveWagger"></el-table-column>          
68
+          <el-table-column label="閒家輸贏" prop="memberWagger"></el-table-column>          
69 69
           <el-table-column label="閒家抽水" prop="effectiveServiceFees"></el-table-column>
70 70
         </el-table-column>             
71 71
       </el-table-column>                   
@@ -320,6 +320,9 @@ export default {
320 320
         }, [])
321 321
         console.log('eee', this.detail)
322 322
         this.bookie[0].effectiveWagger = _.sumBy(this.detail, item => {
323
+          return Math.abs(item.MemberRecord.earned);
324
+        })
325
+        this.bookie[0].memberWagger = _.sumBy(this.detail, item => {
323 326
           return item.MemberRecord.earned;
324 327
         })
325 328
         this.bookie[0].effectiveServiceFees = _.sumBy(this.detail, item => {