From 6098f630d190c3ba51a3749716ccc8ada2b450c8 Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期一, 20 十一月 2023 11:32:41 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before
---
src/views/quality/finishedProductInspection/index.vue | 15 ++-------------
1 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/src/views/quality/finishedProductInspection/index.vue b/src/views/quality/finishedProductInspection/index.vue
index 808f453..a7c0cc2 100644
--- a/src/views/quality/finishedProductInspection/index.vue
+++ b/src/views/quality/finishedProductInspection/index.vue
@@ -211,25 +211,14 @@
}
},
methods: {
- closedown(){
- // this.printFormData = []
- this.printDialogVisible = false;
- },
//鎵撳嵃鎸夐挳
printFun() {
- // const printSettings = {
- // paper: {
- // width: 827, // A4绾哥殑瀹藉害锛堝崟浣嶏細鍍忕礌锛�
- // height: 595, // A4绾哥殑楂樺害锛堝崟浣嶏細鍍忕礌锛�
- // orientation: 'portrait', // 绔栧悜鎵撳嵃
- // }}
-
PrintJS({
printable: "printRaw",
type: "html",
maxWidth: 1000,
- // printSettings,
- style: '@page {margin: 10mm 5mm;size:A4;}',
+ // header: "浜у搧妫�娴嬫姤鍛�",
+ style: '@page {margin: 10mm 5mm; margin-bottom: 0;margin-top:0;}',
targetStyles: ["*"],
ignoreElements: ["no-ignore"],
orientation: 'portrait'
--
Gitblit v1.9.3