Browse Source

modify bookie earned

ethan 6 years ago
parent
commit
054e05931a
1 changed files with 11 additions and 4 deletions
  1. 11 4
      src/views/gambleGameBucket/detail/index.vue

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

42
             <template slot-scope="scope">
42
             <template slot-scope="scope">
43
                 <div>{{scope.row.MemberRecord.wagerServiceFees}}</div>
43
                 <div>{{scope.row.MemberRecord.wagerServiceFees}}</div>
44
             </template>
44
             </template>
45
-          </el-table-column>      
45
+          </el-table-column> 
46
+          <!-- 
46
           <el-table-column label="莊輸贏">
47
           <el-table-column label="莊輸贏">
47
             <template slot-scope="scope">
48
             <template slot-scope="scope">
48
               <div :style="moneyColor(scope.row.MemberRecord.earned)">{{scope.row.MemberRecord.earned}}</div>
49
               <div :style="moneyColor(scope.row.MemberRecord.earned)">{{scope.row.MemberRecord.earned}}</div>
49
             </template>
50
             </template>
50
-          </el-table-column>     
51
+          </el-table-column>
52
+          -->
51
           <el-table-column label="莊贏抽水">
53
           <el-table-column label="莊贏抽水">
52
               <template slot-scope="scope">
54
               <template slot-scope="scope">
53
                 <div>{{scope.row.MemberRecord.serviceFees}}</div>
55
                 <div>{{scope.row.MemberRecord.serviceFees}}</div>
57
             <template slot-scope="scope">
59
             <template slot-scope="scope">
58
               <div :style="moneyColor(scope.row.bookieResult)">{{scope.row.bookieResult}}</div>
60
               <div :style="moneyColor(scope.row.bookieResult)">{{scope.row.bookieResult}}</div>
59
             </template>
61
             </template>
60
-          </el-table-column>    
62
+          </el-table-column>
63
+          <el-table-column label="最終積分">
64
+            <template slot-scope="scope">
65
+              <div>{{0}}</div>
66
+            </template>
67
+          </el-table-column>  
61
         </el-table-column>             
68
         </el-table-column>             
62
       </el-table-column>                   
69
       </el-table-column>                   
63
     </el-table>
70
     </el-table>
314
           return Math.abs(item.MemberRecord.earned) ;
321
           return Math.abs(item.MemberRecord.earned) ;
315
         })
322
         })
316
         console.log('ssss', this.detail)
323
         console.log('ssss', this.detail)
317
-        this.bookie[0].bookieResult = this.bookie[0].MemberRecord.earned - this.bookie[0].MemberRecord.serviceFees
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
318
         // console.log('bookie', this.bookie[0].effectiveWagger)
325
         // console.log('bookie', this.bookie[0].effectiveWagger)
319
         this.group.map((item, itemIndex) => {
326
         this.group.map((item, itemIndex) => {
320
           let totalChips = 0
327
           let totalChips = 0