删除了项目负责人职称的填写
This commit is contained in:
parent
7b150ee8ac
commit
3e881ec267
|
@ -306,7 +306,7 @@ class Order
|
||||||
$pdf->template = $this->config->offline->template;
|
$pdf->template = $this->config->offline->template;
|
||||||
|
|
||||||
$pdf->heihetemplate = $this->config->offline->heihetemplate;
|
$pdf->heihetemplate = $this->config->offline->heihetemplate;
|
||||||
$formData['project'].='['.$formData['project_title'].' | '.$formData['project_type'].' | '.$formData['project_id'].' | ' . $formData['leader'] . ' | ' .$formData['leadertitle']. ']';
|
$formData['project'].='['.$formData['project_title'].' | '.$formData['project_type'].' | '.$formData['project_id'].' | ' . $formData['leader'] . ']';
|
||||||
$pdf->data = $formData;
|
$pdf->data = $formData;
|
||||||
|
|
||||||
if (isset($formData['westdclist'])) $pdf->drawWestdc();
|
if (isset($formData['westdclist'])) $pdf->drawWestdc();
|
||||||
|
@ -324,8 +324,8 @@ class Order
|
||||||
//header("Content-Length: " . strlen($pdfstring));
|
//header("Content-Length: " . strlen($pdfstring));
|
||||||
echo $pdf->Output('westdc-data-apply.pdf','S');
|
echo $pdf->Output('westdc-data-apply.pdf','S');
|
||||||
}else{
|
}else{
|
||||||
//$fn = $formData['realname'].date('YmdHis').".pdf";
|
$fn = $formData['realname'].date('YmdHis').".pdf";
|
||||||
$fn = date('YmdHis').".pdf";
|
//$fn = date('YmdHis').".pdf";
|
||||||
$path = realpath($this->config->offline->savepath);
|
$path = realpath($this->config->offline->savepath);
|
||||||
$pdf->pdflink = $fn;
|
$pdf->pdflink = $fn;
|
||||||
@$pdf->Output($path.DIRECTORY_SEPARATOR.$fn, 'F');
|
@$pdf->Output($path.DIRECTORY_SEPARATOR.$fn, 'F');
|
||||||
|
|
|
@ -115,11 +115,6 @@ class PdfForm implements \Order\listener\PdfFormEvents
|
||||||
return "请填写项目负责人";
|
return "请填写项目负责人";
|
||||||
}
|
}
|
||||||
|
|
||||||
if(empty($formData['leadertitle']))
|
|
||||||
{
|
|
||||||
return "请填写项目负责人职称";
|
|
||||||
}
|
|
||||||
|
|
||||||
if(empty($formData['project']))
|
if(empty($formData['project']))
|
||||||
{
|
{
|
||||||
return "请填写用途";
|
return "请填写用途";
|
||||||
|
|
Loading…
Reference in New Issue