| | |
| | | elements: [], |
| | | elements2: [ |
| | | { |
| | | title: '组托入库', |
| | | name: 'pakin', |
| | | color: 'cyan', |
| | | cuIcon: 'pullup', |
| | | url: '/tzsk/pakin/pakin2' |
| | | }, |
| | | { |
| | | title: '托盘解绑', |
| | | name: 'untie', |
| | | color: 'cyan', |
| | | cuIcon: 'pullup', |
| | | url: '/tzsk/pakin/untie' |
| | | }, |
| | | { |
| | | title: '组托上架', |
| | | name: 'pakin', |
| | | color: 'cyan', |
| | | cuIcon: 'pullup', |
| | | url: '/tzsk/order/orderPutOn' |
| | | }, |
| | | { |
| | | title: '订单拣货', |
| | | name: 'pakin', |
| | | color: 'cyan', |
| | | cuIcon: 'pullup', |
| | | url: '/tzsk/order/orderPick' |
| | | }, |
| | | { |
| | | title: '临时入库', |
| | | name: 'pakin', |
| | | color: 'cyan', |
| | | cuIcon: 'pullup', |
| | | url: '/pakin/pakin2' |
| | | title: 'AGV组托', |
| | | name: 'AGVPakin', |
| | | color: 'blue', |
| | | // cuIcon: 'pullup', |
| | | url: '/tzsk/AGV/AGVPakin' |
| | | }, |
| | | { |
| | | title: 'AGV盘点/拣料', |
| | | name: 'AGVPick', |
| | | color: 'cyan', |
| | | cuIcon: 'pullup', |
| | | // cuIcon: 'pullup', |
| | | url: '/tzsk/AGV/AGVPick' |
| | | }, |
| | | { |
| | | title: '再次拣料', |
| | | name: 'changePallet', |
| | | color: 'green', |
| | | cuIcon: 'order', |
| | | url: '/pakin/pickAgain' |
| | | }, |
| | | { |
| | | title: 'AGV组托', |
| | | name: 'AGVPakin', |
| | | color: 'blue', |
| | | cuIcon: 'pullup', |
| | | url: '/tzsk/AGV/AGVPakin' |
| | | }, |
| | | |
| | | { |
| | | title: 'AGV上架绑定', |
| | | name: 'AGVPakinBing', |
| | |
| | | }, |
| | | { |
| | | title: 'AGV容器离场', |
| | | name: 'pakin', |
| | | name: 'AGVContainerMove', |
| | | color: 'cyan', |
| | | cuIcon: 'pullup', |
| | | // cuIcon: 'pullup', |
| | | url: '/tzsk/AGV/AGVContainerMove' |
| | | }, |
| | | |
| | | { |
| | | title: '订单入库', |
| | | name: 'orderPakin', |
| | | color: 'red', |
| | | cuIcon: 'pullup', |
| | | url: '/order/orderPakin' |
| | | title: '组托入库', |
| | | name: 'pakin', |
| | | color: 'cyan', |
| | | // cuIcon: 'pullup', |
| | | url: '/tzsk/pakin/pakin2' |
| | | }, |
| | | { |
| | | title: '组托上架', |
| | | name: 'putOn', |
| | | color: 'orange', |
| | | cuIcon: 'pullup', |
| | | url: '/pakin/putOn' |
| | | }, |
| | | { |
| | | title: '打印', |
| | | name: 'print', |
| | | color: 'purple', |
| | | cuIcon: 'text', |
| | | url: '/print/print' |
| | | name: 'PutOn', |
| | | color: 'cyan', |
| | | // cuIcon: 'pullup', |
| | | url: '/tzsk/order/orderPutOn' |
| | | }, |
| | | { |
| | | title: '订单上架', |
| | |
| | | url: '/order/orderPutDown' |
| | | }, |
| | | { |
| | | title: '订单入库', |
| | | name: 'orderPakin', |
| | | color: 'red', |
| | | cuIcon: 'pullup', |
| | | url: '/order/orderPakin' |
| | | }, |
| | | |
| | | |
| | | { |
| | | title: '订单拣货', |
| | | name: 'orderPick', |
| | | color: 'cyan', |
| | | // cuIcon: 'pullup', |
| | | url: '/tzsk/order/orderPick' |
| | | }, |
| | | { |
| | | title: '托盘解绑', |
| | | name: 'untie', |
| | | color: 'cyan', |
| | | // cuIcon: 'pullup', |
| | | url: '/tzsk/pakin/untie' |
| | | }, |
| | | { |
| | | title: '临时入库', |
| | | name: 'pakin', |
| | | color: 'cyan', |
| | | cuIcon: 'pullup', |
| | | url: '/pakin/pakin2' |
| | | }, |
| | | |
| | | { |
| | | title: '再次拣料', |
| | | name: 'changePallet', |
| | | color: 'green', |
| | | cuIcon: 'order', |
| | | url: '/pakin/pickAgain' |
| | | }, |
| | | |
| | | |
| | | { |
| | | title: '组托上架', |
| | | name: 'putOn', |
| | | color: 'orange', |
| | | cuIcon: 'pullup', |
| | | url: '/pakin/putOn' |
| | | }, |
| | | |
| | | { |
| | | title: '库存查询', |
| | | name: 'stockQuery', |
| | | color: 'green', |
| | |
| | | cuIcon: 'post', |
| | | url: '/stock/stockCheck' |
| | | }, |
| | | |
| | | { |
| | | title: '商品打印', |
| | | name: 'matList', |
| | | color: 'orange', |
| | | cuIcon: 'post', |
| | | url: '/mat/matList' |
| | | title: '换板绑定', |
| | | name: 'changePallet', |
| | | color: 'green', |
| | | cuIcon: 'order', |
| | | url: '/stock/changePallet' |
| | | }, |
| | | { |
| | | title: '补货', |
| | |
| | | url: '/pakin/piking' |
| | | }, |
| | | { |
| | | title: '换板绑定', |
| | | name: 'changePallet', |
| | | color: 'green', |
| | | cuIcon: 'order', |
| | | url: '/stock/changePallet' |
| | | title: '打印', |
| | | name: 'print', |
| | | color: 'purple', |
| | | cuIcon: 'text', |
| | | url: '/print/print' |
| | | }, |
| | | { |
| | | title: '商品打印', |
| | | name: 'matList', |
| | | color: 'orange', |
| | | cuIcon: 'post', |
| | | url: '/mat/matList' |
| | | }, |
| | | { |
| | | title: '退出登录', |
| | |
| | | <uni-popup-message :type="msgType1" :message="messageText" :duration="2000"></uni-popup-message> |
| | | </uni-popup> |
| | | </view> |
| | | |
| | | <view class="keyboard" :class="hidebg" mode="aspectFit" @click="hideKeyboard"> |
| | | <image src="@/static/img/keyboard1.png" style="height: 70%;width: 70%;"></image> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | barcodeFocus: true, |
| | | matFocus: false, |
| | | matData: '', |
| | | removeNum: 0 |
| | | removeNum: 0, |
| | | hide: true, |
| | | hidebg: 'kb-bgtr' |
| | | } |
| | | }, |
| | | onShow() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | }, |
| | | onLoad() { |
| | | // #ifdef APP |
| | | setInterval(()=>{ |
| | | if (this.hide) { |
| | | uni.hideKeyboard() |
| | | } else { |
| | | |
| | | } |
| | | },20) |
| | | // #endif |
| | | }, |
| | | onBackPress() { |
| | | this.hide = false |
| | | }, |
| | | methods: { |
| | | hideKeyboard() { |
| | | this.hide = this.hide ? false : true |
| | | if (this.hide) { |
| | | this.hidebg = 'kb-bgtr' |
| | | } else { |
| | | this.hidebg = 'kb-bgfa' |
| | | } |
| | | }, |
| | | messageToggle(type) { |
| | | this.msgType1 = type |
| | | this.$refs.message.open() |
| | |
| | | .code { |
| | | width: 100%; |
| | | position: fixed; |
| | | min-height: 200rpx; |
| | | min-height: 140rpx; |
| | | background-color: #FFF; |
| | | z-index: 10; |
| | | } |
| | | .item { |
| | | display: flex; |
| | | align-items: center; |
| | | height: 100rpx; |
| | | height: 70rpx; |
| | | margin-left: 20rpx; |
| | | border-bottom: 1px solid #DCDFE6; |
| | | } |
| | |
| | | width: 100%; |
| | | background-color: white; |
| | | position: fixed; |
| | | margin-top: 200rpx; |
| | | margin-top: 140rpx; |
| | | z-index: 9; |
| | | /* border-top: 1px solid #DCDFE6; */ |
| | | text-align: center; |
| | |
| | | <uni-popup-message :type="msgType1" :message="messageText" :duration="2000"></uni-popup-message> |
| | | </uni-popup> |
| | | </view> |
| | | |
| | | <view class="keyboard" :class="hidebg" mode="aspectFit" @click="hideKeyboard"> |
| | | <image src="@/static/img/keyboard1.png" style="height: 70%;width: 70%;"></image> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | barcodeFocus: true, |
| | | matFocus: false, |
| | | matData: '', |
| | | removeNum: 0 |
| | | removeNum: 0, |
| | | hide: true, |
| | | hidebg: 'kb-bgtr' |
| | | } |
| | | }, |
| | | onLoad() { |
| | | // #ifdef APP |
| | | setInterval(()=>{ |
| | | if (this.hide) { |
| | | uni.hideKeyboard() |
| | | } else { |
| | | |
| | | } |
| | | },20) |
| | | // #endif |
| | | }, |
| | | onBackPress() { |
| | | this.hide = false |
| | | }, |
| | | onShow() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | }, |
| | | methods: { |
| | | hideKeyboard() { |
| | | this.hide = this.hide ? false : true |
| | | if (this.hide) { |
| | | this.hidebg = 'kb-bgtr' |
| | | } else { |
| | | this.hidebg = 'kb-bgfa' |
| | | } |
| | | }, |
| | | messageToggle(type) { |
| | | this.msgType1 = type |
| | | this.$refs.message.open() |
| | |
| | | .item { |
| | | display: flex; |
| | | align-items: center; |
| | | height: 100rpx; |
| | | height: 70rpx; |
| | | margin-left: 20rpx; |
| | | border-bottom: 1px solid #DCDFE6; |
| | | } |
| | |
| | | width: 100%; |
| | | background-color: white; |
| | | position: fixed; |
| | | margin-top: 200rpx; |
| | | margin-top: 140rpx; |
| | | z-index: 9; |
| | | /* border-top: 1px solid #DCDFE6; */ |
| | | text-align: center; |
| | |
| | | </scroll-view> |
| | | </uni-popup> |
| | | </view> |
| | | |
| | | <view class="keyboard" :class="hidebg" mode="aspectFit" @click="hideKeyboard"> |
| | | <image src="@/static/img/keyboard1.png" style="height: 70%;width: 70%;"></image> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | matData: '', |
| | | removeNum: 0, |
| | | type: 'center', |
| | | recommendLocs: [] |
| | | recommendLocs: [], |
| | | hide: true, |
| | | hidebg: 'kb-bgtr' |
| | | } |
| | | }, |
| | | onLoad() { |
| | | // #ifdef APP |
| | | setInterval(()=>{ |
| | | if (this.hide) { |
| | | uni.hideKeyboard() |
| | | } else { |
| | | |
| | | } |
| | | },20) |
| | | // #endif |
| | | }, |
| | | onBackPress() { |
| | | this.hide = false |
| | | }, |
| | | onShow() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | }, |
| | | methods: { |
| | | hideKeyboard() { |
| | | this.hide = this.hide ? false : true |
| | | if (this.hide) { |
| | | this.hidebg = 'kb-bgtr' |
| | | } else { |
| | | this.hidebg = 'kb-bgfa' |
| | | } |
| | | }, |
| | | messageToggle(type) { |
| | | this.msgType1 = type |
| | | this.$refs.message.open() |
| | |
| | | .item { |
| | | display: flex; |
| | | align-items: center; |
| | | height: 100rpx; |
| | | height: 70rpx; |
| | | margin-left: 20rpx; |
| | | border-bottom: 1px solid #DCDFE6; |
| | | } |
| | |
| | | width: 100%; |
| | | background-color: white; |
| | | position: fixed; |
| | | margin-top: 200rpx; |
| | | margin-top: 140rpx; |
| | | z-index: 9; |
| | | /* border-top: 1px solid #DCDFE6; */ |
| | | text-align: center; |
| | |
| | | @confirm="resetConfirm" @close="resetClose"></uni-popup-dialog> |
| | | </uni-popup> |
| | | </view> |
| | | |
| | | <view class="keyboard" :class="hidebg" mode="aspectFit" @click="hideKeyboard"> |
| | | <image src="@/static/img/keyboard1.png" style="height: 70%;width: 70%;"></image> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | matFocus: true, |
| | | matData: '', |
| | | removeNum: 0, |
| | | hide: true, |
| | | hidebg: 'kb-bgtr' |
| | | } |
| | | }, |
| | | onLoad() { |
| | | // #ifdef APP |
| | | setInterval(()=>{ |
| | | uni.hideKeyboard() |
| | | },10) |
| | | if (this.hide) { |
| | | uni.hideKeyboard() |
| | | } else { |
| | | |
| | | } |
| | | },20) |
| | | // #endif |
| | | }, |
| | | onBackPress() { |
| | | this.hide = false |
| | | }, |
| | | onShow() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | }, |
| | | methods: { |
| | | hideKeyboard() { |
| | | this.hide = this.hide ? false : true |
| | | if (this.hide) { |
| | | this.hidebg = 'kb-bgtr' |
| | | } else { |
| | | this.hidebg = 'kb-bgfa' |
| | | } |
| | | }, |
| | | messageToggle(type) { |
| | | this.msgType1 = type |
| | | this.$refs.message.open() |
| | |
| | | <style> |
| | | @import url('../../static/css/wms.css/wms.css'); |
| | | |
| | | .keyboard{ |
| | | top: 120rpx; |
| | | } |
| | | .list:first-child { |
| | | margin-top: 220rpx; |
| | | } |
| | |
| | | @confirm="resetConfirm" @close="resetClose"></uni-popup-dialog> |
| | | </uni-popup> |
| | | </view> |
| | | |
| | | <view class="keyboard" :class="hidebg" mode="aspectFit" @click="hideKeyboard"> |
| | | <image src="@/static/img/keyboard1.png" style="height: 70%;width: 70%;"></image> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | content: '', |
| | | barcodeFocus: true, |
| | | matFocus: false, |
| | | matData: '' |
| | | matData: '', |
| | | hide: true, |
| | | hidebg: 'kb-bgtr' |
| | | |
| | | } |
| | | }, |
| | | onLoad() { |
| | | |
| | | // #ifdef APP |
| | | setInterval(()=>{ |
| | | if (this.hide) { |
| | | uni.hideKeyboard() |
| | | } else { |
| | | |
| | | } |
| | | },20) |
| | | // #endif |
| | | }, |
| | | onBackPress() { |
| | | this.hide = false |
| | | }, |
| | | onShow() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | }, |
| | | methods: { |
| | | hideKeyboard() { |
| | | this.hide = this.hide ? false : true |
| | | if (this.hide) { |
| | | this.hidebg = 'kb-bgtr' |
| | | } else { |
| | | this.hidebg = 'kb-bgfa' |
| | | } |
| | | }, |
| | | messageToggle(type) { |
| | | this.msgType1 = type |
| | | this.$refs.message.open() |
| | |
| | | @confirm="resetConfirm" @close="resetClose"></uni-popup-dialog> |
| | | </uni-popup> |
| | | </view> |
| | | |
| | | <view class="keyboard" :class="hidebg" mode="aspectFit" @click="hideKeyboard"> |
| | | <image src="@/static/img/keyboard1.png" style="height: 70%;width: 70%;"></image> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | messageText: '', |
| | | title: '', |
| | | content: '', |
| | | hide: true, |
| | | hidebg: 'kb-bgtr' |
| | | } |
| | | }, |
| | | onLoad() { |
| | | // #ifdef APP |
| | | setInterval(()=>{ |
| | | if (this.hide) { |
| | | uni.hideKeyboard() |
| | | } else { |
| | | |
| | | } |
| | | },20) |
| | | // #endif |
| | | }, |
| | | onBackPress() { |
| | | this.hide = false |
| | | }, |
| | | onShow() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | }, |
| | | methods: { |
| | | hideKeyboard() { |
| | | this.hide = this.hide ? false : true |
| | | if (this.hide) { |
| | | this.hidebg = 'kb-bgtr' |
| | | } else { |
| | | this.hidebg = 'kb-bgfa' |
| | | } |
| | | }, |
| | | search() { |
| | | let that = this |
| | | uni.request({ |
| | |
| | | .code { |
| | | width: 100%; |
| | | position: fixed; |
| | | min-height: 200rpx; |
| | | min-height: 140rpx; |
| | | background-color: #FFF; |
| | | z-index: 10; |
| | | } |
| | |
| | | .item { |
| | | display: flex; |
| | | align-items: center; |
| | | height: 100rpx; |
| | | height: 70rpx; |
| | | margin-left: 20rpx; |
| | | border-bottom: 1px solid #DCDFE6; |
| | | } |
| | |
| | | width: 100%; |
| | | background-color: white; |
| | | position: fixed; |
| | | margin-top: 200rpx; |
| | | margin-top: 140rpx; |
| | | z-index: 9; |
| | | /* border-top: 1px solid #DCDFE6; */ |
| | | text-align: center; |
| | |
| | | @confirm="resetConfirm" @close="resetClose"></uni-popup-dialog> |
| | | </uni-popup> |
| | | </view> |
| | | |
| | | <view class="keyboard" :class="hidebg" mode="aspectFit" @click="hideKeyboard"> |
| | | <image src="@/static/img/keyboard1.png" style="height: 70%;width: 70%;"></image> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | floor: "", |
| | | devNo: [], |
| | | btnText: '全选', |
| | | |
| | | hide: true, |
| | | hidebg: 'kb-bgtr' |
| | | } |
| | | }, |
| | | onLoad() { |
| | | // #ifdef APP |
| | | setInterval(()=>{ |
| | | if (this.hide) { |
| | | uni.hideKeyboard() |
| | | } else { |
| | | |
| | | } |
| | | },20) |
| | | // #endif |
| | | }, |
| | | onBackPress() { |
| | | this.hide = false |
| | | }, |
| | | onShow() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | }, |
| | | methods: { |
| | | hideKeyboard() { |
| | | this.hide = this.hide ? false : true |
| | | if (this.hide) { |
| | | this.hidebg = 'kb-bgtr' |
| | | } else { |
| | | this.hidebg = 'kb-bgfa' |
| | | } |
| | | }, |
| | | stationCodeInput() { |
| | | setTimeout(() => { |
| | | var len = this.stationCode.length |
| | |
| | | @confirm="resetConfirm" @close="resetClose"></uni-popup-dialog> |
| | | </uni-popup> |
| | | </view> |
| | | |
| | | <view class="keyboard" :class="hidebg" mode="aspectFit" @click="hideKeyboard"> |
| | | <image src="@/static/img/keyboard1.png" style="height: 70%;width: 70%;"></image> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | matFocus: false, |
| | | matData: '', |
| | | removeNum: 0, |
| | | tempOrderInfo: {csocode: '',isoseq: ''} |
| | | tempOrderInfo: {csocode: '',isoseq: ''}, |
| | | hide: true, |
| | | hidebg: 'kb-bgtr' |
| | | } |
| | | }, |
| | | onLoad() { |
| | | |
| | | // #ifdef APP |
| | | setInterval(()=>{ |
| | | if (this.hide) { |
| | | uni.hideKeyboard() |
| | | } else { |
| | | |
| | | } |
| | | },20) |
| | | // #endif |
| | | }, |
| | | onBackPress() { |
| | | this.hide = false |
| | | }, |
| | | onShow() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | }, |
| | | methods: { |
| | | hideKeyboard() { |
| | | this.hide = this.hide ? false : true |
| | | if (this.hide) { |
| | | this.hidebg = 'kb-bgtr' |
| | | } else { |
| | | this.hidebg = 'kb-bgfa' |
| | | } |
| | | }, |
| | | // 根据订单号返回商品详情 |
| | | findOrder() { |
| | | let that = this |
| | |
| | | for (let i = 0; i < res.data[0].combMats.length; i++) { |
| | | that.checkMat(res.data[0].combMats[i]) |
| | | } |
| | | // that.tempOrderInfo.csocode = res.data[0].combMats.csocode ? res.data[0].combMats.csocode : '' |
| | | // that.tempOrderInfo.isoseq = res.data[0].combMats.isoseq ? res.data[0].combMats.isoseq : '' |
| | | that.orderNoFocus = false |
| | | setTimeout(() => { |
| | | that.barcodeFocus = true |
| | | }, 10); |
| | | } else { |
| | | uni.showToast({ |
| | | title: that.orderNo + '请检查订单号是否正确', |
| | |
| | | <style> |
| | | @import url('../../../static/css/wms.css/wms.css'); |
| | | |
| | | .keyboard{ |
| | | width: 40px;height: 40px;background-size: 100%;position: absolute;z-index: 99; |
| | | top: 5px;right: 5px; border-radius: 50%; |
| | | display: flex;align-items: center;justify-content: center; |
| | | } |
| | | .kb-bgtr { |
| | | background-color: #55557f; |
| | | } |
| | | .kb-bgfa { |
| | | background-color: #00aeec; |
| | | } |
| | | |
| | | .list:first-child { |
| | | margin-top: 340rpx; |
| | | } |
| | |
| | | @confirm="resetConfirm" @close="resetClose"></uni-popup-dialog> |
| | | </uni-popup> |
| | | </view> |
| | | |
| | | <view class="keyboard" :class="hidebg" mode="aspectFit" @click="hideKeyboard"> |
| | | <image src="@/static/img/keyboard1.png" style="height: 70%;width: 70%;"></image> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | matFocus: false, |
| | | matData: '', |
| | | removeNum: 0, |
| | | hide: true |
| | | hide: true, |
| | | hidebg: 'kb-bgtr' |
| | | } |
| | | }, |
| | | onLoad() { |
| | |
| | | this.token = uni.getStorageSync('token'); |
| | | }, |
| | | methods: { |
| | | hideKeyboard() { |
| | | this.hide = this.hide ? false : true |
| | | if (this.hide) { |
| | | this.hidebg = 'kb-bgtr' |
| | | } else { |
| | | this.hidebg = 'kb-bgfa' |
| | | } |
| | | }, |
| | | messageToggle(type) { |
| | | this.msgType1 = type |
| | | this.$refs.message.open() |
| | |
| | | @confirm="agvStartConfirm" @close="resetClose"></uni-popup-dialog> |
| | | </uni-popup> |
| | | </view> |
| | | |
| | | <view class="keyboard" :class="hidebg" mode="aspectFit" @click="hideKeyboard"> |
| | | <image src="@/static/img/keyboard1.png" style="height: 70%;width: 70%;"></image> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | messageText: '', |
| | | title: '', |
| | | content: '', |
| | | barcodeFocus: true, |
| | | barcodeFocus: false, |
| | | stationCodeFocus: false, |
| | | matFocus: false, |
| | | orderNoFocus: false, |
| | | orderNoFocus: true, |
| | | matData: '', |
| | | removeNum: 0, |
| | | devNo: [], |
| | | flag: 0, |
| | | tempOrderInfo: {csocode: '',isoseq: ''} |
| | | tempOrderInfo: {csocode: '',isoseq: ''}, |
| | | hide: true, |
| | | hidebg: 'kb-bgtr' |
| | | } |
| | | }, |
| | | onLoad() { |
| | | |
| | | // #ifdef APP |
| | | setInterval(()=>{ |
| | | if (this.hide) { |
| | | uni.hideKeyboard() |
| | | } else { |
| | | |
| | | } |
| | | },20) |
| | | // #endif |
| | | }, |
| | | onBackPress() { |
| | | this.hide = false |
| | | }, |
| | | onShow() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | }, |
| | | methods: { |
| | | hideKeyboard() { |
| | | this.hide = this.hide ? false : true |
| | | if (this.hide) { |
| | | this.hidebg = 'kb-bgtr' |
| | | } else { |
| | | this.hidebg = 'kb-bgfa' |
| | | } |
| | | }, |
| | | findOrder() { |
| | | let that = this |
| | | that.tempOrderInfo.csocode = '' |
| | |
| | | for (let i = 0; i < res.data[0].combMats.length; i++) { |
| | | that.checkMat(res.data[0].combMats[i]) |
| | | } |
| | | // that.tempOrderInfo.csocode = res.data[0].combMats.csocode ? res.data[0].combMats.csocode : '' |
| | | // that.tempOrderInfo.isoseq = res.data[0].combMats.isoseq ? res.data[0].combMats.isoseq : '' |
| | | that.orderNoFocus = false |
| | | setTimeout(() => { |
| | | that.barcodeFocus = true |
| | | }, 10); |
| | | } else { |
| | | uni.showToast({ |
| | | title: that.orderNo + '请检查订单号是否正确', |
| | |
| | | .list:first-child { |
| | | margin-top: 540rpx; |
| | | } |
| | | |
| | | .code { |
| | | width: 100%; |
| | | position: fixed; |
| | | min-height: 200rpx; |
| | | min-height: 210rpx; |
| | | background-color: #FFF; |
| | | z-index: 10; |
| | | } |
| | |
| | | .item { |
| | | display: flex; |
| | | align-items: center; |
| | | height: 100rpx; |
| | | height: 70rpx; |
| | | margin-left: 20rpx; |
| | | border-bottom: 1px solid #DCDFE6; |
| | | } |
| | |
| | | width: 100%; |
| | | background-color: white; |
| | | position: fixed; |
| | | margin-top: 400rpx; |
| | | margin-top: 280rpx; |
| | | z-index: 9; |
| | | /* border-top: 1px solid #DCDFE6; */ |
| | | text-align: center; |
| | |
| | | @confirm="resetConfirm" @close="resetClose"></uni-popup-dialog> |
| | | </uni-popup> |
| | | </view> |
| | | |
| | | <view class="keyboard" :class="hidebg" mode="aspectFit" @click="hideKeyboard"> |
| | | <image src="@/static/img/keyboard1.png" style="height: 70%;width: 70%;"></image> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | floor: "", |
| | | devNo: [], |
| | | btnText: '全选', |
| | | |
| | | hide: true, |
| | | hidebg: 'kb-bgtr' |
| | | } |
| | | }, |
| | | onLoad() { |
| | | // #ifdef APP |
| | | setInterval(()=>{ |
| | | if (this.hide) { |
| | | uni.hideKeyboard() |
| | | } else { |
| | | |
| | | } |
| | | },20) |
| | | // #endif |
| | | }, |
| | | onBackPress() { |
| | | this.hide = false |
| | | }, |
| | | onShow() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | }, |
| | | methods: { |
| | | hideKeyboard() { |
| | | this.hide = this.hide ? false : true |
| | | if (this.hide) { |
| | | this.hidebg = 'kb-bgtr' |
| | | } else { |
| | | this.hidebg = 'kb-bgfa' |
| | | } |
| | | }, |
| | | stationCodeInput() { |
| | | setTimeout(() => { |
| | | var len = this.stationCode.length |
| | |
| | | <style> |
| | | @import url('../../../static/css/wms.css/wms.css'); |
| | | |
| | | .keyboard{ |
| | | width: 40px;height: 40px;background-size: 100%;position: absolute;z-index: 99; |
| | | top: 5px;right: 5px; border-radius: 50%; |
| | | display: flex;align-items: center;justify-content: center; |
| | | } |
| | | .kb-bgtr { |
| | | background-color: #55557f; |
| | | } |
| | | .kb-bgfa { |
| | | background-color: #00aeec; |
| | | } |
| | | |
| | | .bg-red { |
| | | background-color: #e54d42; |
| | | color: #ffffff; |
| | |
| | | @confirm="resetConfirm" @close="resetClose"></uni-popup-dialog> |
| | | </uni-popup> |
| | | </view> |
| | | |
| | | <view class="keyboard" :class="hidebg" mode="aspectFit" @click="hideKeyboard"> |
| | | <image src="@/static/img/keyboard1.png" style="height: 70%;width: 70%;"></image> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | floor: "", |
| | | devNo: [], |
| | | btnText: '全选', |
| | | hide: true, |
| | | hidebg: 'kb-bgtr' |
| | | } |
| | | }, |
| | | onLoad() { |
| | | // #ifdef APP |
| | | setInterval(()=>{ |
| | | if (this.hide) { |
| | | uni.hideKeyboard() |
| | | } else { |
| | | |
| | | } |
| | | },20) |
| | | // #endif |
| | | }, |
| | | onBackPress() { |
| | | this.hide = false |
| | | }, |
| | | onShow() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | }, |
| | | methods: { |
| | | hideKeyboard() { |
| | | this.hide = this.hide ? false : true |
| | | if (this.hide) { |
| | | this.hidebg = 'kb-bgtr' |
| | | } else { |
| | | this.hidebg = 'kb-bgfa' |
| | | } |
| | | }, |
| | | selectAll() { |
| | | if (this.btnText == '全选') { |
| | | for (let i in this.dataList) { |
| | |
| | | <uni-popup-message :type="msgType1" :message="messageText" :duration="2000"></uni-popup-message> |
| | | </uni-popup> |
| | | </view> |
| | | |
| | | <view class="keyboard" :class="hidebg" mode="aspectFit" @click="hideKeyboard"> |
| | | <image src="@/static/img/keyboard1.png" style="height: 70%;width: 70%;"></image> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | matFocus: false, |
| | | matData: '', |
| | | removeNum: 0, |
| | | pickData: '' |
| | | pickData: '', |
| | | hide: true, |
| | | hidebg: 'kb-bgtr' |
| | | } |
| | | }, |
| | | onLoad() { |
| | | // #ifdef APP |
| | | setInterval(()=>{ |
| | | if (this.hide) { |
| | | uni.hideKeyboard() |
| | | } else { |
| | | |
| | | } |
| | | },20) |
| | | // #endif |
| | | }, |
| | | onBackPress() { |
| | | this.hide = false |
| | | }, |
| | | onShow() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | }, |
| | | methods: { |
| | | hideKeyboard() { |
| | | this.hide = this.hide ? false : true |
| | | if (this.hide) { |
| | | this.hidebg = 'kb-bgtr' |
| | | } else { |
| | | this.hidebg = 'kb-bgfa' |
| | | } |
| | | }, |
| | | pickCodeFn() { |
| | | let _this = this |
| | | let pickCode = _this.pickCode.split(';') |
| | |
| | | .item { |
| | | display: flex; |
| | | align-items: center; |
| | | height: 100rpx; |
| | | height: 70rpx; |
| | | margin-left: 20rpx; |
| | | border-bottom: 1px solid #DCDFE6; |
| | | } |
| | |
| | | width: 100%; |
| | | background-color: white; |
| | | position: fixed; |
| | | margin-top: 100rpx; |
| | | margin-top: 70rpx; |
| | | z-index: 9; |
| | | /* border-top: 1px solid #DCDFE6; */ |
| | | text-align: center; |
| | |
| | | <view> |
| | | <view class="code"> |
| | | <view class="item"> |
| | | <view class="code-decs">库位号:</view> |
| | | <input type="text" placeholder=" 扫码 / 输入" v-model="locNo" :focus="locNoFocus"> |
| | | <button v-show="recommendLocs.length" size="mini" type="primary" @click="toggle('right')">推荐</button> |
| | | </view> |
| | | <view class="item"> |
| | | <view class="code-decs">托盘码:</view> |
| | | <input type="text" placeholder=" 扫码 / 输入" v-model="barcode" :focus="barcodeFocus" @input="recommendLoc()"> |
| | | <view class="item-right"> |
| | | <button></button> |
| | | </view> |
| | | </view> |
| | | <view class="item"> |
| | | <view class="code-decs">库位号:</view> |
| | | <input type="text" placeholder=" 扫码 / 输入" v-model="locNo" :focus="locNoFocus"> |
| | | <button v-show="recommendLocs.length" size="mini" type="primary" @click="toggle('right')">推荐</button> |
| | | </view> |
| | | </view> |
| | | <view class="mat-list-title"> |
| | |
| | | </scroll-view> |
| | | </uni-popup> |
| | | </view> |
| | | |
| | | <view class="keyboard" :class="hidebg" mode="aspectFit" @click="hideKeyboard"> |
| | | <image src="@/static/img/keyboard1.png" style="height: 70%;width: 70%;"></image> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | matData: '', |
| | | removeNum: 0, |
| | | type: 'center', |
| | | recommendLocs: [] |
| | | recommendLocs: [], |
| | | hide: true, |
| | | hidebg: 'kb-bgtr' |
| | | } |
| | | }, |
| | | onShow() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | }, |
| | | onLoad() { |
| | | // #ifdef APP |
| | | setInterval(()=>{ |
| | | if (this.hide) { |
| | | uni.hideKeyboard() |
| | | } else { |
| | | |
| | | } |
| | | },20) |
| | | // #endif |
| | | }, |
| | | onBackPress() { |
| | | this.hide = false |
| | | }, |
| | | methods: { |
| | | hideKeyboard() { |
| | | this.hide = this.hide ? false : true |
| | | if (this.hide) { |
| | | this.hidebg = 'kb-bgtr' |
| | | } else { |
| | | this.hidebg = 'kb-bgfa' |
| | | } |
| | | }, |
| | | chose(item) { |
| | | this.locNo = item |
| | | this.$refs.popup.close() |
| | |
| | | .code { |
| | | width: 100%; |
| | | position: fixed; |
| | | min-height: 200rpx; |
| | | min-height: 140rpx; |
| | | background-color: #FFF; |
| | | z-index: 10; |
| | | } |
| | | .item { |
| | | display: flex; |
| | | align-items: center; |
| | | height: 100rpx; |
| | | height: 70rpx; |
| | | margin-left: 20rpx; |
| | | border-bottom: 1px solid #DCDFE6; |
| | | } |
| | |
| | | width: 100%; |
| | | background-color: white; |
| | | position: fixed; |
| | | margin-top: 200rpx; |
| | | margin-top: 140rpx; |
| | | z-index: 9; |
| | | /* border-top: 1px solid #DCDFE6; */ |
| | | text-align: center; |
| | |
| | | for (let i = 0; i < res.data[0].combMats.length; i++) { |
| | | that.checkMat(res.data[0].combMats[i]) |
| | | } |
| | | // that.tempOrderInfo.csocode = res.data[0].combMats.csocode ? res.data[0].combMats.csocode : '' |
| | | // that.tempOrderInfo.isoseq = res.data[0].combMats.isoseq ? res.data[0].combMats.isoseq : '' |
| | | that.orderNoFocus = false |
| | | setTimeout(() => { |
| | | that.barcodeFocus = true |
| | | }, 10); |
| | | } else { |
| | | uni.showToast({ |
| | | title: that.orderNo + '请检查订单号是否正确', |
| | |
| | | <style> |
| | | @import url('../../../static/css/wms.css/wms.css'); |
| | | |
| | | .keyboard{ |
| | | width: 40px;height: 40px;background-size: 100%;position: absolute;z-index: 99; |
| | | top: 5px;right: 5px; border-radius: 50%; |
| | | display: flex;align-items: center;justify-content: center; |
| | | } |
| | | .kb-bgtr { |
| | | background-color: #55557f; |
| | | } |
| | | .kb-bgfa { |
| | | background-color: #00aeec; |
| | | } |
| | | .list:first-child { |
| | | margin-top: 360rpx; |
| | | } |
| | |
| | | @confirm="resetConfirm" @close="resetClose"></uni-popup-dialog> |
| | | </uni-popup> |
| | | </view> |
| | | |
| | | <view class="keyboard" :class="hidebg" mode="aspectFit" @click="hideKeyboard"> |
| | | <image src="@/static/img/keyboard1.png" style="height: 70%;width: 70%;"></image> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | messageText: '', |
| | | title: '', |
| | | content: '', |
| | | barcodeFocus: false, |
| | | orderNoFocus: true, |
| | | matFocus: false, |
| | | barcodeFocus: true, |
| | | matData: '', |
| | | removeNum: 0, |
| | | tempOrderInfo: {csocode: '',isoseq: ''} |
| | | tempOrderInfo: {csocode: '',isoseq: ''}, |
| | | hide: true, |
| | | hidebg: 'kb-bgtr' |
| | | } |
| | | }, |
| | | onLoad() { |
| | | |
| | | // #ifdef APP |
| | | setInterval(()=>{ |
| | | if (this.hide) { |
| | | uni.hideKeyboard() |
| | | } else { |
| | | |
| | | } |
| | | },20) |
| | | // #endif |
| | | }, |
| | | onBackPress() { |
| | | this.hide = false |
| | | }, |
| | | onShow() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | }, |
| | | methods: { |
| | | hideKeyboard() { |
| | | this.hide = this.hide ? false : true |
| | | if (this.hide) { |
| | | this.hidebg = 'kb-bgtr' |
| | | } else { |
| | | this.hidebg = 'kb-bgfa' |
| | | } |
| | | }, |
| | | messageToggle(type) { |
| | | this.msgType1 = type |
| | | this.$refs.message.open() |
| | |
| | | <style> |
| | | @import url('../../../static/css/wms.css/wms.css'); |
| | | |
| | | .keyboard{ |
| | | width: 40px;height: 40px;background-size: 100%;position: absolute;z-index: 99; |
| | | top: 5px;right: 5px; border-radius: 50%; |
| | | display: flex;align-items: center;justify-content: center; |
| | | } |
| | | .kb-bgtr { |
| | | background-color: #55557f; |
| | | } |
| | | .kb-bgfa { |
| | | background-color: #00aeec; |
| | | } |
| | | .list:first-child { |
| | | margin-top: 200rpx; |
| | | } |
| | |
| | | .search-bar { |
| | | background-color: #f8f8f8; |
| | | } |
| | | |
| | | |
| | | .keyboard{ |
| | | width: 40px;height: 40px;background-size: 100%;position: absolute;z-index: 99; |
| | | top: 5px;right: 5px; border-radius: 50%; |
| | | display: flex;align-items: center;justify-content: center; |
| | | } |
| | | .kb-bgtr { |
| | | background-color: #55557f; |
| | | } |
| | | .kb-bgfa { |
| | | background-color: #00aeec; |
| | | } |