heshaofeng
2025-12-29 266e4bf654c55ce2f7e9271048e4625f1b8b49f6
ÏîÄ¿´úÂë/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;