From ee126e943da4549dd263e7d51a31f1d52c4b3136 Mon Sep 17 00:00:00 2001 From: zhangdi <1104545947@qq.com> Date: Wed, 25 Mar 2026 17:56:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E7=AE=A1=E7=90=86=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productionManagement/sinTerWorkOrder/index.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/productionManagement/sinTerWorkOrder/index.vue b/src/views/productionManagement/sinTerWorkOrder/index.vue index a25c5ff..eec5ce1 100644 --- a/src/views/productionManagement/sinTerWorkOrder/index.vue +++ b/src/views/productionManagement/sinTerWorkOrder/index.vue @@ -583,12 +583,14 @@ export default { handlePrint() { if (this.selectionList.length == 0) { this.$message.error('请先选择数据'); - } else { - this.printForm = { - quantity: 1, - }; - this.printDialog = true; + return false + } + if(this.selectionList.length > 1){ + this.$message.error('只能选择一条数据'); + return false } + window.open(window.PROCESS_FLOW_CARD_PRINT_SUPPORT+'?yold='+this.selectionList[0].yoId); + }, // 异常申报 handleAbnormal(row) {