Pārlūkot izejas kodu

serviceFee adjust

ethan 6 gadi atpakaļ
vecāks
revīzija
b9bb270369
1 mainītis faili ar 9 papildinājumiem un 5 dzēšanām
  1. 9 5
      src/views/gambleGameBucket/detail/index.vue

+ 9 - 5
src/views/gambleGameBucket/detail/index.vue

@@ -34,7 +34,7 @@
34 34
           </el-table-column>  
35 35
           <el-table-column label="有效下注量">
36 36
             <template slot-scope="scope">
37
-              <div :style="moneyColor(scope.row.effectiveWagger)">{{scope.row.effectiveWagger}}</div>
37
+              <div>{{scope.row.effectiveWagger}}</div>
38 38
             </template>
39 39
           </el-table-column>     
40 40
           <el-table-column label="莊輸贏">
@@ -42,14 +42,18 @@
42 42
               <div :style="moneyColor(scope.row.MemberRecord.earned)">{{scope.row.MemberRecord.earned}}</div>
43 43
             </template>
44 44
           </el-table-column>      
45
-          <el-table-column label="抽水" prop="MemberRecord.serviceFees"></el-table-column>
45
+          <el-table-column label="抽水" prop="MemberRecord.serviceFees">
46
+              <template slot-scope="scope">
47
+                <div>{{scope.row.MemberRecord.serviceFees - scope.row.MemberRecord.FixedServiceFees}}</div>
48
+            </template>
49
+          </el-table-column>
50
+          <el-table-column prop="MemberRecord.FixedServiceFees" label="服務費">
51
+          </el-table-column>
46 52
           <el-table-column label="莊家結果">
47 53
             <template slot-scope="scope">
48 54
               <div :style="moneyColor(scope.row.bookieResult)">{{scope.row.bookieResult}}</div>
49 55
             </template>
50
-          </el-table-column>  
51
-          <el-table-column prop="MemberRecord.FixedServiceFees" label="服務費">
52
-          </el-table-column>     
56
+          </el-table-column>    
53 57
         </el-table-column>             
54 58
       </el-table-column>                   
55 59
     </el-table>