浏览代码

添加规格名称

dong025 6 天之前
父节点
当前提交
78688011a5
共有 3 个文件被更改,包括 5 次插入1 次删除
  1. 1 0
      app/admin/command/FengSu.php
  2. 1 0
      app/admin/command/JuShuiTan.php
  3. 3 1
      app/admin/controller/goods/ImportList.php

+ 1 - 0
app/admin/command/FengSu.php

@@ -165,6 +165,7 @@ class FengSu extends Command
                 'weight'         =>$weight,
                 'price'         => $price,
                 'status'        => $status,
+                'specs_name'        => $getPackSpecsFee['data']['title'],
                 'pack_specs_id'        => $getPackSpecsFee['data']['id'],
                 'labor_cost_money'        => $getPackSpecsFee['data']['labor_cost_money'],
                 'one_surcharge_money'        => $getPackSpecsFee['one_surcharge_money'],

+ 1 - 0
app/admin/command/JuShuiTan.php

@@ -183,6 +183,7 @@ class JuShuiTan extends Command
                 'weight'         => $item['weight'],
                 'price'         => bcdiv((string)$item['disInnerOrderGoodsViewList'][0]['price'], '1', 2),
                 'status'        => $status,
+                'specs_name'        => $getPackSpecsFee['data']['title'],
                 'pack_specs_id'        => $getPackSpecsFee['data']['id'],
                 'labor_cost_money'        => $getPackSpecsFee['data']['labor_cost_money'],
                 'one_surcharge_money'        => $getPackSpecsFee['one_surcharge_money'],

+ 3 - 1
app/admin/controller/goods/ImportList.php

@@ -263,6 +263,7 @@ class ImportList extends Backend
                         $shopDelivery_list[] = $res['shopDelivery'];
                         $import_list_item = [
                             'id' => $item['id'],
+                            'specs_name'        => $getPackSpecsFee['data']['title'],
                             'pack_specs_id' => $getPackSpecsFee['data']['id'],
                             'labor_cost_money' => $getPackSpecsFee['data']['labor_cost_money'],
                             'one_surcharge_money' => $getPackSpecsFee['one_surcharge_money'],
@@ -327,9 +328,10 @@ class ImportList extends Backend
                                 $shopDelivery_updata_list[] = $res['shopDelivery'];
                             }
                         }
-
+                        
                         $import_list_item = [
                             'id' => $item['id'],
+                            'specs_name'        => $getPackSpecsFee['data']['title'],
                             'pack_specs_id' => $getPackSpecsFee['data']['id'],
                             'labor_cost_money' => $getPackSpecsFee['data']['labor_cost_money'],
                             'one_surcharge_money' => $getPackSpecsFee['one_surcharge_money'],