| | |
| | | this.sta = 1040 |
| | | }else if(this.stationCode.substring(0,1) == 'b'){ |
| | | this.staList.push(2010) |
| | | this.staList.push(2000) |
| | | // this.staList.push(2000) |
| | | this.sta = 2010 |
| | | }else if(this.stationCode.substring(0,1) == 'c'){ |
| | | this.staList.push(3010) |
| | | this.sta = 3010 |
| | | this.sta = 3010 |
| | | }else if(this.stationCode.substring(0,1) == 'd'){ |
| | | this.staList.push(2000) |
| | | this.sta = 2000 |
| | | |
| | | } |
| | | |
| | |
| | | // cuIcon: 'pullup', |
| | | // url: '/pakin/pakin' |
| | | // }, |
| | | { |
| | | title: '订单入库', |
| | | name: 'orderPakin', |
| | | color: 'red', |
| | | cuIcon: 'pullup', |
| | | url: '/order/orderList' |
| | | }, |
| | | { |
| | | title: '拣料站到站', |
| | | name: 'leftover', |
| | | color: 'orange', |
| | | cuIcon: 'pullup', |
| | | url: '/pakin/leftovers' |
| | | }, |
| | | // { |
| | | // title: '订单入库', |
| | | // name: 'orderPakin', |
| | | // color: 'red', |
| | | // cuIcon: 'pullup', |
| | | // url: '/order/orderList' |
| | | // }, |
| | | // { |
| | | // title: '拣料站到站', |
| | | // name: 'leftover', |
| | | // color: 'orange', |
| | | // cuIcon: 'pullup', |
| | | // url: '/pakin/leftovers' |
| | | // }, |
| | | |
| | | // { |
| | | // title: '平库入库', |
| | | // name: 'POrderPakin', |
| | | // color: 'purple', |
| | | // cuIcon: 'pullup', |
| | | // url: '/pingku/POrderList' |
| | | // }, |
| | | // { |
| | | // title: '平库出库', |
| | | // name: 'POrderPakin', |
| | | // color: 'cyan', |
| | | // cuIcon: 'pullup', |
| | | // url: '/pingku/POrderListOut' |
| | | // }, |
| | | { |
| | | title: '呼叫Agv', |
| | | name: 'AGVStart', |
| | | color: 'green', |
| | | cuIcon: 'order', |
| | | url: '/AGV/AGVStart' |
| | | title: '平库入库', |
| | | name: 'POrderPakin', |
| | | color: 'purple', |
| | | cuIcon: 'pullup', |
| | | url: '/pingku/POrderList' |
| | | }, |
| | | { |
| | | title: 'Agv储位解绑', |
| | | name: 'AGVUnbind', |
| | | color: 'orange', |
| | | cuIcon: 'order', |
| | | url: '/AGV/AGVUnbind' |
| | | },{ |
| | | title: '盘点', |
| | | name: 'stockCheck', |
| | | color: 'red', |
| | | cuIcon: 'post', |
| | | url: '/stock/stockCheck' |
| | | title: '平库出库', |
| | | name: 'POrderPakin', |
| | | color: 'cyan', |
| | | cuIcon: 'pullup', |
| | | url: '/pingku/POrderListOut' |
| | | }, |
| | | // { |
| | | // title: '呼叫Agv', |
| | | // name: 'AGVStart', |
| | | // color: 'green', |
| | | // cuIcon: 'order', |
| | | // url: '/AGV/AGVStart' |
| | | // }, |
| | | // { |
| | | // title: 'Agv储位解绑', |
| | | // name: 'AGVUnbind', |
| | | // color: 'orange', |
| | | // cuIcon: 'order', |
| | | // url: '/AGV/AGVUnbind' |
| | | // },{ |
| | | // title: '盘点', |
| | | // name: 'stockCheck', |
| | | // color: 'red', |
| | | // cuIcon: 'post', |
| | | // url: '/stock/stockCheck' |
| | | // }, |
| | | // { |
| | | // title: '组托上架', |
| | | // name: 'putOn', |
| | |
| | | // cuIcon: 'pulldown', |
| | | // url: '/order/orderPutDown' |
| | | // }, |
| | | // { |
| | | // title: '库存查询', |
| | | // name: 'stockQuery', |
| | | // color: 'green', |
| | | // cuIcon: 'check', |
| | | // url: '/stock/stockQuery' |
| | | // }, |
| | | { |
| | | title: '库存查询', |
| | | name: 'stockQuery', |
| | | color: 'green', |
| | | cuIcon: 'check', |
| | | url: '/stock/stockQuery' |
| | | }, |
| | | // { |
| | | |
| | | // { |
| | |
| | | this.messageToggle('error') |
| | | return; |
| | | } |
| | | // for (var i = 0; i < that.dataList.length; i++) { |
| | | // if (that.dataList[i].review !== "已复核" ) { |
| | | // this.messageText = that.dataList[i].matnr + '未复核' |
| | | // this.messageToggle('error') |
| | | // return; |
| | | // } |
| | | // if (that.dataList[i].anfme == 0 || that.dataList[i].anfme == '') { |
| | | // this.messageText = that.dataList[i].matnr + '组托数量不能为0' |
| | | // this.messageToggle('error') |
| | | // return; |
| | | // } |
| | | for (var i = 0; i < that.dataList.length; i++) { |
| | | if (that.dataList[i].review !== "已复核" ) { |
| | | this.messageText = that.dataList[i].matnr + '未复核' |
| | | this.messageToggle('error') |
| | | return; |
| | | } |
| | | if (that.dataList[i].anfme == 0 || that.dataList[i].anfme == '') { |
| | | this.messageText = that.dataList[i].matnr + '组托数量不能为0' |
| | | this.messageToggle('error') |
| | | return; |
| | | } |
| | | |
| | | // } |
| | | } |
| | | uni.request({ |
| | | url: that.baseUrl + '/mobile/pingKu/Shelves/auth', |
| | | data: JSON.stringify({ |
| | |
| | | <view class="item"> |
| | | <view class="code-decs">库位码:</view> |
| | | <input type="text" placeholder=" 扫码 / 输入" v-model="locNo" :focus="barcodeFocus" |
| | | > |
| | | @input="barcodeInput()" > |
| | | </view> |
| | | <view class="item"> |
| | | <view class="code-decs">物料码:</view> |
| | |
| | | barcodeInput() { |
| | | // 不设置定时器 会出现扫入的字符串不全 |
| | | setTimeout(() => { |
| | | var len = this.barcode.length |
| | | if (len >= 9 && len <=8) { |
| | | uni.showToast({ |
| | | title: '托盘码有误请重试', |
| | | icon: "none", |
| | | position: 'top' |
| | | }); |
| | | this.barcodeFocuss() |
| | | return; |
| | | } |
| | | var len = this.barcode.length |
| | | this.focuss() |
| | | }, 200) |
| | | }, |
| | |
| | | this.messageToggle('error') |
| | | return; |
| | | } |
| | | // for (var i = 0; i < that.dataList.length; i++) { |
| | | // if (that.dataList[i].review !== "已复核" ) { |
| | | // this.messageText = that.dataList[i].matnr + '未复核' |
| | | // this.messageToggle('error') |
| | | // return; |
| | | // } |
| | | // if (that.dataList[i].anfme == 0 || that.dataList[i].anfme == '') { |
| | | // this.messageText = that.dataList[i].matnr + '组托数量不能为0' |
| | | // this.messageToggle('error') |
| | | // return; |
| | | // } |
| | | for (var i = 0; i < that.dataList.length; i++) { |
| | | if (that.dataList[i].review !== "已复核" ) { |
| | | this.messageText = that.dataList[i].matnr + '未复核' |
| | | this.messageToggle('error') |
| | | return; |
| | | } |
| | | if (that.dataList[i].anfme == 0 || that.dataList[i].anfme == '') { |
| | | this.messageText = that.dataList[i].matnr + '组托数量不能为0' |
| | | this.messageToggle('error') |
| | | return; |
| | | } |
| | | |
| | | // } |
| | | } |
| | | uni.request({ |
| | | url: that.baseUrl + '/mobile/pingKu/unShelves/auth', |
| | | data: JSON.stringify({ |