修改活动专区商品列表导出
This commit is contained in:
parent
58224a6e62
commit
c6941df7cc
@ -74,14 +74,10 @@ class ActivityZoneService
|
|||||||
}
|
}
|
||||||
$count = count($data);
|
$count = count($data);
|
||||||
$sheet->mergeCells('A' . ($count + 7) . ':F' . ($count + 7));
|
$sheet->mergeCells('A' . ($count + 7) . ':F' . ($count + 7));
|
||||||
$sheet->setCellValue('A' . ($count + 7), "专区类型:{$typeName}");
|
$sheet->setCellValue('A' . ($count + 7), "备注:{$remark}");
|
||||||
$sheet->mergeCells('A' . ($count + 8) . ':F' . ($count + 8));
|
$sheet->getRowDimension($count + 7)->setRowHeight(50);
|
||||||
$sheet->setCellValue('A' . ($count + 8), "");
|
$sheet->getStyle('A' . ($count + 7))->getAlignment()->setWrapText(true);
|
||||||
$sheet->mergeCells('A' . ($count + 9) . ':F' . ($count + 9));
|
$sheet->getStyle('A' . ($count + 7). ':' . 'F' . ($count + 7))->applyFromArray($leftStyle);
|
||||||
$sheet->setCellValue('A' . ($count + 9), "备注:{$remark}");
|
|
||||||
$sheet->getRowDimension($count + 9)->setRowHeight(50);
|
|
||||||
$sheet->getStyle('A' . ($count + 9))->getAlignment()->setWrapText(true);
|
|
||||||
$sheet->getStyle('A' . ($count + 7). ':' . 'F' . ($count + 9))->applyFromArray($leftStyle);
|
|
||||||
|
|
||||||
// 设置单元格的样式
|
// 设置单元格的样式
|
||||||
$styleArray = [
|
$styleArray = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user