| | |
| | | }, 200) |
| | | }, |
| | | asBarcodeInput() { |
| | | this.asBarcode = this.asBarcode.replace(/\s+/g, '') |
| | | // this.asBarcode = this.asBarcode.replace(/\s+/g, '') |
| | | setTimeout(() => { |
| | | var len = this.asBarcode.length |
| | | if (len != 12) { |
| | | uni.showToast({ |
| | | title: 'AS400有误请重试', |
| | | icon: "none", |
| | | position: 'top' |
| | | }); |
| | | this.asBarcodeFocuss() |
| | | return; |
| | | } |
| | | // var len = this.asBarcode.length |
| | | // if (len != 12) { |
| | | // uni.showToast({ |
| | | // title: 'AS400有误请重试', |
| | | // icon: "none", |
| | | // position: 'top' |
| | | // }); |
| | | // this.asBarcodeFocuss() |
| | | // return; |
| | | // } |
| | | this.focuss() |
| | | }, 200) |
| | | }, |