|
@@ -4641,8 +4641,8 @@ class StatisticsController extends Controller
|
4641
|
4641
|
$result = json_decode(json_encode($result), true);
|
4642
|
4642
|
$result = array_merge([$data], $result);
|
4643
|
4643
|
|
4644
|
|
- $indexKey = ['idate','throw_cost','cust_count','order_count','order_amount','goods_cost', 'freight_cost', 'aftersale_cost', 'profit'];
|
4645
|
|
- $title = ['汇总日期', '总投放', '总客户数', '总下单数', '总销售额', '总货品成本', '总运费成本', '总售后', '总毛利'];
|
|
4644
|
+ $indexKey = ['idate','throw_cost','cust_count','order_count','order_amount','goods_cost', 'freight_cost', 'aftersale_cost', 'refund_fee', 'profit'];
|
|
4645
|
+ $title = ['汇总日期', '总投放', '总客户数', '总下单数', '总销售额', '总货品成本', '总运费成本', '总售后', '总退补', '总毛利'];
|
4646
|
4646
|
$filename = 'huizongshuj_'.date('Y-m-d_H').'.xlsx';
|
4647
|
4647
|
return Order::export_excel($result, $filename, $indexKey, $title);
|
4648
|
4648
|
}
|