|
@ -1,30 +1,31 @@ |
|
|
<template> |
|
|
<template> |
|
|
<view class="page-wraper"> |
|
|
<view class="page-wraper"> |
|
|
<view class="page-main"> |
|
|
<view class="page-header"> |
|
|
|
|
|
<view class="header_job_top"> |
|
|
<scroll-view scroll-y="true" class=""> |
|
|
<job-top :dataContent="jobContent" ></job-top> |
|
|
<view v-for="(toLocation, index) in detailSource"> |
|
|
</view> |
|
|
<view class="cen_card" style="padding: 20rpx;"> |
|
|
<view class="header_item" > |
|
|
|
|
|
申请单号:{{jobContent.requestNumber}} |
|
|
|
|
|
</view> |
|
|
|
|
|
<u-line color="#D8D8D8" style="margin-bottom: 15rpx;margin-top: 10rpx;"></u-line> |
|
|
|
|
|
<view class="cen_card" style="padding: 5rpx;"> |
|
|
<view class="cell_box uni-flex uni-row"> |
|
|
<view class="cell_box uni-flex uni-row"> |
|
|
<view class="cell_info"> |
|
|
<view class="cell_info"> |
|
|
<view class="text_lightblue">客户代码</view> |
|
|
<view class="text_lightblue">客户代码</view> |
|
|
<view>{{jobContent.customerCode}}</view> |
|
|
<view>{{jobContent.customerCode}}</view> |
|
|
</view> |
|
|
</view> |
|
|
<!-- <view class="cell_info"> |
|
|
|
|
|
<view class="text_lightblue">生产线</view> |
|
|
|
|
|
<view>{{toLocation.productionLineCode}}</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="cell_info"> |
|
|
|
|
|
<view class="text_lightblue">工位</view> |
|
|
|
|
|
<view>{{ toLocation.workStationCode }}</view> |
|
|
|
|
|
</view> --> |
|
|
|
|
|
<view class="cell_info"> |
|
|
<view class="cell_info"> |
|
|
<view class="text_lightblue">客户寄售库</view> |
|
|
<view class="text_lightblue">客户寄售库</view> |
|
|
<view>{{ toLocation.toLocationCode}}</view> |
|
|
<view>{{toLocationCode}}</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<u-line /> |
|
|
<u-line /> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="page-main"> |
|
|
|
|
|
<scroll-view scroll-y="true" class=""> |
|
|
|
|
|
<view v-for="(toLocation, index) in detailSource"> |
|
|
<comDeliverDetailCard ref='comIssueDetailCard' :dataContent="toLocation" @updateData='updateData'> |
|
|
<comDeliverDetailCard ref='comIssueDetailCard' :dataContent="toLocation" @updateData='updateData'> |
|
|
</comDeliverDetailCard> |
|
|
</comDeliverDetailCard> |
|
|
</view> |
|
|
</view> |
|
@ -78,6 +79,7 @@ |
|
|
import comDeliverDetailCard from '@/pages/deliver/coms/comDeliverDetailCard.vue' |
|
|
import comDeliverDetailCard from '@/pages/deliver/coms/comDeliverDetailCard.vue' |
|
|
import comScanDeliverPack from '@/pages/deliver/coms/comScanDeliverPack.vue' |
|
|
import comScanDeliverPack from '@/pages/deliver/coms/comScanDeliverPack.vue' |
|
|
import comMessage from '@/mycomponents/common/comMessage.vue' |
|
|
import comMessage from '@/mycomponents/common/comMessage.vue' |
|
|
|
|
|
import jobTop from '@/mycomponents/job/jobTop.vue' |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
name: 'issueDetail', |
|
|
name: 'issueDetail', |
|
@ -86,7 +88,8 @@ |
|
|
winScanButton, |
|
|
winScanButton, |
|
|
comDeliverDetailCard, |
|
|
comDeliverDetailCard, |
|
|
comScanDeliverPack, |
|
|
comScanDeliverPack, |
|
|
comMessage |
|
|
comMessage, |
|
|
|
|
|
jobTop |
|
|
}, |
|
|
}, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
@ -97,7 +100,8 @@ |
|
|
detailOptions: [], |
|
|
detailOptions: [], |
|
|
scanOptions: [], |
|
|
scanOptions: [], |
|
|
status:"", |
|
|
status:"", |
|
|
received :false |
|
|
received :false, |
|
|
|
|
|
toLocationCode:"" |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
@ -164,8 +168,8 @@ |
|
|
that.jobContent = res.data; |
|
|
that.jobContent = res.data; |
|
|
that.subList = res.data.subList; |
|
|
that.subList = res.data.subList; |
|
|
that.detailSource = getDataSource(that.detailSource, that.subList) |
|
|
that.detailSource = getDataSource(that.detailSource, that.subList) |
|
|
|
|
|
that.toLocationCode =that.subList[0].toLocationCode |
|
|
that.resizeCollapse(); |
|
|
that.resizeCollapse(); |
|
|
uni.hideLoading(); |
|
|
|
|
|
} else { |
|
|
} else { |
|
|
that.showMessage('列表数据为0'); |
|
|
that.showMessage('列表数据为0'); |
|
|
} |
|
|
} |
|
|