lrf před 2 roky
rodič
revize
d1b9a78f21
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app/service/statistics/bill.js

+ 1 - 1
app/service/statistics/bill.js

@@ -134,7 +134,7 @@ class BillService extends CrudService {
         goods: _.get(o, 'goods.goods.name'),
         spec: _.get(o, 'goods.name'),
         spec_id: _.get(o, 'goods._id'),
-        freight: _.get(0, 'goods.freight'),
+        freight: _.get(o, 'goods.freight'),
         buy_num: _.get(o, 'goods.buy_num'),
         price: o.type === '1' ? _.get(o, 'goods.group_config.money') : _.get(o, 'goods.sell_money'),
         discount: _.get(moneyDetail, 'dt'),