|
@@ -1668,7 +1668,9 @@ class Center extends Auth
|
|
|
$dir = dirname(realpath(dirname($_SERVER['SCRIPT_FILENAME']))) . '/public/';
|
|
|
$templateProcessor = new TemplateProcessor($dir.'/cgdd.docx');
|
|
|
$templateProcessor->cloneRow('id',3);
|
|
|
+
|
|
|
$templateProcessor->setValue('id#1', '1');
|
|
|
+ $templateProcessor->setValue('bh#1', '1');
|
|
|
$templateProcessor->setValue('name#1', '名称');
|
|
|
$templateProcessor->setValue('gg#1', '规格');
|
|
|
$templateProcessor->setValue('num#1', '10');
|
|
@@ -1676,6 +1678,7 @@ class Center extends Auth
|
|
|
$templateProcessor->setValue('allprice#1', '20');
|
|
|
|
|
|
$templateProcessor->setValue('id#2', '1');
|
|
|
+ $templateProcessor->setValue('bh#2', '1');
|
|
|
$templateProcessor->setValue('name#2', '名称');
|
|
|
$templateProcessor->setValue('gg#2', '规格');
|
|
|
$templateProcessor->setValue('num#2', '10');
|
|
@@ -1683,6 +1686,7 @@ class Center extends Auth
|
|
|
$templateProcessor->setValue('allprice#2', '20');
|
|
|
|
|
|
$templateProcessor->setValue('id#3', '1');
|
|
|
+ $templateProcessor->setValue('bh#3', '1');
|
|
|
$templateProcessor->setValue('name#3', '名称');
|
|
|
$templateProcessor->setValue('gg#4', '规格');
|
|
|
$templateProcessor->setValue('num#4', '10');
|