ethan %!s(int64=6) %!d(string=hace) años
padre
commit
43120ec6b5
Se han modificado 1 ficheros con 13 adiciones y 0 borrados
  1. 13 0
      src/views/gambleGameBucket/detail/index.vue

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

@@ -61,6 +61,11 @@
61 61
               <div :style="moneyColor(scope.row.bookieResult)">{{scope.row.bookieResult}}</div>
62 62
             </template>
63 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 69
           <el-table-column label="最終積分">
65 70
             <template slot-scope="scope">
66 71
               <div>{{scope.row.currentChips}}</div>
@@ -157,6 +162,7 @@
157 162
             <div :style="moneyColor(scope.row.totalChips)">{{scope.row.totalChips}}</div>
158 163
           </template>
159 164
         </el-table-column>
165
+        <el-table-column label="檯面積分" prop="tablePoint"></el-table-column>         
160 166
         <el-table-column label="最終積分">
161 167
           <template slot-scope="scope">
162 168
             <div>{{scope.row.MemberRecord.currentChips}}</div>
@@ -251,6 +257,11 @@
251 257
               <div :style="moneyColor(scope.row.bookieResult)">{{scope.row.bookieResult}}</div>
252 258
             </template>
253 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 265
           <el-table-column label="最終積分">
255 266
             <template slot-scope="scope">
256 267
               <div>{{scope.row.currentChips}}</div>
@@ -527,6 +538,8 @@ export default {
527 538
         this.bookie[0].currentChips = Number(this.bookie[0].MemberRecord.currentChips) + Number(this.bookie[0].MemberRecord.chips)
528 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 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 543
         this.group.map((item, itemIndex) => {
531 544
           let totalChips = 0
532 545
           item.map((person, personIndex) => {