From 178befbc644f1dd3f9c9a9eff8a5f41092fb76f2 Mon Sep 17 00:00:00 2001 From: guoshuang Date: Tue, 6 Aug 2024 14:33:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E8=AF=86=E5=8D=A1=E6=89=93=E5=8D=B0?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/plan/workorder/index.vue | 4 +- src/views/plan/workorder/printID.vue | 135 +++++++++++++++------------ 2 files changed, 77 insertions(+), 62 deletions(-) diff --git a/src/views/plan/workorder/index.vue b/src/views/plan/workorder/index.vue index 4d4defe..7b140cb 100644 --- a/src/views/plan/workorder/index.vue +++ b/src/views/plan/workorder/index.vue @@ -1987,8 +1987,10 @@ export default { /**打印标识卡弹出框**/ printIdCard() { - this.$refs.printID.printDialogVisible = true; this.$refs.printID.init("20021221552"); + this.$refs.printID.showPrint(); + this.$refs.printID.printDialogVisible = true; + }, //标识卡选择确认 printIdFunc(obj) { diff --git a/src/views/plan/workorder/printID.vue b/src/views/plan/workorder/printID.vue index 1832859..3abe6e6 100644 --- a/src/views/plan/workorder/printID.vue +++ b/src/views/plan/workorder/printID.vue @@ -1,15 +1,9 @@ +