From 2143b8d77df8d3838039a9eff6df32bcaffb99d9 Mon Sep 17 00:00:00 2001 From: zc Date: Tue, 2 Jun 2026 21:01:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E6=89=93=E5=8D=B0=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2CSS=E5=BC=BA=E5=88=B6=E6=8D=A2=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/barcodePrint/index.vue | 3 ++- src/views/fullClaim/index.vue | 2 +- src/views/weightManage/LabelPrint.vue | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/barcodePrint/index.vue b/src/views/barcodePrint/index.vue index 9d6132b..47d5467 100644 --- a/src/views/barcodePrint/index.vue +++ b/src/views/barcodePrint/index.vue @@ -500,7 +500,7 @@ const printLabel = async () => { .qr-cell { width: 24mm; text-align: center; vertical-align: middle; border: 1px solid #000; } .label-row { display: flex; align-items: center; } .label-field { font-size: 8pt; font-weight: bold; margin-right: 2mm; min-width: 25pt; } - .label-value { font-size: 8pt; font-weight: bold; flex: 1; } + .label-value { font-size: 8pt; font-weight: bold; flex: 1; word-break: break-all; } .qr-code img { width: 20mm; height: 20mm; margin: 1mm 0; } .mark-number { font-size: 8pt; font-weight: bold; margin-top: 1mm; text-align: center; } .serial-number { font-size: 8pt; font-weight: bold; margin-top: 1mm; } @@ -638,6 +638,7 @@ defineOptions({ name: 'print' }) font-size: 12px; font-weight: bold; flex: 1; + word-break: break-all; } .qr-code img { diff --git a/src/views/fullClaim/index.vue b/src/views/fullClaim/index.vue index 77d74ee..8f109a2 100644 --- a/src/views/fullClaim/index.vue +++ b/src/views/fullClaim/index.vue @@ -225,7 +225,7 @@ const onPrint = async (record: FullWorkOrderResp) => { .qr-cell { width: 24mm; text-align: center; vertical-align: middle; border: 1px solid #000; } .label-row { display: flex; align-items: center; } .label-field { font-size: 8pt; font-weight: bold; margin-right: 2mm; min-width: 25pt; } - .label-value { font-size: 8pt; font-weight: bold; flex: 1; } + .label-value { font-size: 8pt; font-weight: bold; flex: 1; word-break: break-all; } .qr-code img { width: 20mm; height: 20mm; margin: 1mm 0; } .mark-number { font-size: 8pt; font-weight: bold; margin-top: 1mm; text-align: center; } .serial-number { font-size: 8pt; font-weight: bold; margin-top: 1mm; } diff --git a/src/views/weightManage/LabelPrint.vue b/src/views/weightManage/LabelPrint.vue index b127a04..f17bc39 100644 --- a/src/views/weightManage/LabelPrint.vue +++ b/src/views/weightManage/LabelPrint.vue @@ -485,7 +485,7 @@ const printLabel = async () => { .qr-cell { width: 24mm; text-align: center; vertical-align: middle; border: 1px solid #000; } .label-row { display: flex; align-items: center; } .label-field { font-size: 8pt; font-weight: bold; margin-right: 2mm; min-width: 25pt; } - .label-value { font-size: 8pt; font-weight: bold; flex: 1; } + .label-value { font-size: 8pt; font-weight: bold; flex: 1; word-break: break-all; } .qr-code img { width: 20mm; height: 20mm; margin: 1mm 0; } .mark-number { font-size: 8pt; font-weight: bold; margin-top: 1mm; text-align: center; } .serial-number { font-size: 8pt; font-weight: bold; margin-top: 1mm; } @@ -644,6 +644,7 @@ defineOptions({ name: 'LabelPrint' }) font-size: 10pt; flex: 1; font-weight: bold; + word-break: break-all; } .qr-code img {