lrf 2 years ago
parent
commit
42c5f59621
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/trade/orderDetail.js

+ 1 - 1
app/service/trade/orderDetail.js

@@ -46,7 +46,7 @@ class OrderDetailService extends CrudService {
       const remarks = _.get(s, 'remarks');
       const remarks = _.get(s, 'remarks');
       const goodsList = _.get(s, 'goods', []);
       const goodsList = _.get(s, 'goods', []);
       const detailNo = `${no}-${noTimes}`;
       const detailNo = `${no}-${noTimes}`;
-      const total_detail = shopMoneyDetail;
+      const total_detail = shopMoneyDetail[shop];
       // 优惠部分分割
       // 优惠部分分割
       if (_.get(otd, 'discount_detail')) {
       if (_.get(otd, 'discount_detail')) {
         // 如果有优惠部分,那就得找,优惠里面有没有对应的商品规格
         // 如果有优惠部分,那就得找,优惠里面有没有对应的商品规格