ethan 6 anos atrás
pai
commit
b49b5581a1

+ 4 - 3
src/views/agnetManagement/gambleMemberManagement/index.vue

@@ -107,7 +107,7 @@
107 107
           </el-table-column>
108 108
           <el-table-column label="莊家總投注量退水" align="center">
109 109
             <template slot-scope="scope">
110
-              <span>{{scope.row.bookieWagerFee * this.data.secondLayer.feeRatio/100}}</span>
110
+              <span>{{scope.row.bookieWagerFee * scope.row.feeRatio}}</span>
111 111
             </template>
112 112
           </el-table-column>
113 113
           <el-table-column label="莊家總抽水" align="center">
@@ -117,7 +117,7 @@
117 117
           </el-table-column>
118 118
           <el-table-column label="莊家退水" align="center">
119 119
             <template slot-scope="scope">
120
-              <span>{{scope.row.bookieServiceFees * this.data.secondLayer.feeRatio/100}}</span>
120
+              <span>{{scope.row.bookieServiceFees * scope.row.feeRatio}}</span>
121 121
             </template>
122 122
           </el-table-column>
123 123
           <el-table-column label="閒家總抽水" align="center">
@@ -127,7 +127,7 @@
127 127
           </el-table-column>
128 128
           <el-table-column label="閒家退水" align="center">
129 129
             <template slot-scope="scope">
130
-              <span>{{scope.row.memberServiceFees * this.data.secondLayer.feeRatio/100}}</span>
130
+              <span>{{scope.row.memberServiceFees * scope.row.feeRatio}}</span>
131 131
             </template>
132 132
           </el-table-column>
133 133
           <el-table-column label="總退水" align="center">
@@ -245,6 +245,7 @@ export default {
245 245
             memberServiceFees: 0,
246 246
             totalServiceFees: 0,
247 247
             memberCheckOut: 0,
248
+            feeRatio: this.data.secondLayer.feeRatio/100,
248 249
           }
249 250
         
250 251
           let bookie = _.groupBy(member['GambleGame-Bucket-MemberRecords'], 'isBookie')