| | |
| | | <view class="info-box"> |
| | | <y-box> |
| | | <!-- 文本容器 --> |
| | | <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.model}}</view> |
| | | <view>数量:{{item.count}} / {{item.total ? item.total : '--'}}</view> |
| | | |
| | | |
| | | <view class="text-content" style="font-size: 3vw;" v-for="item in swiperList"> |
| | | <view style="display: flex;text-align: left;"> |
| | | <view>订单号:{{infoText.orderNo}}</view> |
| | | <!-- <view style="width: 40%;">客户名称:{{infoText.cstmrName}}</view> |
| | | <view style="width: 30%;">已完成/总数:{{infoText.finish}}/{{infoText.count}}</view> --> |
| | | </view> |
| | | <view style="display: flex;text-align: left;"> |
| | | <view style="width: 30%;">任务号:{{infoText.workNo}}</view> |
| | | <view style="width: 38%;">货物:{{item.maknx}}</view> |
| | | <view style="width: 32%;white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">生产日期:{{item.manuDate}}</view> |
| | | </view> |
| | | <view style="display: flex;text-align: left;"> |
| | | <view style="width: 30%;">托盘码:{{infoText.barcode}}</view> |
| | | <view style="width: 38%;">批次:{{item.batch}}</view> |
| | | <view style="width: 32%;">数量:{{item.anfme}}</view> |
| | | </view> |
| | | <view style="display: flex;text-align: left;"> |
| | | <view style="width: 30%;">源站:{{infoText.sourceStaNo}}</view> |
| | | <view style="width: 38%;">净重:{{item.weight}}</view> |
| | | <view style="width: 32%;">毛重:{{item.grossWeight}}</view> |
| | | </view> |
| | | <view style="display: flex;text-align: left;"> |
| | | <view style="width: 30%;">目标站:{{infoText.staNo}}</view> |
| | | <view style="width: 38%;">源库位:{{infoText.sourceLocNo}}</view> |
| | | <view style="width: 32%;">目标库位:{{infoText.locNo}}</view> |
| | | </view> |
| | | |
| | | <!-- head --> |
| | | <!-- <view class="swiper-head"> |
| | |
| | | text: '', |
| | | infoText: { |
| | | title: '', |
| | | sourceStaNo:'', |
| | | staNo: "", |
| | | matnr: "", |
| | | maknx: "", |
| | | specs: "", |
| | | count: "", |
| | | error: "", |
| | | barcode: "", |
| | | orderNo: '', |
| | | batch: '', |
| | | doneOfTray: '', |
| | | totalOfTray: '', |
| | | doneOfUnit: '', |
| | | totalOfUnit: '', |
| | | ctnNo: '1' |
| | | cstmrName:'', |
| | | finish:'', |
| | | workNo:'', |
| | | locNo:'', |
| | | sourceLocNo:'' |
| | | }, |
| | | swiperList: [], |
| | | timeOut: false, |
| | |
| | | } |
| | | // infoType1:只有拣料等信息 |
| | | that.infoType = 1 |
| | | if (res.data[0].ioType === 101) { |
| | | that.infoText.title = '全板出库' |
| | | } else if (res.data[0].ioType === 103) { |
| | | that.infoText.title = '检料出库' |
| | | } else if (res.data[0].ioType === 107) { |
| | | that.infoText.title = '盘点出库' |
| | | } |
| | | that.infoText.title = res.data[0].title |
| | | that.infoText.staNo = res.data[0].staNo |
| | | that.infoText.sourceStaNo = res.data[0].sourceStaNo |
| | | that.infoText.count = res.data[0].count |
| | | that.infoText.error = res.data[0].error |
| | | that.infoText.barcode = res.data[0].barcode |
| | | that.infoText.orderNo = res.data[0].orderNo |
| | | that.infoText.cstmrName = res.data[0].cstmrName |
| | | that.infoText.workNo = res.data[0].workNo |
| | | that.infoText.locNo = res.data[0].locNo |
| | | that.infoText.sourceLocNo = res.data[0].sourceLocNo |
| | | |
| | | that.swiperList = res.data[0].matDtos |
| | | // that.infoText.matnr = res.data[0].matDtos[0].matnr |
| | | // that.infoText.specs = res.data[0].matDtos[0].specs |