| | |
| | | vertical 滑动方向是否为纵向 |
| | | display-multiple-items 同时显示的滑块数量 --> |
| | | <swiper class="swiper-body-main" vertical="true" |
| | | display-multiple-items="1" |
| | | display-multiple-items="2" |
| | | circular="true" :autoplay="true" :interval="3000" :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%;">{{i+1}} / {{swiperList.length}}</view> |
| | | <!-- <view style="width: 30%;">料号: {{item.matnr}}</view> --> |
| | | <view style="width: 50%; font-size: 3vw;">物料编码: {{item.matnr}}</view> |
| | | <view style="width: 50%; font-size: 3vw;">名称: {{item.maknx}}</view> |
| | |
| | | |
| | | <view style="width: 50%; font-size: 3vw;">规格: {{item.specs}}</view> |
| | | <view style="width: 50%; font-size: 3vw;">批次: {{item.batch}}</view> |
| | | <view style="width: 50%; font-size: 3vw;">销售单号: {{item.orderNo}}</view> |
| | | <view style="width: 50%; font-size: 3vw;">客户名称: {{item.customer}}</view> |
| | | <view style="width: 33%; font-size: 3vw;">数量: {{item.count}}</view> |
| | | |
| | | |
| | |
| | | const BasePort = uni.getStorageSync('BasePort'); |
| | | const BaseCrnId = uni.getStorageSync('BaseCrnId'); |
| | | const PROJ = uni.getStorageSync('UPROJ'); |
| | | that.baseUrl = "gtwcs" |
| | | that.baseIP = "10.0.100.120" |
| | | that.baseUrl = PROJ |
| | | that.baseIP = BaseIP |
| | | that.baseLedId = BaseLedId |
| | | that.basePort = "8088" |
| | | that.basePort = BasePort |
| | | that.baseCrnId = BaseCrnId |
| | | that.webSockerInit(); |
| | | }, |
| | |
| | | // this.getDate2() |
| | | // this.getInfo() |
| | | // this.getError() |
| | | // // this.getInfo2() |
| | | // // this.getError2() |
| | | // this.getInfo2() |
| | | // this.getError2() |
| | | // this.getUrl() |
| | | this.controller() |
| | | // this.statisticalModel() |
| | |
| | | |
| | | },1000*60*60*4) |
| | | |
| | | setInterval(()=> { |
| | | setTimeout(()=>{ |
| | | var time = new Date(); |
| | | var hh = time.getHours(); |
| | | var mm = time.getMinutes(); |
| | | if(hh > this.oldHours && mm >this.oldMin && this.oldMin - mm < 55){ |
| | | plus.runtime.restart(); |
| | | } |
| | | if(mm >this.oldMin && mm - this.oldMin >2){ |
| | | plus.runtime.restart(); |
| | | } |
| | | },100) |
| | | // setInterval(()=> { |
| | | // setTimeout(()=>{ |
| | | // var time = new Date(); |
| | | // var hh = time.getHours(); |
| | | // var mm = time.getMinutes(); |
| | | // if(hh > this.oldHours && mm >this.oldMin && this.oldMin - mm < 55){ |
| | | // plus.runtime.restart(); |
| | | // } |
| | | // if(mm >this.oldMin && mm - this.oldMin >2){ |
| | | // plus.runtime.restart(); |
| | | // } |
| | | // },100) |
| | | |
| | | },1000*30) |
| | | // },1000*30) |
| | | }, |
| | | methods: { |
| | | webSockerInit(){ |
| | |
| | | that.infoText.title = '空托入库' |
| | | } else if(data.taskList[0].ioType === 110) { |
| | | that.infoText.title = '空托出库' |
| | | }else if(data.taskList[0].ioType === 104) { |
| | | } else if(data.taskList[0].ioType === 104) { |
| | | that.infoText.title = '并板出库' |
| | | }else if(data.taskList[0].ioType === 54) { |
| | | that.infoText.title = '并板入库' |
| | | } |
| | | that.infoText.barcode = data.taskList[0].barcode |
| | | that.infoText.workNo = data.taskList[0].workNo |