Sfoglia il codice sorgente

bookie currentChips

ethan 6 anni fa
parent
commit
aac5847888
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      src/views/gambleGameBucket/detail/index.vue

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

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