|
@@ -65,6 +65,8 @@
|
65
|
65
|
<div>{{scope.row.currentChips}}</div>
|
66
|
66
|
</template>
|
67
|
67
|
</el-table-column>
|
|
68
|
+ <el-table-column label="閒家輸贏" prop="effectiveWagger"></el-table-column>
|
|
69
|
+ <el-table-column label="閒家抽水" prop="effectiveServiceFees"></el-table-column>
|
68
|
70
|
</el-table-column>
|
69
|
71
|
</el-table-column>
|
70
|
72
|
</el-table>
|
|
@@ -320,6 +322,9 @@ export default {
|
320
|
322
|
this.bookie[0].effectiveWagger = _.sumBy(this.detail, item => {
|
321
|
323
|
return Math.abs(item.MemberRecord.earned) ;
|
322
|
324
|
})
|
|
325
|
+ this.bookie[0].effectiveServiceFees = _.sumBy(this.detail, item => {
|
|
326
|
+ return Math.abs(item.MemberRecord.serviceFees) ;
|
|
327
|
+ })
|
323
|
328
|
console.log('ssss', this.detail)
|
324
|
329
|
this.bookie[0].currentChips = Number(this.bookie[0].MemberRecord.currentChips) + Number(this.bookie[0].MemberRecord.chips)
|
325
|
330
|
this.bookie[0].bookieResult = this.bookie[0].MemberRecord.earned - this.bookie[0].MemberRecord.serviceFees - this.bookie[0].MemberRecord.wagerServiceFees -this.bookie[0].MemberRecord.FixedServiceFees
|