zhangdehua 10 месяцев назад
Родитель
Сommit
b43b4cd965
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      app/store/service/order/Export.php

+ 2 - 0
app/store/service/order/Export.php

@@ -99,6 +99,7 @@ class Export extends BaseService
                 'USD',
                 $item['total_price'],
                 $item['total_price'],
+                $item['express_no'],
             ];
         }
         // 格式化生成表格数据
@@ -261,6 +262,7 @@ class Export extends BaseService
             $sheet->setCellValueByColumnAndRow(37, $row, $item[20]);
             $sheet->setCellValueByColumnAndRow(38, $row, $item[21]);
             $sheet->setCellValueByColumnAndRow(39, $row, $item[22]);
+            $sheet->setCellValueByColumnAndRow(11, $row, $item[23]);
         }
         // 生成文件路径
         $fileName = 'order-' . time() . '.xlsx';