From 1ad61182f7f9f90adcb52f3af9a5b2f06c1a0036 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 22 四月 2026 10:16:24 +0800
Subject: [PATCH] fix: 打印字体调大
---
src/views/salesManagement/salesLedger/index.vue | 46 +++++++++++++++++++++++-----------------------
1 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/src/views/salesManagement/salesLedger/index.vue b/src/views/salesManagement/salesLedger/index.vue
index 82c9504..0feeba6 100644
--- a/src/views/salesManagement/salesLedger/index.vue
+++ b/src/views/salesManagement/salesLedger/index.vue
@@ -446,7 +446,7 @@
鏆傛棤鎵撳嵃鏁版嵁
</div>
<div v-else
- style="text-align: center; padding: 10px; color: #666; font-size: 16px; background: #e8f4fd; margin-bottom: 10px;">
+ style="text-align: center; padding: 10px; color: #666; font-size: 18px; background: #e8f4fd; margin-bottom: 10px;">
鍏� {{ printData.length }} 鏉℃暟鎹緟鎵撳嵃
</div>
<div v-for="(item, index) in printData" :key="index" class="print-page">
@@ -503,7 +503,7 @@
</div>
</div>
- <span style="font-size: 15px; margin-top: 5px;">璐х墿璇︾粏淇℃伅锛�</span>
+ <span style="font-size: 18px; margin-top: 5px;">璐х墿璇︾粏淇℃伅锛�</span>
<div class="table-section">
<table class="product-table">
<thead>
@@ -548,14 +548,14 @@
</table>
<div style="width: 80px; display: flex; flex-direction: column;">
- <div style="height: 35px; border-bottom: 1px dashed #000; text-align: center; display: flex; align-items: center; justify-content: center;">鍏卞洓鑱�</div>
- <div style="height: 35px; border-bottom: 1px dashed #000; text-align: center; display: flex; align-items: center; justify-content: center;">瀛樻牴</div>
- <div style="height: 35px; border-bottom: 1px dashed #000; text-align: center; display: flex; align-items: center; justify-content: center;">瀹㈡埛</div>
- <div style="height: 35px; border-bottom: 1px dashed #000; text-align: center; display: flex; align-items: center; justify-content: center;">璁拌处</div>
- <div style="height: 35px; text-align: center; display: flex; align-items: center; justify-content: center;">浠撳簱</div>
+ <div style="height: 33px; border-bottom: 1px dashed #000; text-align: center; display: flex; align-items: center; justify-content: center;">鍏卞洓鑱�</div>
+ <div style="height: 28px; border-bottom: 1px dashed #000; text-align: center; display: flex; align-items: center; justify-content: center;">瀛樻牴</div>
+ <div style="height: 29px; border-bottom: 1px dashed #000; text-align: center; display: flex; align-items: center; justify-content: center;">瀹㈡埛</div>
+ <div style="height: 29px; border-bottom: 1px dashed #000; text-align: center; display: flex; align-items: center; justify-content: center;">璁拌处</div>
+ <div style="height: 28px; text-align: center; display: flex; align-items: center; justify-content: center;">浠撳簱</div>
</div>
</div>
- <div style="margin: 10px 0; font-size: 15px;">
+ <div style="margin: 10px 0; font-size: 16px;">
<span>澶囨敞锛� 璐靛叕鍙稿湪鏀惰揣鍚庤鍗冲埢鏍稿疄鏁伴噺鍙婂搧璐紝鑻ユ湁寮傝锛岃鍦�3鏃ュ唴鎻愬嚭锛屽惁鍒欒涓烘敹濡ャ��</span>
</div>
<div class="footer">
@@ -1561,8 +1561,8 @@
.delivery-note {
width: 100%;
height: 100%;
- font-size: 16px;
- line-height: 1.5;
+ font-size: 18px;
+ line-height: 1;
display: flex;
flex-direction: column;
color: #000;
@@ -1571,11 +1571,11 @@
text-align: center;
}
.company-name {
- font-size: 25px;
+ font-size: 30px;
font-weight: bold;
}
.document-title {
- font-size: 20px;
+ font-size: 25px;
font-weight: bold;
letter-spacing: 10px;
}
@@ -1590,12 +1590,12 @@
.label {
font-weight: bold;
min-width: 60px;
- font-size: 15px;
+ font-size: 18px;
}
.value {
margin-right: 20px;
min-width: 80px;
- font-size: 15px;
+ font-size: 18px;
}
.table-section {
margin-bottom: 4px;
@@ -1609,13 +1609,13 @@
}
.product-table th, .product-table td {
border: 1px solid #000;
- padding: 6px;
+ padding: 3px;
text-align: center;
- font-size: 15px;
- line-height: 1.4;
+ font-size: 18px;
+ line-height: 1.2;
}
.product-table th {
- font-size: 17px;
+ font-size: 19px;
font-weight: bold;
}
.total-value {
@@ -1625,7 +1625,7 @@
margin: 10px 0;
}
.sign-section {
- margin-top: 15px;
+ margin-top: 10px;
}
.footer {
display: flex;
@@ -1641,12 +1641,12 @@
.label {
font-weight: bold;
min-width: 60px;
- font-size: 15px;
+ font-size: 18px;
}
.value {
margin-right: 20px;
min-width: 80px;
- font-size: 15px;
+ font-size: 18px;
}
}
@media print {
@@ -1660,7 +1660,7 @@
padding-right: 10mm;
page-break-inside: avoid;
page-break-after: always;
- font-size: 15px;
+ font-size: 18px;
}
.print-page:last-child {
page-break-after: avoid;
@@ -2229,7 +2229,7 @@
th,
td {
border: 1px solid #000;
- padding: 6px;
+ padding: 3px;
text-align: center;
font-size: 16px;
line-height: 1.4;
--
Gitblit v1.9.3