ethan лет назад: 6
Родитель
Сommit
14fd49fb88
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      src/views/agnetManagement/gambleMemberManagement/index.vue

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

243
             row.bookieEarned = _.sumBy(bookie.true, 'earned');
243
             row.bookieEarned = _.sumBy(bookie.true, 'earned');
244
             row.bookieServiceFees = _.sumBy(bookie.true, (item) => { return item.serviceFees})*this.data.secondLayer.feeRatio/100;
244
             row.bookieServiceFees = _.sumBy(bookie.true, (item) => { return item.serviceFees})*this.data.secondLayer.feeRatio/100;
245
           }
245
           }
246
-          row.totalServiceFees = new Decimal(row.bookieServiceFees).plus(row.memberServiceFees).valueOf()
247
-
246
+          row.totalServiceFees = new Decimal(row.bookieServiceFees).plus(row.memberServiceFees).puls(row.bookieWagerFee).valueOf()
248
           let chipsLog = _.groupBy(member.GambleMemberChipsLogs, 'type')
247
           let chipsLog = _.groupBy(member.GambleMemberChipsLogs, 'type')
249
           // console.log('type', chipsLog)
248
           // console.log('type', chipsLog)
250
           if (chipsLog['0'] || chipsLog['2']) {
249
           if (chipsLog['0'] || chipsLog['2']) {