From c9834a08fe9cb6ed9daabfce3fd73936d997aee1 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 25 十二月 2025 16:56:58 +0800
Subject: [PATCH] 补片流程打印自动缩放问题修改,调整图纸打印的间距

---
 north-glass-erp/northglass-erp/src/components/ImageSizeEditor.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/components/ImageSizeEditor.vue b/north-glass-erp/northglass-erp/src/components/ImageSizeEditor.vue
index 27486af..2c16c84 100644
--- a/north-glass-erp/northglass-erp/src/components/ImageSizeEditor.vue
+++ b/north-glass-erp/northglass-erp/src/components/ImageSizeEditor.vue
@@ -81,6 +81,7 @@
 
   fit: { type: String, default: 'contain' },
   marginX: { type: String, default: '30px' },
+  marginY: { type: String, default: '50px' },
   dialogTitle: { type: String, default: '璁剧疆鍥剧墖灏哄' },
   showHint: { type: Boolean, default: true }
 })
@@ -127,7 +128,9 @@
     width: `${w}px`,
     height: `${h}px`,
     marginLeft: props.marginX,
-    marginRight: props.marginX
+    marginRight: props.marginX,
+    marginTop: props.marginY,
+    marginBottom: props.marginY
   }
 }
 

--
Gitblit v1.8.0