| | |
| | | <!-- 文本容器 --> |
| | | <view class="text-content"> |
| | | <!-- head --> |
| | | <!-- <view class="swiper-head"> |
| | | <view style="flex: 1;">作业数量:{{infoText.barcode}}</view> |
| | | <view style="flex: 1;">剩余数量</view> |
| | | </view> --> |
| | | <view class="swiper-head"> |
| | | <view style="flex: 1;">站号:{{infoText.staNo}}</view> |
| | | <view style="flex: 2;">托盘码:{{infoText.barcode}}</view> |
| | | <view style="flex: 2;">商品编号</view> |
| | | <view style="flex: 2;">箱码</view> |
| | | <view style="flex: 2;">商品名称</view> |
| | | <view style="flex: 1;">规格</view> |
| | | <view style="flex: 5;">规格</view> |
| | | <view style="flex: 1;">作业数量</view> |
| | | <view style="flex: 1;">剩余数量</view> |
| | | </view> |
| | |
| | | display-multiple-items="15" |
| | | circular="true" :autoplay="true" :interval="3000" :duration="1000"> |
| | | <swiper-item class="swiper-item" v-for="(item,i) in swiperList" :key="i" :style="item.color"> |
| | | <view style="flex: 1;">No:{{i+1}}</view> |
| | | <view style="flex: 2;word-break: break-all;">{{item.orderNo ? item.orderNo : '--'}}</view> |
| | | <view style="flex: 2;">{{item.matNo}}</view> |
| | | <view style="flex: 2;">{{item.containerCode}}</view> |
| | | <view style="flex: 2;">{{item.maknx}}</view> |
| | | <view style="flex: 1;">{{item.specs}}</view> |
| | | <view style="flex: 5;">{{item.specs}}</view> |
| | | <view style="flex: 1;">{{item.count}}</view> |
| | | <view style="flex: 1;">{{item.total}}</view> |
| | | </swiper-item> |
| | |
| | | that.baseLedId = BaseLedId |
| | | that.basePort = BasePort |
| | | that.baseCrnId = BaseCrnId |
| | | // this.getUrl() |
| | | |
| | | |
| | | |
| | | this.getDate2() |
| | | setTimeout(()=>{ |
| | | // this.getServerData() |
| | | // this.initlineChart() |
| | | // this.initPieChart() |
| | | // this.getOther() |
| | | setTimeout(()=>{ |
| | | this.getServerData() |
| | | this.initlineChart() |
| | | this.initPieChart() |
| | | this.getOther() |
| | | setTimeout(()=>{ |
| | | this.getServerData() |
| | | this.initlineChart() |
| | | this.initPieChart() |
| | | this.getOther() |
| | | },3000) |
| | | },1000) |
| | | },1000) |
| | | }, |
| | | onLoad() { |
| | | setInterval(()=>{ |
| | | this.getDate2() |
| | | this.getUrl() |
| | | this.getInfo() |
| | | this.getError() |
| | | // this.getInfo2() |
| | | // this.getError2() |
| | | this.controller() |
| | | },1000) |
| | | |
| | | setInterval(()=>{ |
| | | this.getServerData() |
| | | this.initlineChart() |
| | | this.initPieChart() |
| | | this.getOther() |
| | | this.getDate2() |
| | | // this.getInfo() |
| | | // this.getError() |
| | | this.getInfo2() |
| | | this.getError2() |
| | | this.getUrl() |
| | | this.controller() |
| | | },1000) |
| | | },600000) |
| | | }, |
| | | methods: { |
| | | timeOuts() { |
| | |
| | | res.data[0].matDtos[k]['color'] = 'color: #df741c' |
| | | } |
| | | } |
| | | console.log(that.swiperList); |
| | | that.infoText.staNo = res.data[0].staNo |
| | | that.infoText.barcode = res.data[0].barcode |
| | | that.swiperList = res.data[0].matDtos |
| | | // that.infoText.matnr = res.data[0].matDtos[0].matnr |
| | | // that.infoText.specs = res.data[0].matDtos[0].specs |