| | |
| | | display-multiple-items 同时显示的滑块数量 --> |
| | | <swiper class="swiper-body-main" vertical="true" |
| | | display-multiple-items="3" |
| | | circular="true" :autoplay="true" :interval="3000" :duration="2000"> |
| | | circular="true" :autoplay="true" :interval="5000" :duration="2000"> |
| | | <swiper-item class="swiper-item" v-for="(item,i) in swiperList" :key="i"> |
| | | <view style="width: 30%;">{{i+1}} / {{swiperList.length}}</view> |
| | | <!-- <view style="width: 30%;">料号: {{item.matnr}}</view> --> |
| | | <view style="width: 40%;">料号: {{item.matnr}}</view> |
| | | <view style="width: 30%;">备注: {{item.orderNo}}</view> |
| | | <view style="width: 30%;">规格: {{item.specs}}</view> |
| | | |
| | | |
| | | <view style="width: 30%;">出库: {{item.count}} / 总数: {{item.total}}</view> |
| | |
| | | // this.getUrl() |
| | | }, |
| | | onLoad() { |
| | | this.ws() |
| | | // this.ws() |
| | | setInterval(()=>{ |
| | | // this.getServerData() |
| | | // this.initlineChart() |
| | | // this.initPieChart() |
| | | // this.getOther() |
| | | // this.getDate() |
| | | // this.getDate2() |
| | | this.getServerData() |
| | | this.initlineChart() |
| | | this.initPieChart() |
| | | this.getOther() |
| | | this.getDate() |
| | | this.getDate2() |
| | | this.getInfo() |
| | | // this.getError() |
| | | this.getError() |
| | | // this.getInfo2() |
| | | // this.getError2() |
| | | // this.getUrl() |
| | | // this.controller() |
| | | this.getUrl() |
| | | this.controller() |
| | | |
| | | // 测试用 |
| | | |
| | |
| | | ledId: that.baseLedId, |
| | | }, |
| | | success(result) { |
| | | console.log(result); |
| | | var res = result.data |
| | | if (res.code === 200) { |
| | | that.baseInfo.xDistance = res.data.xDistance |