dever 3 years ago
parent
commit
e73329304f
1 changed files with 2 additions and 3 deletions
  1. 2 3
      app/shop/src/Excel.php

+ 2 - 3
app/shop/src/Excel.php

@@ -271,7 +271,7 @@ class Excel
         $file = Dever::input('excel_name');
 
 
-        $header = array('仓库名称', '供货商', '订货单号', '订货总数量', '入库价', '商品编码', '商品名称', '规格型号', '商品订货数量', '入库单价', '订货日期', '发货日期', '收货日期', '订货单状态', '已退商品数量');
+        $header = array('仓库名称', '供货商', '订货单号', '订货总数量', '入库价', '商品编码', '商品名称', '规格型号', '商品订货数量', '订货日期', '发货日期', '收货日期', '订货单状态', '已退商品数量');
 
         $table = 'store/info';
 
@@ -317,13 +317,12 @@ class Excel
                     $source,
                     $v['order_num'],
                     $v['num'],
-                    $v['p_price'],
+                    $v1['p_price'],
 
                     $goods_info['code'],
                     $goods_info['name'],
                     $sku,
                     $v1['num'],
-                    $v1['p_price'],
 
                     $cdate,
                     $fdate,