|
@@ -42,8 +42,8 @@ class OrderService extends CrudService {
|
|
|
i.discount = this.ctx.minus(0, discount);
|
|
|
} else {
|
|
|
const { sell_money, num, freight } = i;
|
|
|
- goods_total = this.ctx.multiply(num, sell_money);
|
|
|
- freight_total = this.ctx.multiply(num, freight);
|
|
|
+ i.goods_total = this.ctx.multiply(num, sell_money);
|
|
|
+ i.freight_total = this.ctx.multiply(num, freight);
|
|
|
}
|
|
|
|
|
|
}
|