Browse Source

bookie currentChips

ethan 6 years ago
parent
commit
aac5847888
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/gambleGameBucket/detail/index.vue

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

62
           </el-table-column>
62
           </el-table-column>
63
           <el-table-column label="最終積分">
63
           <el-table-column label="最終積分">
64
             <template slot-scope="scope">
64
             <template slot-scope="scope">
65
-              <div>{{0}}</div>
65
+              <div>{{scope.row.currentChips}}</div>
66
             </template>
66
             </template>
67
           </el-table-column>  
67
           </el-table-column>  
68
         </el-table-column>             
68
         </el-table-column>             
321
           return Math.abs(item.MemberRecord.earned) ;
321
           return Math.abs(item.MemberRecord.earned) ;
322
         })
322
         })
323
         console.log('ssss', this.detail)
323
         console.log('ssss', this.detail)
324
+        this.bookie[0].currentChips = Number(this.bookie[0].MemberRecord.currentChips) + Number(this.bookie[0].MemberRecord.chips)
324
         this.bookie[0].bookieResult = this.bookie[0].MemberRecord.earned - this.bookie[0].MemberRecord.serviceFees - this.bookie[0].MemberRecord.wagerServiceFees -this.bookie[0].MemberRecord.FixedServiceFees
325
         this.bookie[0].bookieResult = this.bookie[0].MemberRecord.earned - this.bookie[0].MemberRecord.serviceFees - this.bookie[0].MemberRecord.wagerServiceFees -this.bookie[0].MemberRecord.FixedServiceFees
325
         // console.log('bookie', this.bookie[0].effectiveWagger)
326
         // console.log('bookie', this.bookie[0].effectiveWagger)
326
         this.group.map((item, itemIndex) => {
327
         this.group.map((item, itemIndex) => {