From 943e43fac9e2fefabaeffb20445361d5d02cea25 Mon Sep 17 00:00:00 2001
From: 86134 <aa>
Date: 星期一, 20 十一月 2023 10:24:45 +0800
Subject: [PATCH] 11

---
 src/views/quality/finishedProductInspection/index.vue |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/views/quality/finishedProductInspection/index.vue b/src/views/quality/finishedProductInspection/index.vue
index 600db99..808f453 100644
--- a/src/views/quality/finishedProductInspection/index.vue
+++ b/src/views/quality/finishedProductInspection/index.vue
@@ -217,19 +217,19 @@
             },
             //鎵撳嵃鎸夐挳
             printFun() {
-                const printSettings = {
-                        paper: {
-                        width: 827, // A4绾哥殑瀹藉害锛堝崟浣嶏細鍍忕礌锛�
-                        height: 595, // A4绾哥殑楂樺害锛堝崟浣嶏細鍍忕礌锛�
-                        orientation: 'portrait', // 绔栧悜鎵撳嵃
-                        }}
+                // const printSettings = {
+                //         paper: {
+                //         width: 827, // A4绾哥殑瀹藉害锛堝崟浣嶏細鍍忕礌锛�
+                //         height: 595, // A4绾哥殑楂樺害锛堝崟浣嶏細鍍忕礌锛�
+                //         orientation: 'portrait', // 绔栧悜鎵撳嵃
+                //         }}
                         
                 PrintJS({
                     printable: "printRaw",
                     type: "html",
-                    maxWidth: 880,
-                    printSettings,
-                    style: '@page {margin: 2.0mm 2.0mm;size:A4;}',
+                    maxWidth: 1000,
+                    // printSettings,
+                    style: '@page {margin: 10mm 5mm;size:A4;}',
                     targetStyles: ["*"],
                     ignoreElements: ["no-ignore"],
                     orientation: 'portrait'

--
Gitblit v1.9.3