瀏覽代碼

[智价云] 违规数据导出增加发货城市信息

tangyuanwang 7 小時之前
父節點
當前提交
9e797a87c0

+ 4 - 0
app/Http/Controllers/Manager/Process/LowPriceGoods.php

@@ -467,6 +467,8 @@ class LowPriceGoods extends Controller
         $sheet->setCellValue('V2', '处理状态');
         $sheet->setCellValue('W2', '任务状态');
         $sheet->setCellValue('X2', '记录时间');
+        $sheet->setCellValue('Y2', '发货省份');
+        $sheet->setCellValue('Z2', '发货城市');
 
         $platform_data = [
             '0' => '全部',
@@ -515,6 +517,8 @@ class LowPriceGoods extends Controller
             $sheet->setCellValue('V' . $row, isset($processing_status_text[$item['processing_status']]) ? $processing_status_text[$item['processing_status']] : '');
             $sheet->setCellValue('W' . $row, isset($status_text[$item['status']]) ? $status_text[$item['status']] : '');
             $sheet->setCellValue('X' . $row, date('Y-m-d H:i:s', $item['insert_time']));
+            $sheet->setCellValue('Y' . $row, $item['shipment_city_name']);
+            $sheet->setCellValue('Z' . $row, $item['shipment_city_name']);
             $row++;
         }
         // 生成 Excel 文件

+ 4 - 0
app/Http/Controllers/Manager/Process/ViolationProduct.php

@@ -465,6 +465,8 @@ class ViolationProduct extends Controller
         $sheet->setCellValue('T2', '处理状态');
         $sheet->setCellValue('U2', '任务状态');
         $sheet->setCellValue('V2', '记录时间');
+        $sheet->setCellValue('W2', '发货省份');
+        $sheet->setCellValue('X2', '发货城市');
 
         $platform_data = [
             '0' => '全部',
@@ -511,6 +513,8 @@ class ViolationProduct extends Controller
             $sheet->setCellValue('T' . $row, isset($processing_status_text[$item['processing_status']]) ? $processing_status_text[$item['processing_status']] : '');
             $sheet->setCellValue('U' . $row, isset($status_text[$item['status']]) ? $status_text[$item['status']] : '');
             $sheet->setCellValue('V' . $row, date('Y-m-d H:i:s', $item['insert_time']));
+            $sheet->setCellValue('W' . $row, $item['shipment_city_name']);
+            $sheet->setCellValue('X' . $row, $item['shipment_city_name']);
             $row++;
         }
         foreach (range('A', 'P') as $column) {