|
@@ -382,22 +382,25 @@ class LowPriceGoods extends Controller
|
|
|
$sheet->setCellValue('C2', '平台');
|
|
$sheet->setCellValue('C2', '平台');
|
|
|
$sheet->setCellValue('D2', '商品分类');
|
|
$sheet->setCellValue('D2', '商品分类');
|
|
|
$sheet->setCellValue('E2', '商品名称');
|
|
$sheet->setCellValue('E2', '商品名称');
|
|
|
- $sheet->setCellValue('F2', '商品规格');
|
|
|
|
|
- $sheet->setCellValue('G2', '监控价格');
|
|
|
|
|
- $sheet->setCellValue('H2', '挂网价格');
|
|
|
|
|
- $sheet->setCellValue('I2', '累计挂网次数');
|
|
|
|
|
- $sheet->setCellValue('J2', '连续挂网次数');
|
|
|
|
|
- $sheet->setCellValue('K2', '链接地址');
|
|
|
|
|
- $sheet->setCellValue('L2', '店铺名称');
|
|
|
|
|
- $sheet->setCellValue('M2', '公司名称');
|
|
|
|
|
- $sheet->setCellValue('N2', '公司分类');
|
|
|
|
|
- $sheet->setCellValue('O2', '信用代码');
|
|
|
|
|
- $sheet->setCellValue('P2', '省份');
|
|
|
|
|
- $sheet->setCellValue('Q2', '城市');
|
|
|
|
|
- $sheet->setCellValue('R2', '溯源责任人');
|
|
|
|
|
- $sheet->setCellValue('S2', '处理状态');
|
|
|
|
|
- $sheet->setCellValue('T2', '任务状态');
|
|
|
|
|
- $sheet->setCellValue('U2', '记录时间');
|
|
|
|
|
|
|
+ $sheet->setCellValue('F2', '库存');
|
|
|
|
|
+ $sheet->setCellValue('G2', '销量');
|
|
|
|
|
+ $sheet->setCellValue('H2', '快照URL');
|
|
|
|
|
+ $sheet->setCellValue('I2', '商品规格');
|
|
|
|
|
+ $sheet->setCellValue('J2', '监控价格');
|
|
|
|
|
+ $sheet->setCellValue('K2', '挂网价格');
|
|
|
|
|
+ $sheet->setCellValue('L2', '累计挂网次数');
|
|
|
|
|
+ $sheet->setCellValue('M2', '连续挂网次数');
|
|
|
|
|
+ $sheet->setCellValue('N2', '链接地址');
|
|
|
|
|
+ $sheet->setCellValue('O2', '店铺名称');
|
|
|
|
|
+ $sheet->setCellValue('P2', '公司名称');
|
|
|
|
|
+ $sheet->setCellValue('Q2', '公司分类');
|
|
|
|
|
+ $sheet->setCellValue('R2', '信用代码');
|
|
|
|
|
+ $sheet->setCellValue('S2', '省份');
|
|
|
|
|
+ $sheet->setCellValue('T2', '城市');
|
|
|
|
|
+ $sheet->setCellValue('U2', '溯源责任人');
|
|
|
|
|
+ $sheet->setCellValue('V2', '处理状态');
|
|
|
|
|
+ $sheet->setCellValue('W2', '任务状态');
|
|
|
|
|
+ $sheet->setCellValue('X2', '记录时间');
|
|
|
|
|
|
|
|
$platform_data = [
|
|
$platform_data = [
|
|
|
'0' => '全部',
|
|
'0' => '全部',
|
|
@@ -427,22 +430,25 @@ class LowPriceGoods extends Controller
|
|
|
$sheet->setCellValue('C' . $row, isset($platform_data[$item['platform']]) ? $platform_data[$item['platform']] : '');
|
|
$sheet->setCellValue('C' . $row, isset($platform_data[$item['platform']]) ? $platform_data[$item['platform']] : '');
|
|
|
$sheet->setCellValue('D' . $row, $item['category_name']);
|
|
$sheet->setCellValue('D' . $row, $item['category_name']);
|
|
|
$sheet->setCellValue('E' . $row, $item['product_name']);
|
|
$sheet->setCellValue('E' . $row, $item['product_name']);
|
|
|
- $sheet->setCellValue('F' . $row, $item['product_specs']);
|
|
|
|
|
- $sheet->setCellValue('G' . $row, $item['suggested_price']);
|
|
|
|
|
- $sheet->setCellValue('H' . $row, $item['online_posting_price']);
|
|
|
|
|
- $sheet->setCellValue('I' . $row, $item['online_posting_count']);
|
|
|
|
|
- $sheet->setCellValue('J' . $row, $item['continuous_listing_count']);
|
|
|
|
|
- $sheet->setCellValue('k' . $row, $item['link_url']);
|
|
|
|
|
- $sheet->setCellValue('L' . $row, $item['store_name']);
|
|
|
|
|
- $sheet->setCellValue('M' . $row, $item['company_name']);
|
|
|
|
|
- $sheet->setCellValue('N' . $row, $item['company_category_name']);
|
|
|
|
|
- $sheet->setCellValue('O' . $row, $item['social_credit_code']);
|
|
|
|
|
- $sheet->setCellValue('P' . $row, $item['province_name']);
|
|
|
|
|
- $sheet->setCellValue('Q' . $row, $item['city_name']);
|
|
|
|
|
- $sheet->setCellValue('R' . $row, $source_responsible_person_name);
|
|
|
|
|
- $sheet->setCellValue('S' . $row, isset($processing_status_text[$item['processing_status']]) ? $processing_status_text[$item['processing_status']] : '');
|
|
|
|
|
- $sheet->setCellValue('T' . $row, isset($status_text[$item['status']]) ? $status_text[$item['status']] : '');
|
|
|
|
|
- $sheet->setCellValue('U' . $row, date('Y-m-d H:i:s', $item['insert_time']));
|
|
|
|
|
|
|
+ $sheet->setCellValue('F' . $row, $item['inventory']);
|
|
|
|
|
+ $sheet->setCellValue('G' . $row, $item['sales']);
|
|
|
|
|
+ $sheet->setCellValue('H' . $row, $item['snapshot_url']);
|
|
|
|
|
+ $sheet->setCellValue('I' . $row, $item['product_specs']);
|
|
|
|
|
+ $sheet->setCellValue('J' . $row, $item['suggested_price']);
|
|
|
|
|
+ $sheet->setCellValue('K' . $row, $item['online_posting_price']);
|
|
|
|
|
+ $sheet->setCellValue('L' . $row, $item['online_posting_count']);
|
|
|
|
|
+ $sheet->setCellValue('M' . $row, $item['continuous_listing_count']);
|
|
|
|
|
+ $sheet->setCellValue('N' . $row, $item['link_url']);
|
|
|
|
|
+ $sheet->setCellValue('O' . $row, $item['store_name']);
|
|
|
|
|
+ $sheet->setCellValue('P' . $row, $item['company_name']);
|
|
|
|
|
+ $sheet->setCellValue('Q' . $row, $item['company_category_name']);
|
|
|
|
|
+ $sheet->setCellValue('R' . $row, $item['social_credit_code']);
|
|
|
|
|
+ $sheet->setCellValue('S' . $row, $item['province_name']);
|
|
|
|
|
+ $sheet->setCellValue('T' . $row, $item['city_name']);
|
|
|
|
|
+ $sheet->setCellValue('U' . $row, $source_responsible_person_name);
|
|
|
|
|
+ $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']));
|
|
|
$row++;
|
|
$row++;
|
|
|
}
|
|
}
|
|
|
// 生成 Excel 文件
|
|
// 生成 Excel 文件
|