修复部分页面 扫码报错后 对应输入框 文本没有删除的问题 修复部分页面 picker 样式设置不对 整个页面都能触发的问题
| | |
| | | this.HSourceBillNoFocus = false |
| | | await this.$nextTick(() => { |
| | | this.HSourceBillNoFocus = true |
| | | this.hform.HBarCode = "" |
| | | this.hform.HSourceBillNo = "" |
| | | |
| | | }) |
| | | }, |
| | | async refreshBarCodeState() { |
| | | this.barCodeFocus = false |
| | | await this.$nextTick(() => { |
| | | this.barCodeFocus = true |
| | | this.hform.HSourceBillNo = "" |
| | | this.hform.HBarCode = "" |
| | | }) |
| | | }, |
| | | playSound(e) { |
| | |
| | | this.playSound(1) |
| | | this.DisBillEntryList() |
| | | } else { |
| | | console.log('res.data.Message: ',res.data.Message); |
| | | this.refreshHSourceBillState() |
| | | this.playSound(0) |
| | | uni.showToast({ |
| | |
| | | this.BarCodeFocus = true |
| | | return |
| | | } |
| | | let inputVal = this.$refs.uniComboxSourceBill.inputVal |
| | | let inputVal = '' |
| | | if(this.$refs.uniComboxSourceBill){ |
| | | inputVal = this.$refs.uniComboxSourceBill.inputVal || this.hform.HBillNo |
| | | }else { |
| | | inputVal = this.hform.HBillNo |
| | | } |
| | | |
| | | if (inputVal == '') { |
| | | CommonUtils.playSound(0) |
| | | return uni.showToast({ |
| | |
| | | width: 450rpx; |
| | | border-radius: 22rpx; |
| | | border: 1px solid #acacac; |
| | | display: flex; |
| | | position: relative; |
| | | } |
| | | |
| | | .righton { |