Merge branch 'develop' of https://e.coding.net/jikimo-hn/jikimo_sfs/jikimo_sf into feature/commercially_launched
This commit is contained in:
@@ -4,23 +4,23 @@
|
|||||||
<!-- 定义页眉模板 -->
|
<!-- 定义页眉模板 -->
|
||||||
<template id="report_quality_header">
|
<template id="report_quality_header">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="pdf-viewer-toolbar" style="display:flex;justify-content:space-between;align-items:center;">
|
<div class="pdf-viewer-toolbar" style="display:flex;justify-content:space-between;">
|
||||||
<img t-if="o.company_id.favicon" t-att-src="image_data_uri(o.company_id.favicon)" style="max-height: 70px;" alt="Logo"/>
|
<img src="/sf_quality/static/img/logo.png" style="max-height: 70px;" alt="Logo"/>
|
||||||
|
|
||||||
<div class="text-center">
|
<div class="text-center" >
|
||||||
<h2>出厂检验报告</h2>
|
<h2 style="line-height: 133px;">出厂检验报告</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="float-right" style="text-align: right;">
|
<div style="padding-top: 20px;">
|
||||||
<!-- 使用公开访问URL的二维码 -->
|
<!-- 使用公开访问URL的二维码 -->
|
||||||
<img t-att-src="'/report/barcode/QR/%s' % o.get_report_url()" style="width:80px;height:80px"/>
|
<img t-att-src="'/report/barcode/QR/%s?width=100&height=100' % o.get_report_url()" style="width:80px;height:80px"/>
|
||||||
<div style="font-size: 20px;">
|
<div style="font-size: 14px;">
|
||||||
<strong>报告编号: </strong><span t-field="o.name"/>
|
<strong>报告编号: </strong><span t-field="o.name"/>
|
||||||
|
</div>
|
||||||
|
<!-- 添加扫码提示 -->
|
||||||
|
<div style="font-size: 12px;">
|
||||||
|
<strong>扫描二维码查看PDF报告</strong>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 添加扫码提示 -->
|
|
||||||
<div style="font-size: 12px; margin-top: 5px;">
|
|
||||||
<strong>扫描二维码查看PDF报告</strong>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -29,19 +29,15 @@
|
|||||||
<template id="report_quality_footer">
|
<template id="report_quality_footer">
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-6">
|
<p style="float: left;width: 50%;margin-bottom: 10px;">售后服务: <span t-field="o.company_id.phone"/></p>
|
||||||
<p>售后服务: <span t-field="o.company_id.phone"/></p>
|
<p style="float: left;width: 50%;margin-bottom: 10px;">公司名称: <span t-field="o.company_id.name"/></p>
|
||||||
<p>公司名称: <span t-field="o.company_id.name"/></p>
|
<p style="float: left;width: 50%;margin-bottom: 10px;">公司网址: <span t-field="o.company_id.website"/></p>
|
||||||
<p>公司网址: <span t-field="o.company_id.website"/></p>
|
<p style="float: left;width: 50%;margin-bottom: 10px;">公司邮箱: <span t-field="o.company_id.email"/></p>
|
||||||
<p>公司邮箱: <span t-field="o.company_id.email"/></p>
|
<p style="float: left;width: 50%;margin-bottom: 10px;">加工工厂: <span t-field="o.company_id.factory_name"/></p>
|
||||||
</div>
|
|
||||||
<div class="col-6">
|
|
||||||
<p>加工工厂: <span t-field="o.company_id.factory_name"/></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="text-center">
|
<!-- <div class="text-center">
|
||||||
<span>第<span class="page"/> 页/共 <span class="topage"/>页</span>
|
<span>第<span class="page"/> 页/共 <span class="topage"/>页</span>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template id="report_quality_inspection">
|
<template id="report_quality_inspection">
|
||||||
@@ -115,7 +111,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<img src="/sf_quality/static/img/pass.png" style="width: 200px; height: 200px;position: absolute; bottom: 20px; right: 20%;"/>
|
<img src="/sf_quality/static/img/pass.png" style="width: 150px; height: 150px;position: absolute; bottom: 20px; right: 23%;"/>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row mt-4">
|
<div class="row mt-4">
|
||||||
@@ -142,7 +138,7 @@
|
|||||||
|
|
||||||
<div class="row mt-5">
|
<div class="row mt-5">
|
||||||
<div class="col-12 text-center">
|
<div class="col-12 text-center">
|
||||||
<p>(以下空白)</p>
|
<p></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
BIN
sf_quality/static/img/logo.png
Normal file
BIN
sf_quality/static/img/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
Reference in New Issue
Block a user