| | |
| | | <y-box> |
| | | <view class="flex-col" style="width: 100%;height: 100%;font-size: 4vh;justify-content: center;letter-spacing: 1vh;"> |
| | | <!-- 嘉善边锋机械股份有限公司 --> |
| | | <!-- 自动仓库WCS监控平台 --> |
| | | <image src="../../static/vietnam.jpg" mode="" style="width: 100%;"></image> |
| | | 自动仓库WCS监控平台 |
| | | <!-- <image src="../../static/vietnam.jpg" mode="" style="width: 100%;"></image> --> |
| | | </view> |
| | | </y-box> |
| | | </view> |
| | |
| | | <view class="text-content"> |
| | | <!-- head --> |
| | | <view class="swiper-head"> |
| | | <view>托盘码:{{infoText.barcode}}</view> |
| | | <view>商品编号</view> |
| | | <view>商品名称</view> |
| | | <view>规格</view> |
| | | <view>数量</view> |
| | | <view style="width: 20%;">托盘码:{{infoText.barcode}}</view> |
| | | <view style="width: 30%;">商品编号</view> |
| | | <view style="width: 20%;">商品名称</view> |
| | | <view style="width: 20%;">规格</view> |
| | | <view style="width: 10%;">数量</view> |
| | | </view> |
| | | <!-- body --> |
| | | <view class="swiper-body"> |
| | |
| | | display-multiple-items="8" |
| | | circular="true" :autoplay="true" :interval="3000" :duration="1000"> |
| | | <swiper-item class="swiper-item" v-for="(item,i) in swiperList" :key="i"> |
| | | <view>No:{{i+1}}</view> |
| | | <view>{{item.matnr}}</view> |
| | | <view>{{item.maknx}}</view> |
| | | <view>{{item.specs}}</view> |
| | | <view>{{item.count}}</view> |
| | | <view style="width: 20%;">No:{{i+1}}</view> |
| | | <view style="width: 30%;">{{item.matnr}}</view> |
| | | <view style="width: 20%;">{{item.maknx}}</view> |
| | | <view style="width: 20%;">{{item.specs}}</view> |
| | | <view style="width: 10%;">{{item.count}}</view> |
| | | </swiper-item> |
| | | </swiper> |
| | | </view> |
| | |
| | | </view> |
| | | </view> |
| | | <view style="color: #FFF;position: fixed;bottom: 10px;left: 10px;" v-show="timeOut"> |
| | | 连接超时 |
| | | 连接超时: {{times}} s |
| | | </view> |
| | | </view> |
| | | </template> |
| | |
| | | barcode: "" |
| | | }, |
| | | swiperList: [], |
| | | timeOut: false |
| | | timeOut: false, |
| | | times: 0 |
| | | } |
| | | }, |
| | | onShow() { |
| | |
| | | },1000) |
| | | }, |
| | | methods: { |
| | | timeOut() { |
| | | console.log(this.times); |
| | | }, |
| | | getUrl() { |
| | | this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePort + "/" +this.baseUrl |
| | | }, |
| | |
| | | data: {ledId:that.baseLedId}, |
| | | success(result) { |
| | | that.timeOut = false |
| | | that.times = 0 |
| | | var res = result.data |
| | | if (res.data && res.data !== "") { |
| | | if (that.infoType == 2 || that.infoType == 3) { |
| | |
| | | }, |
| | | fail(err) { |
| | | that.timeOut = true |
| | | that.times = that.times+3 |
| | | that.infoType = 0 |
| | | } |
| | | }) |
| | |
| | | method:"GET", |
| | | success(result) { |
| | | that.timeOut = false |
| | | that.times = 0 |
| | | var res = result.data |
| | | if (res.data && res.data !== "") { |
| | | var errorInfo = res.data |