lrf 2 vuotta sitten
vanhempi
commit
038285a4a0
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      app/service/statistics/bill.js

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

@@ -134,6 +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'),
         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'),