Browse Source

change color

EthnaYeh 6 years ago
parent
commit
6d45387649
1 changed files with 15 additions and 15 deletions
  1. 15 15
      src/views/agnetManagement/gambleMemberManagement/index.vue

+ 15 - 15
src/views/agnetManagement/gambleMemberManagement/index.vue

24
           </el-table-column>
24
           </el-table-column>
25
           <el-table-column label="總上分額" align="center">
25
           <el-table-column label="總上分額" align="center">
26
             <template slot-scope="scope">
26
             <template slot-scope="scope">
27
-               <span :style="moneyColor(scope.row.allUp)">{{scope.row.allUp}}</span>
27
+               <span>{{scope.row.allUp}}</span>
28
             </template>
28
             </template>
29
           </el-table-column>
29
           </el-table-column>
30
           <el-table-column label="總下分額" align="center">
30
           <el-table-column label="總下分額" align="center">
31
             <template slot-scope="scope">
31
             <template slot-scope="scope">
32
-              <span :style="moneyColor(scope.row.allDown)">{{scope.row.allDown}}</span>
32
+              <span>{{scope.row.allDown}}</span>
33
             </template>
33
             </template>
34
           </el-table-column>
34
           </el-table-column>
35
           <el-table-column label="所有會員點數" align="center">
35
           <el-table-column label="所有會員點數" align="center">
36
             <template slot-scope="scope">
36
             <template slot-scope="scope">
37
-              <span :style="moneyColor(scope.row.allChips)">{{scope.row.allChips}}</span>
37
+              <span>{{scope.row.allChips}}</span>
38
             </template>
38
             </template>
39
           </el-table-column>
39
           </el-table-column>
40
           <el-table-column label="總投注量" align="center">
40
           <el-table-column label="總投注量" align="center">
41
             <template slot-scope="scope">
41
             <template slot-scope="scope">
42
-              <span :style="moneyColor(scope.row.allEarned)">{{scope.row.allEarned}}</span>
42
+              <span>{{scope.row.allEarned}}</span>
43
             </template>
43
             </template>
44
           </el-table-column>
44
           </el-table-column>
45
           <el-table-column label="總水量" align="center">
45
           <el-table-column label="總水量" align="center">
46
             <template slot-scope="scope">
46
             <template slot-scope="scope">
47
-              <span :style="moneyColor(scope.row.allServiceFees)">{{scope.row.allServiceFees}}</span>
47
+              <span>{{scope.row.allServiceFees}}</span>
48
             </template>
48
             </template>
49
           </el-table-column>
49
           </el-table-column>
50
           <el-table-column label="上繳工作室金額" align="center">
50
           <el-table-column label="上繳工作室金額" align="center">
67
           </el-table-column>
67
           </el-table-column>
68
           <el-table-column label="總上分額" align="center">
68
           <el-table-column label="總上分額" align="center">
69
             <template slot-scope="scope">
69
             <template slot-scope="scope">
70
-              <span :style="moneyColor(scope.row.totalUp)">{{scope.row.totalUp}}</span>
70
+              <span>{{scope.row.totalUp}}</span>
71
             </template>
71
             </template>
72
           </el-table-column>
72
           </el-table-column>
73
           <el-table-column label="總下分額" align="center">
73
           <el-table-column label="總下分額" align="center">
74
             <template slot-scope="scope">
74
             <template slot-scope="scope">
75
-              <span :style="moneyColor(scope.row.totalDown)">{{scope.row.totalDown}}</span>
75
+              <span>{{scope.row.totalDown}}</span>
76
             </template>
76
             </template>
77
           </el-table-column>
77
           </el-table-column>
78
           <el-table-column label="總獎勵" align="center">
78
           <el-table-column label="總獎勵" align="center">
79
             <template slot-scope="scope">
79
             <template slot-scope="scope">
80
-              <span :style="moneyColor(scope.row.totalReward)">{{scope.row.totalReward}}</span>
80
+              <span>{{scope.row.totalReward}}</span>
81
             </template>
81
             </template>
82
           </el-table-column>
82
           </el-table-column>
83
           <el-table-column label="總懲罰" align="center">
83
           <el-table-column label="總懲罰" align="center">
84
             <template slot-scope="scope">
84
             <template slot-scope="scope">
85
-              <span :style="moneyColor(scope.row.totalPunishment)">{{scope.row.totalDown}}</span>
85
+              <span>{{scope.row.totalDown}}</span>
86
             </template>
86
             </template>
87
           </el-table-column>
87
           </el-table-column>
88
-          <el-table-column label="莊家贏錢" align="center">
88
+          <!-- <el-table-column label="莊家贏錢" align="center">
89
             <template slot-scope="scope">
89
             <template slot-scope="scope">
90
               <span :style="moneyColor(scope.row.bookieEarned)">{{scope.row.bookieEarned}}</span>
90
               <span :style="moneyColor(scope.row.bookieEarned)">{{scope.row.bookieEarned}}</span>
91
             </template>
91
             </template>
94
             <template slot-scope="scope">
94
             <template slot-scope="scope">
95
               <span :style="moneyColor(scope.row.memberEarned)">{{scope.row.memberEarned}}</span>
95
               <span :style="moneyColor(scope.row.memberEarned)">{{scope.row.memberEarned}}</span>
96
             </template>
96
             </template>
97
-          </el-table-column>
97
+          </el-table-column> -->
98
           <el-table-column label="莊家抽水" align="center">
98
           <el-table-column label="莊家抽水" align="center">
99
             <template slot-scope="scope">
99
             <template slot-scope="scope">
100
-              <span :style="moneyColor(scope.row.bookieServiceFees)">{{scope.row.bookieServiceFees}}</span>
100
+              <span>{{scope.row.bookieServiceFees}}</span>
101
             </template>
101
             </template>
102
           </el-table-column>
102
           </el-table-column>
103
           <el-table-column label="閒家抽水" align="center">
103
           <el-table-column label="閒家抽水" align="center">
104
             <template slot-scope="scope">
104
             <template slot-scope="scope">
105
-              <span :style="moneyColor(scope.row.memberServiceFees)">{{scope.row.memberServiceFees}}</span>
105
+              <span>{{scope.row.memberServiceFees}}</span>
106
             </template>
106
             </template>
107
           </el-table-column>
107
           </el-table-column>
108
           <el-table-column label="總退水" align="center">
108
           <el-table-column label="總退水" align="center">
109
             <template slot-scope="scope">
109
             <template slot-scope="scope">
110
-              <span :style="moneyColor(scope.row.totalServiceFees)">{{scope.row.totalServiceFees}}</span>
110
+              <span>{{scope.row.totalServiceFees}}</span>
111
             </template>
111
             </template>
112
           </el-table-column>
112
           </el-table-column>
113
           <el-table-column label="會員結帳" align="center">
113
           <el-table-column label="會員結帳" align="center">
230
           }
230
           }
231
           if (bookie.true) {
231
           if (bookie.true) {
232
             row.bookieEarned = _.sumBy(bookie.true, 'earned');
232
             row.bookieEarned = _.sumBy(bookie.true, 'earned');
233
-            row.bookieServiceFees = _.sumBy(bookie.true, (item) => { return item.serviceFees-500; })*this.data.secondLayer.feeRatio/100;
233
+            row.bookieServiceFees = _.sumBy(bookie.true, (item) => { return item.serviceFees-item.FixedServiceFees })*this.data.secondLayer.feeRatio/100;
234
           }
234
           }
235
           row.totalServiceFees = new Decimal(row.bookieServiceFees).plus(row.memberServiceFees).valueOf()
235
           row.totalServiceFees = new Decimal(row.bookieServiceFees).plus(row.memberServiceFees).valueOf()
236
 
236