From 00ec669f667a185cd6d3f3bc9f8d74f480eea9e6 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 20 四月 2026 15:23:12 +0800
Subject: [PATCH] fix: 打印样式调整
---
src/views/salesManagement/salesLedger/index.vue | 46 ++++++++++++++++++++++------------------------
1 files changed, 22 insertions(+), 24 deletions(-)
diff --git a/src/views/salesManagement/salesLedger/index.vue b/src/views/salesManagement/salesLedger/index.vue
index 740371d..82c9504 100644
--- a/src/views/salesManagement/salesLedger/index.vue
+++ b/src/views/salesManagement/salesLedger/index.vue
@@ -503,7 +503,7 @@
</div>
</div>
- <span style="font-size: 20px; margin-top: 5px;">璐х墿璇︾粏淇℃伅锛�</span>
+ <span style="font-size: 15px; margin-top: 5px;">璐х墿璇︾粏淇℃伅锛�</span>
<div class="table-section">
<table class="product-table">
<thead>
@@ -528,14 +528,14 @@
<td>{{ item.salesContractNo || '' }}</td>
</tr>
<!-- 娣诲姞绌虹櫧琛屼互纭繚鑷冲皯5琛� -->
- <tr v-for="n in Math.max(0, 5 - (item.products ? item.products.length : 0))" :key="'empty-' + n" style="height: 25px;">
- <td style="height: 35px;"></td>
- <td style="height: 35px;"></td>
- <td style="height: 35px;"></td>
- <td style="height: 35px;"></td>
- <td style="height: 35px;"></td>
- <td style="height: 35px;"></td>
- <td style="height: 35px;"></td>
+ <tr v-for="n in Math.max(0, 5 - (item.products ? item.products.length : 0))" :key="'empty-' + n">
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ <td> </td>
</tr>
</tbody>
<tfoot>
@@ -555,7 +555,7 @@
<div style="height: 35px; text-align: center; display: flex; align-items: center; justify-content: center;">浠撳簱</div>
</div>
</div>
- <div style="margin: 10px 0; font-size: 20px;">
+ <div style="margin: 10px 0; font-size: 15px;">
<span>澶囨敞锛� 璐靛叕鍙稿湪鏀惰揣鍚庤鍗冲埢鏍稿疄鏁伴噺鍙婂搧璐紝鑻ユ湁寮傝锛岃鍦�3鏃ュ唴鎻愬嚭锛屽惁鍒欒涓烘敹濡ャ��</span>
</div>
<div class="footer">
@@ -1561,7 +1561,7 @@
.delivery-note {
width: 100%;
height: 100%;
- font-size: 18px;
+ font-size: 16px;
line-height: 1.5;
display: flex;
flex-direction: column;
@@ -1569,15 +1569,13 @@
}
.header {
text-align: center;
- margin-bottom: 8px;
}
.company-name {
- font-size: 32px;
+ font-size: 25px;
font-weight: bold;
- margin-bottom: 4px;
}
.document-title {
- font-size: 28px;
+ font-size: 20px;
font-weight: bold;
letter-spacing: 10px;
}
@@ -1587,17 +1585,17 @@
align-items: center;
}
.info-row {
- line-height: 26px;
+ line-height: 20px;
}
.label {
font-weight: bold;
min-width: 60px;
- font-size: 20px;
+ font-size: 15px;
}
.value {
margin-right: 20px;
min-width: 80px;
- font-size: 20px;
+ font-size: 15px;
}
.table-section {
margin-bottom: 4px;
@@ -1613,11 +1611,11 @@
border: 1px solid #000;
padding: 6px;
text-align: center;
- font-size: 20px;
+ font-size: 15px;
line-height: 1.4;
}
.product-table th {
- font-size: 20px;
+ font-size: 17px;
font-weight: bold;
}
.total-value {
@@ -1638,17 +1636,17 @@
width: 50%;
}
.info-row {
- line-height: 26px;
+ line-height: 20px;
}
.label {
font-weight: bold;
min-width: 60px;
- font-size: 20px;
+ font-size: 15px;
}
.value {
margin-right: 20px;
min-width: 80px;
- font-size: 20px;
+ font-size: 15px;
}
}
@media print {
@@ -1662,7 +1660,7 @@
padding-right: 10mm;
page-break-inside: avoid;
page-break-after: always;
- font-size: 20px;
+ font-size: 15px;
}
.print-page:last-child {
page-break-after: avoid;
--
Gitblit v1.9.3