Accept Merge Request #2226: (feature/平台下单接口优化 -> develop)
Merge Request: 修改出厂检验报告模版 Created By: @禹翔辉 Reviewed By: @胡尧 Approved By: @胡尧 Accepted By: @禹翔辉 URL: https://jikimo-hn.coding.net/p/jikimo_sfs/d/jikimo_sf/git/merge/2226
This commit is contained in:
@@ -207,7 +207,7 @@
|
|||||||
<!-- </div> -->
|
<!-- </div> -->
|
||||||
<div style="position: absolute; bottom: 0; left: 0; right: 0;" class="footer">
|
<div style="position: absolute; bottom: 0; left: 0; right: 0;" class="footer">
|
||||||
<t t-call="sf_quality.report_quality_footer"/>
|
<t t-call="sf_quality.report_quality_footer"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@@ -216,20 +216,18 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 只在最后一页显示页脚 */
|
|
||||||
.footer:last-of-type {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 确保分页时内容不会与页脚重叠 */
|
/* 确保分页时内容不会与页脚重叠 */
|
||||||
@media print {
|
@media print {
|
||||||
.page {
|
.page {
|
||||||
page-break-after: always;
|
page-break-after: always;
|
||||||
margin-bottom: 250px; /* 与页脚高度匹配 */
|
margin-bottom: 0; /* 移除之前的250px设置 */
|
||||||
}
|
}
|
||||||
.page:last-child {
|
.page:last-child {
|
||||||
page-break-after: auto;
|
page-break-after: auto;
|
||||||
}
|
}
|
||||||
|
.page:last-child .footer {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</t>
|
</t>
|
||||||
|
|||||||
Reference in New Issue
Block a user