| | |
| | | <view class="item"> |
| | | <view class="code-decs">托盘码:</view> |
| | | <input type="text" placeholder=" 扫码 / 输入" v-model="barcode" :focus="barcodeFocus" |
| | | @input="search()"> |
| | | @input="barcodeInput()"> |
| | | </view> |
| | | <view class="item"> |
| | | <view class="code-decs">物料码:</view> |
| | |
| | | |
| | | }) |
| | | }, |
| | | |
| | | barcodeInput() { |
| | | this.focuss() |
| | | }, |
| | | // 托盘码有误重置 |
| | | barcodeFocuss() { |
| | | let that = this; |
| | |
| | | }, |
| | | // 商品光标清空重置 |
| | | focuss() { |
| | | // #ifdef APP |
| | | let that = this; |
| | | that.focus = false; |
| | | that.matFocus = false; |
| | | setTimeout(() => { |
| | | that.matnr = ''; |
| | | that.focus = true; |
| | | that.matFocus = true; |
| | | }, 100); |
| | | // #endif |
| | | }, |
| | | // 搜索物料 |
| | | findMat() { |
| | |
| | | combConfirm(type) { |
| | | this.msgType = type |
| | | this.title = '警告' |
| | | this.content = '是否确认盘点!' |
| | | this.content = '是否确认补货!' |
| | | this.$refs.combConfirm.open() |
| | | }, |
| | | combClose() { |