|
@ -1,13 +1,11 @@ |
|
|
<template> |
|
|
<template> |
|
|
<view class="page-wraper"> |
|
|
<view class="page-wraper"> |
|
|
<view class="page-header"> |
|
|
<view class="page-header"> |
|
|
|
|
|
<view class="header-view"> |
|
|
<view class="header_job_top"> |
|
|
<view class="header_job_top"> |
|
|
<job-top :dataContent="jobContent"></job-top> |
|
|
<job-top :dataContent="jobContent"></job-top> |
|
|
</view> |
|
|
</view> |
|
|
<view class="header_item"> |
|
|
|
|
|
申请单号 : {{jobContent.requestNumber}} |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
<view class='split_line'></view> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="page-main"> |
|
|
<view class="page-main"> |
|
@ -15,7 +13,8 @@ |
|
|
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> |
|
|
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> |
|
|
<view class=""> |
|
|
<view class=""> |
|
|
<com-receipt-detail-card :dataContent="item" :index="index" :settingParam="jobContent" |
|
|
<com-receipt-detail-card :dataContent="item" :index="index" :settingParam="jobContent" |
|
|
@remove="updateData" @updateData="updateData" :locationAreaTypeList='toLocationAreaTypeList'> |
|
|
@remove="updateData" @updateData="updateData" |
|
|
|
|
|
:locationAreaTypeList='toLocationAreaTypeList'> |
|
|
</com-receipt-detail-card> |
|
|
</com-receipt-detail-card> |
|
|
</view> |
|
|
</view> |
|
|
<view class='split_line'></view> |
|
|
<view class='split_line'></view> |
|
@ -27,8 +26,8 @@ |
|
|
<view class="uni-flex u-col-center space-between padding_10" |
|
|
<view class="uni-flex u-col-center space-between padding_10" |
|
|
style="background-color:ghostwhite; width: 100%; "> |
|
|
style="background-color:ghostwhite; width: 100%; "> |
|
|
<view class=""> |
|
|
<view class=""> |
|
|
<locationCompare ref="locationCompare" title="目标库位" :recommendLocationCode="jobToLocationCode" :locationCode="toLocationCode" |
|
|
<locationCompare ref="locationCompare" title="目标库位" :recommendLocationCode="jobToLocationCode" |
|
|
@getLocation='scanLocationCode' |
|
|
:locationCode="toLocationCode" @getLocation='scanLocationCode' |
|
|
:locationAreaTypeList="toLocationAreaTypeList"></locationCompare> |
|
|
:locationAreaTypeList="toLocationAreaTypeList"></locationCompare> |
|
|
</view> |
|
|
</view> |
|
|
<view class=" uni-flex uni-row"> |
|
|
<view class=" uni-flex uni-row"> |
|
@ -221,8 +220,7 @@ |
|
|
this.showErrorMessage("物料号【" + itemCode + "】不在列表中") |
|
|
this.showErrorMessage("物料号【" + itemCode + "】不在列表中") |
|
|
} else { |
|
|
} else { |
|
|
|
|
|
|
|
|
var itemDetail = detail.subList.find(r => r.packingNumber == packingNumber && r.batch == batch |
|
|
var itemDetail = detail.subList.find(r => r.packingNumber == packingNumber && r.batch == batch); |
|
|
); |
|
|
|
|
|
if (itemDetail == undefined) { |
|
|
if (itemDetail == undefined) { |
|
|
this.showErrorMessage("箱码【" + packingNumber + "】,批次【" + batch + "】" + "不在列表中") |
|
|
this.showErrorMessage("箱码【" + packingNumber + "】,批次【" + batch + "】" + "不在列表中") |
|
|
} else { |
|
|
} else { |
|
@ -231,7 +229,8 @@ |
|
|
} else { |
|
|
} else { |
|
|
itemDetail.scaned = true; |
|
|
itemDetail.scaned = true; |
|
|
itemDetail.handleQty = Number(result.label.qty); |
|
|
itemDetail.handleQty = Number(result.label.qty); |
|
|
itemDetail.toLocationCode = this.toLocationCode? this.toLocationCode:itemDetail.toLocationCode ; |
|
|
itemDetail.toLocationCode = this.toLocationCode ? this.toLocationCode : itemDetail |
|
|
|
|
|
.toLocationCode; |
|
|
itemDetail.packQty = result.package.packQty |
|
|
itemDetail.packQty = result.package.packQty |
|
|
itemDetail.labelQty = Number(result.label.qty); |
|
|
itemDetail.labelQty = Number(result.label.qty); |
|
|
calcHandleQty(this.detailSource); |
|
|
calcHandleQty(this.detailSource); |
|
|