|
@ -7,17 +7,20 @@ |
|
|
<view class="header_item"> |
|
|
<view class="header_item"> |
|
|
申请单号:{{jobContent.requestNumber}} |
|
|
申请单号:{{jobContent.requestNumber}} |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<u-line color="#D8D8D8"></u-line> |
|
|
<u-line color="#D8D8D8"></u-line> |
|
|
<view class="cen_card" style="padding: 5rpx;"> |
|
|
<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.deliverType}}</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="cell_info"> |
|
|
<view class="cell_info"> |
|
|
<view class="text_lightblue">客户寄售库</view> |
|
|
<view class="text_lightblue">客户代码</view> |
|
|
<view>{{toLocationCode}}</view> |
|
|
<view>{{jobContent.customerCode}}</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="cell_info"> |
|
|
<view class="cell_info"> |
|
|
<view class="text_lightblue">目标库位</view> |
|
|
<view class="text_lightblue">目标库位</view> |
|
|
<view>{{toLocationCode}}</view> |
|
|
<view>{{toLocationCode}}</view> |
|
@ -106,7 +109,7 @@ |
|
|
scanOptions: [], |
|
|
scanOptions: [], |
|
|
status: "", |
|
|
status: "", |
|
|
toLocationCode: "", |
|
|
toLocationCode: "", |
|
|
jobStatus:"" |
|
|
jobStatus: "" |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
@ -138,7 +141,7 @@ |
|
|
onBackPress(e) { |
|
|
onBackPress(e) { |
|
|
//已经接收但是没提交任务 |
|
|
//已经接收但是没提交任务 |
|
|
if (e.from == 'backbutton') { |
|
|
if (e.from == 'backbutton') { |
|
|
if (this.jobStatus=="2") { |
|
|
if (this.jobStatus == "2") { |
|
|
//取消承接任务 |
|
|
//取消承接任务 |
|
|
cancleTakeDeliverJob(this.id).then(res => { |
|
|
cancleTakeDeliverJob(this.id).then(res => { |
|
|
uni.navigateBack(); |
|
|
uni.navigateBack(); |
|
@ -281,7 +284,7 @@ |
|
|
record.supplierCode = r.supplierCode; |
|
|
record.supplierCode = r.supplierCode; |
|
|
|
|
|
|
|
|
//使用在途库不改变管理模式 |
|
|
//使用在途库不改变管理模式 |
|
|
if (this.toLocationCode ==null) { |
|
|
if (this.toLocationCode == null) { |
|
|
record.toPackingNumber = r |
|
|
record.toPackingNumber = r |
|
|
.packingNumber; |
|
|
.packingNumber; |
|
|
record.toBatch = r.batch; |
|
|
record.toBatch = r.batch; |
|
|