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 {