|
@@ -65,7 +65,7 @@
|
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>
|
|
68
|
+ <el-table-column label="閒家輸贏" prop="memberWagger"></el-table-column>
|
69
|
69
|
<el-table-column label="閒家抽水" prop="effectiveServiceFees"></el-table-column>
|
70
|
70
|
</el-table-column>
|
71
|
71
|
</el-table-column>
|
|
@@ -320,6 +320,9 @@ export default {
|
320
|
320
|
}, [])
|
321
|
321
|
console.log('eee', this.detail)
|
322
|
322
|
this.bookie[0].effectiveWagger = _.sumBy(this.detail, item => {
|
|
323
|
+ return Math.abs(item.MemberRecord.earned);
|
|
324
|
+ })
|
|
325
|
+ this.bookie[0].memberWagger = _.sumBy(this.detail, item => {
|
323
|
326
|
return item.MemberRecord.earned;
|
324
|
327
|
})
|
325
|
328
|
this.bookie[0].effectiveServiceFees = _.sumBy(this.detail, item => {
|