From e7d5748b48aeb723f09c277e00a27232cda3195a Mon Sep 17 00:00:00 2001 From: whycq <whycq> Date: 星期二, 12 七月 2022 13:02:58 +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