From 266e4bf654c55ce2f7e9271048e4625f1b8b49f6 Mon Sep 17 00:00:00 2001
From: heshaofeng <heshaofeng@hnkhzn.com>
Date: 星期一, 29 十二月 2025 14:36:08 +0800
Subject: [PATCH] Merge branch 'htq20251215' of http://115.159.85.185:8098/r/ZhongRui/ALDbanyunxiangmu into htq20251215
---
项目代码/WIDESEA_WMSClient/src/extension/outbound/extend/printView.vue | 55 +++++++++++++++++++++++++++++++++----------------------
1 files changed, 33 insertions(+), 22 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/outbound/extend/printView.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/outbound/extend/printView.vue"
index c7c216f..4c584fb 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/outbound/extend/printView.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/outbound/extend/printView.vue"
@@ -19,6 +19,10 @@
<span class="label">渚涘簲鍟嗙紪鐮�</span>
<span class="value full-width">{{ item.suplierCode }}</span>
</div>
+ <div class="column">
+ <span class="label">鏁伴噺/鎬绘暟</span>
+ <span class="value full-width">{{ item.quantity }}</span>
+ </div>
</div>
<div class="row dual-column">
@@ -37,10 +41,7 @@
<span class="label">瑙勬牸</span>
<span class="value full-width">{{ item.materialSpec }}</span>
</div>
- <div class="column">
- <span class="label">鏁伴噺/鎬绘暟</span>
- <span class="value full-width">{{ item.quantity }}</span>
- </div>
+
</div>
<div class="row dual-column">
@@ -89,6 +90,10 @@
<span class="label-preview">渚涘簲鍟嗙紪鐮�</span>
<span class="value-preview full-width">{{ item.suplierCode }}</span>
</div>
+ <div class="column-preview">
+ <span class="label-preview">鏁伴噺/鎬绘暟</span>
+ <span class="value-preview full-width">{{ item.quantity }}</span>
+ </div>
</div>
<div class="row-preview dual-column">
@@ -107,10 +112,7 @@
<span class="label-preview">瑙勬牸</span>
<span class="value-preview full-width">{{ item.materialSpec }}</span>
</div>
- <div class="column-preview">
- <span class="label-preview">鏁伴噺/鎬绘暟</span>
- <span class="value-preview full-width">{{ item.quantityTotal }}</span>
- </div>
+
</div>
<div class="row-preview dual-column">
@@ -192,6 +194,7 @@
return
}
+
printWindow.document.write(`
<!DOCTYPE html>
<html>
@@ -235,27 +238,40 @@
margin: 0 !important;
padding: 0 !important;
}
-
- body {
+
+ html {
+ height: auto !important;
width: 80mm !important;
- height: 60mm !important;
margin: 0 !important;
padding: 0 !important;
background: white !important;
}
-
+
+ body {
+ height: auto !important;
+ width: 80mm !important;
+ margin: 0 !important;
+ padding: 0 !important;
+ background: white !important;
+ overflow: visible !important;
+ min-height: 0 !important;
+ max-height: none !important;
+ }
+
.print-page {
width: 80mm !important;
height: 60mm !important;
- page-break-after: always !important;
margin: 0 !important;
padding: 1mm !important;
display: block !important;
background: white !important;
+ page-break-inside: avoid !important;
+ position: relative !important;
+ page-break-after: always !important;
}
-
+
.print-page:last-child {
- page-break-after: avoid !important;
+ page-break-after: auto !important;
}
.material-card {
@@ -285,14 +301,13 @@
}
.content {
- height: calc(100% - 10mm) !important;
position: relative !important;
}
.row {
display: flex !important;
margin-bottom: 1.2mm !important;
- min-height: 6.5mm !important;
+ min-height: 5.5mm !important;
align-items: stretch !important;
}
@@ -305,15 +320,11 @@
flex: 1 !important;
display: flex !important;
align-items: center !important;
- min-height: 5mm !important;
+ min-height: 4mm !important;
}
- .column:first-child {
- margin-right: 2.5mm !important;
- }
.label {
- flex: 0 0 8mm !important;
white-space: nowrap !important;
font-size: 2.5mm !important;
line-height: 1.3 !important;
--
Gitblit v1.9.3