From 1506285cadd60b03c92a79491d1655891ede1d77 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期五, 15 七月 2022 08:51:06 +0800 Subject: [PATCH] # --- pages/basics/checkout.vue | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/pages/basics/checkout.vue b/pages/basics/checkout.vue index 32ecde1..35c74a0 100644 --- a/pages/basics/checkout.vue +++ b/pages/basics/checkout.vue @@ -109,11 +109,12 @@ }, methods: { huanghang() { - this.focus = false; - this.$nextTick(function() { - this.focus = true; - }); - this.matnr = '' + this.matnr = '' + this.focus = false; + this.$nextTick(function() { + this.focus = true; + }); + }, messageToggle(type) { this.msgType = type @@ -130,6 +131,7 @@ this.matList = [] this.barcode = '' this.matnr = '' + this.matCount = '' uni.vibrateShort(); }, removeBarcode() { @@ -195,7 +197,7 @@ that.listLen = that.matList.length; return; } - if (res.data.ioType === 103) { + if (res.data.ioType === 103 || res.data.ioType === 104 || res.data.ioType === 107) { that.matCount = res.data.list.length that.wrkNo = res.data.list[0].wrkNo return; -- Gitblit v1.9.1