From 25cc86fd8a2fb3b2bb6b385cba0adaf89ff3dcdc Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 18 十二月 2025 16:39:32 +0800
Subject: [PATCH] 流程卡进度打印部分代码
---
north-glass-erp/northglass-erp/src/views/pp/processCard/PrintCustomLabel1.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/north-glass-erp/northglass-erp/src/views/pp/processCard/PrintCustomLabel1.vue b/north-glass-erp/northglass-erp/src/views/pp/processCard/PrintCustomLabel1.vue
index 10b0e38..f58e730 100644
--- a/north-glass-erp/northglass-erp/src/views/pp/processCard/PrintCustomLabel1.vue
+++ b/north-glass-erp/northglass-erp/src/views/pp/processCard/PrintCustomLabel1.vue
@@ -36,9 +36,14 @@
const printType=route.query.printType
onMounted(() => {
- console.log(printType)
+ if (localStorage.getItem('hasRefreshed')=="false") {
+ localStorage.setItem('hasRefreshed', 'true');
+ location.reload();
+ }else{
+ localStorage.setItem('hasRefreshed', 'false');
+ }
if(printType==1){
- request.post(`/processCard/getSelectPrintCustomLabel/${type}/1`, data.value).then((res) => {
+ request.post(`/processCard/getSelectPrintCustomLabel2/${type}/1`, data.value).then((res) => {
if (res.code == 200) {
produceList.value = deepClone(res.data.title)
list.value = deepClone(res.data.data)
@@ -234,7 +239,7 @@
}
@page {
size: auto; /* auto is the initial value */
- margin: 12mm 4mm 2mm 6mm; /* this affects the margin in the printer settings */
+ margin: 12mm 4mm 2mm 6mm !important; /* this affects the margin in the printer settings */
}
}
--
Gitblit v1.8.0