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){