ethan лет назад: 6
Родитель
Сommit
a4e15ff69a

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

@@ -231,7 +231,9 @@ export default {
231 231
         
232 232
           let bookie = _.groupBy(member['GambleGame-Bucket-MemberRecords'], 'isBookie')
233 233
           if (bookie.false) {
234
-            row.memberEarned = _.sumBy(bookie.false, 'earned');
234
+            row.memberEarned = _.sumBy(bookie.false, item => {
235
+              return Math.abs(item.earned)
236
+            });
235 237
             row.memberServiceFees = _.sumBy(bookie.false, 'serviceFees')*this.data.secondLayer.feeRatio/100;
236 238
           }
237 239
           if (bookie.true) {

+ 0 - 1
src/views/gambleGameBucket/detail/index.vue

@@ -447,7 +447,6 @@ export default {
447 447
       }
448 448
     },
449 449
     hasPunishment(data) {
450
-      console.log('wwwwwwff',data)
451 450
       return data.length !== 0 ? true : false
452 451
     }
453 452
   },