| | |
| | | .text-content { |
| | | width: 100%; |
| | | height: 100%; |
| | | font-size: 16px; |
| | | font-size: 3vw; |
| | | /* background-color: aliceblue; */ |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: space-around; |
| | | } |
| | | .swiper-head { |
| | | width: 100%; |
| | |
| | | <view class="info-box"> |
| | | <y-box> |
| | | <!-- 文本容器 --> |
| | | <view class="text-content"> |
| | | <view class="text-content" v-for="item in swiperList"> |
| | | <view>目标站:{{infoText.staNo}}</view> |
| | | <view>商品名称:{{item.matnr}}</view> |
| | | <view>商品名称:{{item.maknx}}</view> |
| | | <view>规格:{{item.specs}}</view> |
| | | <view>数量:{{item.count}} / {{item.total ? item.total : '--'}}</view> |
| | | |
| | | |
| | | |
| | | <!-- head --> |
| | | <view class="swiper-head"> |
| | | <!-- <view class="swiper-head"> |
| | | <view style="width: 20%;">目标站:{{infoText.staNo}}</view> |
| | | <view style="width: 30%;">商品编号</view> |
| | | <view style="width: 20%;">商品名称</view> |
| | | <view style="width: 20%;">规格</view> |
| | | <view style="width: 10%;">数量</view> |
| | | </view> |
| | | </view> --> |
| | | <!-- body --> |
| | | <view class="swiper-body"> |
| | | <!-- <view class="swiper-body"> --> |
| | | <!-- swiper 一些说明 |
| | | circular 是否采用衔接滑动,即播放到末尾后重新回到开头 |
| | | vertical 滑动方向是否为纵向 |
| | | display-multiple-items 同时显示的滑块数量 --> |
| | | <swiper class="swiper-body-main" vertical="true" |
| | | <!-- <swiper class="swiper-body-main" vertical="true" |
| | | 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 style="width: 10%;">{{item.count}}</view> |
| | | </swiper-item> |
| | | </swiper> |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | | </y-box> |
| | | </view> |
| | |
| | | }, |
| | | onLoad() { |
| | | setInterval(()=>{ |
| | | // 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() |
| | | },3600000) |
| | | this.getUrl() |
| | | this.controller() |
| | | },1000) |
| | | this.getServerData() |
| | | this.initlineChart() |
| | | this.initPieChart() |
| | | this.getOther() |
| | | this.getDate2() |
| | | }, |
| | | methods: { |
| | | timeOuts() { |
| | |
| | | let that = this |
| | | var result = ycqdata.dataInfo2 |
| | | var res = result.data |
| | | console.log(res); |
| | | that.infoModel(res) |
| | | }, |
| | | getError2 () { |
| | |
| | | "dataInfo2": |
| | | {"data":{"msg": "操作成功","code": 200,"data": [{ |
| | | "title":"全板出库", |
| | | "workNo":8046, |
| | | "staNo":4, |
| | | "workNo":7083, |
| | | "staNo":217, |
| | | "sourceStaNo":null, |
| | | "locNo":null, |
| | | "sourceLocNo":"1500502", |
| | | "barcode": "80009901", |
| | | "matDtos":[ |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "matnr":"00841LH-10", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "specs":"gcslxwt" |
| | | }, |
| | | { |
| | | "matnr":"LPJ.SLJ.XG.037", |
| | | "maknx":"工程塑料下弯头", |
| | | "batch":null,"count":40.0, |
| | | "total": null, |
| | | "specs":"gcslxwt" |
| | | } |
| | | |
| | | ], |
| | | "emptyMk":false, |
| | | "ioType":101 |