diff --git a/app/common/service/xlsx/Beforehand.php b/app/common/service/xlsx/Beforehand.php index 28f3f2b88..0c6958c21 100644 --- a/app/common/service/xlsx/Beforehand.php +++ b/app/common/service/xlsx/Beforehand.php @@ -30,9 +30,11 @@ class Beforehand $textRun =$section->addTextRun(); $textRun->addText($v['system_store'], $fontStyle); - $textRun->addText(' '.mb_substr($v['subtitle'], 0, 8, 'UTF-8'), $fontStyle1); + $textRun->addText(' '.$v['subtitle'], $fontStyle1); $section->addText(mb_substr( $v['store_name'], 0, 16, 'UTF-8'), $fontStyle2); $section->addText($v['address'], $fontStyle3); + $section->addPageBreak(); + } $objWriter = \PhpOffice\PhpWord\IOFactory::createWriter($phpWord, 'Word2007');