From 410ba59cccec67d2141845ab73e88232d4517ed3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=93=B2=E5=A5=87?= <13840175730@139.com> Date: Wed, 18 Dec 2024 14:46:50 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E5=A4=8D=E5=9E=9B=E4=BD=8D=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E7=94=B1=E4=BA=8E=E6=B2=A1=E6=9C=89=E6=9D=BF=E6=9D=90?= =?UTF-8?q?=E6=97=B6=E5=9E=9B=E4=BD=8D=E4=B8=8D=E6=98=BE=E7=A4=BA=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=202.=E4=BC=98=E5=8C=96=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=98=BE=E7=A4=BA,=E6=98=BE=E7=A4=BA=E8=AF=AD=E9=9F=B3?= =?UTF-8?q?=E8=AF=86=E5=88=AB=E7=BB=93=E6=9E=9C=203.=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E4=B8=8A=E6=96=99=E6=9F=A5=E8=AF=A2=E7=BB=93=E6=9E=9C=E6=8E=92?= =?UTF-8?q?=E5=BA=8F,=E4=BD=BF=E7=94=A8=E5=B7=A5=E5=8D=95=E5=8F=B7?= =?UTF-8?q?=E6=AD=A3=E5=BA=8F=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/zyjhzx/components/TipsComp.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/zyjhzx/components/TipsComp.vue b/src/views/zyjhzx/components/TipsComp.vue index 154fcc8..fc7b193 100644 --- a/src/views/zyjhzx/components/TipsComp.vue +++ b/src/views/zyjhzx/components/TipsComp.vue @@ -45,9 +45,12 @@ export default { // this.hide() // },10000) // } + let msg + if (data.code===3000&&data.msg.deviceId===this.deviceId){ + msg=`识别结果:${data.msg.orderNumber}` + } if (data.code===3002&&data.msg.deviceId===this.deviceId){ - let msg switch (data.msg.actionType){ case this.commandEnum.大船大船: this.msgFlag=true @@ -73,10 +76,9 @@ export default { this.hide() },10000) },59000) - - this.msgFlag&&this.show() - this.msgFlag&&this.onMsg(msg) } + this.msgFlag&&this.show() + this.msgFlag&&this.onMsg(msg) }, complete(){ if (data.code===3000&&data.msg.deviceId===this.$props.deviceId){