| | |
| | | <view class="flex-col" style="width: calc(100% - 5vw);"> |
| | | <view class="flex-row" style="position: relative;"> |
| | | <view style="width: 2vw;padding-left: 2vw;;font-size: 2vw;"> |
| | | {{baseInfo.xDistance}}</view> |
| | | {{baseInfo.xDistance}} |
| | | </view> |
| | | <view style="position: absolute;bottom: 0;left: 10vw;">KM</view> |
| | | </view> |
| | | <view style="height: 100%;text-align: left;text-indent: 2em;">累计走行距离(千米) |
| | |
| | | <view class="flex-col" style="width: calc(100% - 5vw);"> |
| | | <view class="flex-row" style="position: relative;"> |
| | | <view style="width: 2vw;padding-left: 2vw;;font-size: 2vw;"> |
| | | {{baseInfo.yDistance}}</view> |
| | | {{baseInfo.yDistance}} |
| | | </view> |
| | | <view style="position: absolute;bottom: 0;left: 10vw;">KM</view> |
| | | </view> |
| | | <view style="height: 100%;text-align: left;text-indent: 2em;">累计升降距离(千米) |
| | |
| | | <view class="flex-col" style="width: calc(100% - 5vw);"> |
| | | <view class="flex-row" style="position: relative;"> |
| | | <view style="-width: 2vw;padding-left: 2vw;;font-size: 2vw;"> |
| | | {{baseInfo.xDuration}}</view> |
| | | {{baseInfo.xDuration}} |
| | | </view> |
| | | <view style="position: absolute;bottom: 0;left: 10vw;">H</view> |
| | | </view> |
| | | <view style="height: 100%;text-align: left;text-indent: 2em;">累计走行时长(小时) |
| | |
| | | <view class="flex-col" style="width: calc(100% - 5vw);"> |
| | | <view class="flex-row" style="position: relative;"> |
| | | <view style="width: 2vw;padding-left: 2vw;;font-size: 2vw;"> |
| | | {{baseInfo.yDuration}}</view> |
| | | {{baseInfo.yDuration}} |
| | | </view> |
| | | <view style="position: absolute;bottom: 0;left: 10vw;">H</view> |
| | | </view> |
| | | <view style="height: 100%;text-align: left;text-indent: 2em;">累计升降时长(小时) |
| | |
| | | </view> |
| | | <view |
| | | style="position: absolute;bottom: 0;right: 0;font-size: 2.5vw;color: #FF5722;;"> |
| | | {{baseInfo.used}}</view> |
| | | {{baseInfo.used}} |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | <view style="width: 8vw;height: 4vw;line-height: 4vw;">在库</view> |
| | | <view |
| | | style="width: 8vw;height: 4vw;line-height: 4vw;font-size: 2vw;"> |
| | | {{baseInfo.stockCount}}</view> |
| | | {{baseInfo.stockCount}} |
| | | </view> |
| | | </view> |
| | | <view class="flex-row sub-info" style="margin-top: 2vh;"> |
| | | <image src="../../static/f1.png" mode="aspectFit"></image> |
| | | <view style="width: 8vw;height: 4vw;line-height: 4vw;">空库</view> |
| | | <view |
| | | style="width: 8vw;height: 4vw;line-height: 4vw;font-size: 2vw;"> |
| | | {{baseInfo.emptyCount}}</view> |
| | | {{baseInfo.emptyCount}} |
| | | </view> |
| | | </view> |
| | | <view class="flex-row sub-info" style="margin-top: 2vh;"> |
| | | <image src="../../static/e1.png" mode="aspectFit"></image> |
| | | <view style="width: 8vw;height: 4vw;line-height: 4vw;">锁定</view> |
| | | <view |
| | | style="width: 8vw;height: 4vw;line-height: 4vw;font-size: 2vw;"> |
| | | {{baseInfo.noneCount}}</view> |
| | | {{baseInfo.noneCount}} |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | |
| | | </y-box> |
| | | </view> |
| | | <view style="height: 2%;"></view> |
| | | <view style="height: 18%;"> |
| | | <y-box> |
| | | <view class="flex-col" |
| | | style="width: 100%;height: 100%;font-size: 4vh;justify-content: center;letter-spacing: 1vh;"> |
| | | 自动仓库WCS监控平台 |
| | | </view> |
| | | </y-box> |
| | | <view style="height: 1%;"></view> |
| | | <view style="height: 18%;" class="flex-row"> |
| | | <view style ="margin-left: -4vw;height: 4vw;margin-top: 1vw;"> |
| | | <image style="height: 4vw;" src="../../static/zy_logo.png" mode="aspectFit"> |
| | | </image> |
| | | </view> |
| | | <view style ="width: 10vw;margin-left: -7vw;"> |
| | | <image style="height: 8vw;" src="../../static/barcode.png" mode="aspectFit"> |
| | | </image> |
| | | </view> |
| | | |
| | | |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | }, |
| | | onLoad() { |
| | | this.getLedInfo() |
| | | |
| | | |
| | | setInterval(() => { |
| | | this.getServerData() |
| | | this.getDate2() |
| | |
| | | success(result) { |
| | | that.timeOut = false |
| | | that.times = 0 |
| | | var res = result.data |
| | | var res = result.data |
| | | var res = result.data |
| | | if (res.data && res.data !== "") { |
| | | if (that.infoType == 2 || that.infoType == 3) { |
| | | return; |
| | | } |
| | | |
| | | |
| | | // infoType1:只有拣料等信息 |
| | | that.infoType = 1 |
| | | if (res.data[0].ioType === 101) { |
| | | that.infoText.title = '全板出库' |
| | | } else if(res.data[0].ioType === 103) { |
| | | } else if (res.data[0].ioType === 103) { |
| | | that.infoText.title = '检料出库' |
| | | } else if(res.data[0].ioType === 107) { |
| | | } else if (res.data[0].ioType === 107) { |
| | | that.infoText.title = '盘点出库' |
| | | } else if(res.data[0].ioType === 1) { |
| | | } else if (res.data[0].ioType === 1) { |
| | | that.infoText.title = '入库' |
| | | } else if(res.data[0].ioType === 10) { |
| | | } else if (res.data[0].ioType === 10) { |
| | | that.infoText.title = '空托入库' |
| | | } else if(res.data[0].ioType === 110) { |
| | | } else if (res.data[0].ioType === 110) { |
| | | that.infoText.title = '空托出库' |
| | | } |
| | | that.infoText.barcode = res.data[0].barcode |
| | |
| | | }, |
| | | fail(err) { |
| | | that.timeOut = true |
| | | that.times = that.times+1 |
| | | that.times = that.times + 1 |
| | | that.infoType = 0 |
| | | } |
| | | }) |