Browse Source

Merge remote-tracking branch 'origin/master'

shensong 5 years ago
parent
commit
0415c5d658
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Admin/OrderController.php

+ 1 - 1
app/Http/Controllers/Admin/OrderController.php

130
                         $props_name = $goods_sku_info->propsName;
130
                         $props_name = $goods_sku_info->propsName;
131
                         $is_weigh = $goods_sku_info->is_weigh;
131
                         $is_weigh = $goods_sku_info->is_weigh;
132
                         $weigh_note = $is_weigh==1 ? '重量(斤)':'数量';
132
                         $weigh_note = $is_weigh==1 ? '重量(斤)':'数量';
133
-                        if(!$item->is_gift) $v['pre_cost'] += $goods_sku_info->referenceCost * $item->num;
133
+                        if(!$item->gift_id) $v['pre_cost'] += $goods_sku_info->referenceCost * $item->num;
134
                     }else{
134
                     }else{
135
                         $props_name = '';
135
                         $props_name = '';
136
                         $weigh_note = '数量';
136
                         $weigh_note = '数量';