| | |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/pakin/outConfilm1", |
| | | "style": { |
| | | "navigationBarTitleText": "出库解绑" |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/AGV/AGVPakin", |
| | | "style": { |
| | | "navigationBarTitleText": "AGV组托" |
| | |
| | | color: 'green', |
| | | cuIcon: 'order', |
| | | url: '/AGV/AGVStart' |
| | | },{ |
| | | title: '出库解绑', |
| | | name: 'outConfilm1', |
| | | color: 'cyan', |
| | | cuIcon: 'pullup', |
| | | url: '/pakin/outConfilm1' |
| | | }, |
| | | // { |
| | | // title: 'AGV呼叫空托盘', |
| | |
| | | <view> |
| | | <view class="code"> |
| | | <view class="item"> |
| | | <view class="code-decs">站点码:</view> |
| | | <view class="code-decs">托盘码:</view> |
| | | <input type="text" placeholder=" 扫码 / 输入" v-model="barcode" :focus="barcodeFocus" |
| | | @input="barcodeInput()"> |
| | | </view> |
| | | <view class="item"> |
| | | <view class="code-decs">站点码:</view> |
| | | <input type="text" placeholder=" 扫码 / 输入" v-model="staNo" :focus="staNoFocus" |
| | | @input="staNoInput()"> |
| | | </view> |
| | | <view class="item"> |
| | | <view class="code-decs">物料码:</view> |
| | |
| | | baseUrl: '', |
| | | token: '', |
| | | barcode: '', |
| | | staNo: '', |
| | | dataList: [], |
| | | count: 0, |
| | | rowNum: '', |
| | |
| | | content: '', |
| | | barcodeFocus: true, |
| | | matFocus: false, |
| | | staNoFocus: false, |
| | | matData: '', |
| | | removeNum: 0, |
| | | } |
| | |
| | | // 不设置定时器 会出现扫入的字符串不全 |
| | | setTimeout(() => { |
| | | var len = this.barcode.length |
| | | if (len != 3) { |
| | | if (len != 8) { |
| | | uni.showToast({ |
| | | title: '托盘码有误请重试', |
| | | icon: "none", |
| | |
| | | } |
| | | this.focuss() |
| | | }, 200) |
| | | }, |
| | | |
| | | // staNo input 事件 |
| | | staNoInput() { |
| | | this.staNofocuss() |
| | | }, |
| | | // 托盘码有误重置 |
| | | barcodeFocuss() { |
| | |
| | | focuss() { |
| | | this.barcodeFocus = false; |
| | | this.matFocus = false; |
| | | this.staNoFocus = false; |
| | | setTimeout(() => { |
| | | this.matnr = ''; |
| | | this.staNo = ''; |
| | | this.staNoFocus = true; |
| | | }, 100); |
| | | }, |
| | | // 商品光标清空重置 |
| | | staNofocuss() { |
| | | this.barcodeFocus = false; |
| | | this.matFocus = false; |
| | | this.staNoFocus = false; |
| | | setTimeout(() => { |
| | | this.matnr = ''; |
| | | this.matFocus = true; |
| | |
| | | uni.request({ |
| | | url: that.baseUrl + '/mobile/comb/auth', |
| | | data: JSON.stringify({ |
| | | staNo: that.staNo, |
| | | barcode: that.barcode, |
| | | combMats: that.dataList |
| | | }), |