| | |
| | | <view class="text-content"> |
| | | <!-- 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 style="width: 30%;">托盘码: {{infoText.barcode}}</view> |
| | | <view style="width: 20%;">工作号: {{infoText.workNo}}</view> |
| | | <view style="width: 30%;">源库位: {{infoText.sourceLocNo}}</view> |
| | | <view style="width: 20%;">目标站: {{infoText.staNo}}</view> |
| | | </view> |
| | | <!-- body --> |
| | | <view class="swiper-body"> |
| | |
| | | vertical 滑动方向是否为纵向 |
| | | display-multiple-items 同时显示的滑块数量 --> |
| | | <swiper class="swiper-body-main" vertical="true" |
| | | display-multiple-items="8" |
| | | display-multiple-items="3" |
| | | circular="true" :autoplay="true" :interval="3000" :duration="1000"> |
| | | <swiper-item class="swiper-item" v-for="(item,i) in swiperList" :key="i"> |
| | | <view style="width: 20%;">No:{{i+1}}</view> |
| | | <view style="width: 30%;">{{item.matnr}}</view> |
| | | <view style="width: 20%;">{{item.maknx}}</view> |
| | | <view style="width: 20%;">{{item.specs}}</view> |
| | | <view style="width: 10%;">{{item.count}}</view> |
| | | <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.maktx}}</view> |
| | | |
| | | |
| | | <view style="width: 30%;">作业: {{item.count}} / 原数: {{item.total}}</view> |
| | | <view style="width: 40%;">规格: {{item.specs}}</view> |
| | | <view style="width: 30%;">单据号: {{item.ordeNo}}</view> |
| | | </swiper-item> |
| | | </swiper> |
| | | </view> |
| | |
| | | that.baseLedId = BaseLedId |
| | | that.basePort = BasePort |
| | | that.baseCrnId = BaseCrnId |
| | | this.getUrl() |
| | | // this.getUrl() |
| | | setTimeout(()=>{ |
| | | this.getServerData() |
| | | this.initlineChart() |
| | |
| | | } |
| | | // infoType1:只有拣料等信息 |
| | | that.infoType = 1 |
| | | if (res.data[0].ioType === 101) { |
| | | that.infoText.title = '全板出库' |
| | | } else if(res.data[0].ioType === 103) { |
| | | that.infoText.title = '检料出库' |
| | | switch (res.data[0].ioType) { |
| | | case 1: |
| | | that.infoText.title = '全板入库' |
| | | break; |
| | | case 1: |
| | | that.infoText.title = '空板入库' |
| | | break; |
| | | case 53: |
| | | that.infoText.title = '拣料回库' |
| | | break; |
| | | case 54: |
| | | that.infoText.title = '并板回库' |
| | | break; |
| | | case 57: |
| | | that.infoText.title = '盘点回库' |
| | | break; |
| | | case 101: |
| | | that.infoText.title = '全板出库' |
| | | break; |
| | | case 103: |
| | | that.infoText.title = '拣料出库' |
| | | break; |
| | | case 104: |
| | | that.infoText.title = '并板出库' |
| | | break; |
| | | case 107: |
| | | that.infoText.title = '盘点出库' |
| | | break; |
| | | case 110: |
| | | that.infoText.title = '空板出库' |
| | | break; |
| | | } |
| | | that.infoText.staNo = res.data[0].staNo |
| | | that.swiperList = res.data[0].matDtos |