| | |
| | | <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 locs" :key="i"> |
| | | <swiper-item class="swiper-item" v-for="(item,i) in locs" :key="i" |
| | | :style="item.color"> |
| | | <view style="width: 10%;">No:{{i+1}}</view> |
| | | <view style="width: 12%;">{{item.orderNo ? item.orderNo : '--'}}</view> |
| | | <view style="width: 12%;">{{item.wrkNo ? item.wrkNo : '--'}}</view> |
| | |
| | | getVisualizedTest() { |
| | | let that = this |
| | | var result = ycqdata.dataInfo3 |
| | | console.log(result); |
| | | // console.log(result); |
| | | let res = result.data |
| | | if (res.code === 200) { |
| | | console.log(res.data.agvWaitPakins); |
| | | // console.log(res.data.agvWaitPakins); |
| | | if (res.data.agvWrkDetls != null) { |
| | | that.locs = res.data.agvWrkDetls |
| | | if (res.data.agvWrkMast) { |
| | |
| | | success(res) { |
| | | res = res.data |
| | | that.result = res |
| | | if (res.code === 200) { |
| | | console.log(res.data.agvWaitPakins); |
| | | if (res.code === 200) { |
| | | if (res.data.agvWrkDetls != null) { |
| | | that.locs = res.data.agvWrkDetls |
| | | if (res.data.agvWrkMast) { |
| | | if (res.data.agvWrkMast.ioType == 107) { |
| | | that.infoText.title = '盘点出库' |
| | | } else if (res.data.agvWrkMast.ioType == 103) { |
| | | that.infoText.title = '拣料出库' |
| | | that.infoText.title = '拣料出库' |
| | | for (let k in that.locs) { |
| | | if (that.locs[k].anfme == 0 || that.locs[k].anfme == null) { |
| | | that.locs[k]['color'] = 'color: #df741c' |
| | | } |
| | | } |
| | | } else if (res.data.agvWrkMast.ioType == 57) { |
| | | that.infoText.title = '盘点再入库' |
| | | } else if (res.data.agvWrkMast.ioType == 53) { |
| | |
| | | } else if (res.data.agvWrkMast.ioType == 101) { |
| | | that.infoText.title = '全板出库' |
| | | } |
| | | |
| | | |
| | | } else{ |
| | | that.infoText.title = '入库作业' |
| | | } |
| | |
| | | success(result) { |
| | | var res = result.data |
| | | if (res.code === 200) { |
| | | console.log(res.data.pie); |
| | | // console.log(res.data.pie); |
| | | that.chartsData.Pie.series[0].data = res.data.pie |
| | | that.baseInfo.longAllLoc = res.data.longAllLoc |
| | | that.baseInfo.shortAllLoc = res.data.shortAllLoc |
| | |
| | | flex-direction: row; |
| | | } |
| | | |
| | | .red { |
| | | color: red |
| | | } |
| | | |
| | | .container{ |
| | | width: 100vw; |
| | | min-height: 100vh; |