From 91f88b8eb927080186bffbd92b9942e34a41f016 Mon Sep 17 00:00:00 2001 From: Ledo Date: Thu, 4 Sep 2025 10:47:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=8C=E9=AB=98=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/heli/plan/productionPrint.vue | 139 ++++++++++-------- 1 file changed, 74 insertions(+), 65 deletions(-) diff --git a/mes-ui/mes-ui-admin-vue3/src/views/heli/plan/productionPrint.vue b/mes-ui/mes-ui-admin-vue3/src/views/heli/plan/productionPrint.vue index d7ec3e3d..53c98f32 100644 --- a/mes-ui/mes-ui-admin-vue3/src/views/heli/plan/productionPrint.vue +++ b/mes-ui/mes-ui-admin-vue3/src/views/heli/plan/productionPrint.vue @@ -19,7 +19,7 @@ - + 客户名称 @@ -30,7 +30,8 @@ {{ formData.customer.code }} - + + 项目名称 {{ formData.projectName }} @@ -49,26 +50,26 @@ 是否有价格: {{ getDictLabel(DICT_TYPE.HELI_COMMON_IS_OR_NOT, formData.hasPrice) }} - + 项目负责人: - {{ userInit.find((user) => user.id == planData.projectOwner)?.nickname }} + {{ userInit.find((user) => user.id == planData.projectOwner)?.nickname }}
-
类别:
-
性质:
+
类别:
+
性质:
-
{{ getDictLabel(DICT_TYPE.HELI_BUSINESS_LINE, formData.businessLine) }}
-
{{ getDictLabel(DICT_TYPE.HELI_PROJECT_PROPERTY, formData.property) }}
+
{{ getDictLabel(DICT_TYPE.HELI_BUSINESS_LINE, formData.businessLine) }}
+
{{ getDictLabel(DICT_TYPE.HELI_PROJECT_PROPERTY, formData.property) }}
- +
-
+
自客户提供资料:
@@ -106,6 +107,8 @@ {{ userInit.find((user) => user.id == planData.craftOwner)?.nickname }} + + @@ -481,63 +484,66 @@ const onPrint = () => { let doc: any = null doc = newIframe.contentWindow.document doc.write(` -
${printNode.innerHTML} @@ -839,6 +845,9 @@ table { align-items: center; margin-left: 10px; } +.masterClass { + height: 15px; +} /* A4的大小:21cm*29.7cm(width:794px;)。 单位换算:1 inch = 2.54 cm 1mm = 96 px 1 cm = 37.79528 px*/