html页面里我ajax条件过去,是不是ajax返回和excel导出数据冲突了?,如果是这样该如何解决啊?
已经查询出需要打印的二维数组了
php代码如下:
$head = ['订单号','品牌名称','产品名称','产品类型','工艺','颜色','下单时间','出货时间','审核状态','结算状态','出货状态','备注'];
$keys = ['order_num','username','pro_name','mold','technics','colour','order_time','shipment_time','audit','settlement','shipment','remarks'];
dump($orderList);die;
$count = count($head); //计算表头数量
// dump($count);die;
$spreadsheet = new Spreadsheet();
$sheet = $spreadsheet->getActiveSheet();
// dump($sheet);die;