|
@@ -84,7 +84,7 @@ class CashBackService extends CrudService {
|
|
|
else if (type === 'percent') {
|
|
|
const specId = _.get(gs, '_id');
|
|
|
const realPay = _.get(moneyDetail, `${specId}.${priceKey}`);
|
|
|
- const grm = this.ctx.multiply(realPay, this.ctx.divide(money, 10));
|
|
|
+ const grm = this.ctx.multiply(realPay, this.ctx.divide(money, 100));
|
|
|
rmoney = this.ctx.plus(rmoney, grm);
|
|
|
}
|
|
|
}
|