修复html打印模板bug

This commit is contained in:
2021-04-01 11:52:47 +08:00
parent 27effe8a47
commit 747ceb3bf0
16 changed files with 25 additions and 20 deletions
@@ -748,6 +748,7 @@ class OrderController extends WorkflowController
$data['form'] = $form;
$data['template'] = $template;
$tpl = $this->display($data, 'print/'.$template_id);
//return $tpl;
return $print_type == 'pdf' ? print_prince($tpl) : $tpl;
}
@@ -203,7 +203,7 @@ class SampleApplyController extends WorkflowController
public function print()
{
$this->layout = 'layouts.print2';
$this->layout = 'layouts.print_html';
print_prince($this->create('print'));
}
@@ -144,7 +144,7 @@
<tr>
<td width="10%">特别说明</td>
<td width="90%">
收货时请按我司《随货单》点货验收。货物如有缺失或者破损,请与承运方协调,采取现场赔付,如协调无法达成一致意见,请第一时间告知我司并向承运方索取有效货物异常证明(贵司收货人与承运方双方签字认可的货物运单)回单至我司028-38296888并确认收到。
收货时请按我司《随货单》点货验收。货物如有缺失或者破损,请与承运方协调,采取现场赔付,如协调无法达成一致意见,请第一时间告知我司并向承运方索取有效货物异常证明(贵司收货人与承运方双方签字认可的货物运单)回单至我司并确认收到。
</td>
</tr>
<tr>