Browse Source

tablePoint

ethan 6 years ago
parent
commit
43120ec6b5
1 changed files with 13 additions and 0 deletions
  1. 13 0
      src/views/gambleGameBucket/detail/index.vue

+ 13 - 0
src/views/gambleGameBucket/detail/index.vue

61
               <div :style="moneyColor(scope.row.bookieResult)">{{scope.row.bookieResult}}</div>
61
               <div :style="moneyColor(scope.row.bookieResult)">{{scope.row.bookieResult}}</div>
62
             </template>
62
             </template>
63
           </el-table-column>
63
           </el-table-column>
64
+          <el-table-column label="檯面積分">
65
+            <template slot-scope="scope">
66
+              {{memberRecord[memberRecord.length-1][0].wager+scope.row.bookieResult}}
67
+              </template>    
68
+          </el-table-column> 
64
           <el-table-column label="最終積分">
69
           <el-table-column label="最終積分">
65
             <template slot-scope="scope">
70
             <template slot-scope="scope">
66
               <div>{{scope.row.currentChips}}</div>
71
               <div>{{scope.row.currentChips}}</div>
157
             <div :style="moneyColor(scope.row.totalChips)">{{scope.row.totalChips}}</div>
162
             <div :style="moneyColor(scope.row.totalChips)">{{scope.row.totalChips}}</div>
158
           </template>
163
           </template>
159
         </el-table-column>
164
         </el-table-column>
165
+        <el-table-column label="檯面積分" prop="tablePoint"></el-table-column>         
160
         <el-table-column label="最終積分">
166
         <el-table-column label="最終積分">
161
           <template slot-scope="scope">
167
           <template slot-scope="scope">
162
             <div>{{scope.row.MemberRecord.currentChips}}</div>
168
             <div>{{scope.row.MemberRecord.currentChips}}</div>
251
               <div :style="moneyColor(scope.row.bookieResult)">{{scope.row.bookieResult}}</div>
257
               <div :style="moneyColor(scope.row.bookieResult)">{{scope.row.bookieResult}}</div>
252
             </template>
258
             </template>
253
           </el-table-column>
259
           </el-table-column>
260
+          <el-table-column label="檯面積分">
261
+            <template slot-scope="scope">
262
+              {{memberRecord[memberRecord.length-1][0].wager+scope.row.bookieResult}}
263
+            </template>    
264
+          </el-table-column> 
254
           <el-table-column label="最終積分">
265
           <el-table-column label="最終積分">
255
             <template slot-scope="scope">
266
             <template slot-scope="scope">
256
               <div>{{scope.row.currentChips}}</div>
267
               <div>{{scope.row.currentChips}}</div>
527
         this.bookie[0].currentChips = Number(this.bookie[0].MemberRecord.currentChips) + Number(this.bookie[0].MemberRecord.chips)
538
         this.bookie[0].currentChips = Number(this.bookie[0].MemberRecord.currentChips) + Number(this.bookie[0].MemberRecord.chips)
528
         this.bookie[0].bookieResult = this.bookie[0].MemberRecord.earned - this.bookie[0].MemberRecord.serviceFees - this.bookie[0].MemberRecord.wagerServiceFees -this.bookie[0].MemberRecord.FixedServiceFees
539
         this.bookie[0].bookieResult = this.bookie[0].MemberRecord.earned - this.bookie[0].MemberRecord.serviceFees - this.bookie[0].MemberRecord.wagerServiceFees -this.bookie[0].MemberRecord.FixedServiceFees
529
         // console.log('bookie', this.bookie[0].effectiveWagger)
540
         // console.log('bookie', this.bookie[0].effectiveWagger)
541
+        // console.log('weqweqwe', this.bookie[0].bookieResult ,this.memberRecord[memberRecord.length-1][0].wager)
542
+        // this.bookie[0].tablePoint = this.bookie[0].bookieResult + this.memberRecord[memberRecord.length-1][0].wager
530
         this.group.map((item, itemIndex) => {
543
         this.group.map((item, itemIndex) => {
531
           let totalChips = 0
544
           let totalChips = 0
532
           item.map((person, personIndex) => {
545
           item.map((person, personIndex) => {