| | |
| | | this.foucss() |
| | | } |
| | | }, |
| | | barcodeFocuss() { |
| | | let that = this; |
| | | that.barcodeFocus = false; |
| | | setTimeout(()=>{ |
| | | that.matnrId = ''; |
| | | that.barcodeFocus = true; |
| | | }, 100); |
| | | }, |
| | | foucss() { |
| | | let that = this; |
| | | that.focus = false; |
| | | setTimeout(()=>{ |
| | | that.matnrId = ''; |
| | | that.focus = true; |
| | | |
| | | }, 100); |
| | | }, |
| | | clear() { |
| | |
| | | this.$refs.message.open() |
| | | }, |
| | | resst() { |
| | | this.barcodeFocus = true |
| | | this.matnrId = ''; |
| | | this.matList = []; |
| | | this.barcode = ''; |
| | | this.barcodeFocuss(); |
| | | }, |
| | | removeBarcode() { |
| | | this.barcode = '' |
| | |
| | | that.barcode = ''; |
| | | that.matList = ''; |
| | | that.matList = []; |
| | | that.barcodeFocuss(); |
| | | } else if (res.code == 403) { |
| | | uni.showToast({title: res.msg, icon: "none", position: 'top'}) |
| | | setTimeout(() => { |