|
|
@ -10,8 +10,10 @@ |
|
|
|
<view class="uni-row uni-flex"> |
|
|
|
<!-- <com-issue-request-info :workShopCode="workShopCode" :dataContent="toLocation"> |
|
|
|
</com-issue-request-info> --> |
|
|
|
<work-station :workshopCode="workShopCode" :productionLineCode="toLocation.productionLineCode" |
|
|
|
:workStationCode="toLocation.workStationCode" :rawLocationCode="toLocation.toLocationCode"></work-station> |
|
|
|
<work-station :workshopCode="workShopCode" |
|
|
|
:productionLineCode="toLocation.productionLineCode" |
|
|
|
:workStationCode="toLocation.workStationCode" |
|
|
|
:rawLocationCode="toLocation.toLocationCode"></work-station> |
|
|
|
</view> |
|
|
|
<com-issue-detail-card ref='comIssueDetailCard' :dataContent="toLocation" |
|
|
|
@updateData='updateData'> |
|
|
@ -101,8 +103,8 @@ |
|
|
|
fromInventoryStatuses: "", |
|
|
|
toInventoryStatuses: "", |
|
|
|
requestList: [], |
|
|
|
dataContent:{}, |
|
|
|
managementList:[] |
|
|
|
dataContent: {}, |
|
|
|
managementList: [] |
|
|
|
} |
|
|
|
}, |
|
|
|
mounted() { |
|
|
@ -212,7 +214,7 @@ |
|
|
|
caclcQty() { |
|
|
|
var totalQty = 0; |
|
|
|
this.detailSource.subList.forEach(res => { |
|
|
|
totalQty = calc.add(totalQty,res.qty); |
|
|
|
totalQty = calc.add(totalQty, res.qty); |
|
|
|
}) |
|
|
|
this.detailSource.totalQty = totalQty; |
|
|
|
}, |
|
|
@ -244,10 +246,10 @@ |
|
|
|
let handleQty = 0; |
|
|
|
if (batch != undefined) { |
|
|
|
batch.Records.forEach(res => { |
|
|
|
handleQty = calc.add(handleQty,res.qty); |
|
|
|
handleQty = calc.add(handleQty, res.qty); |
|
|
|
}) |
|
|
|
batch.handleQty = handleQty; |
|
|
|
itemHandleQty = calc.add(itemHandleQty,handleQty) |
|
|
|
itemHandleQty = calc.add(itemHandleQty, handleQty) |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
@ -283,9 +285,17 @@ |
|
|
|
.inventoryStatus; |
|
|
|
record.toLocationCode = subItem |
|
|
|
.toLocationCode; |
|
|
|
record.fromLocationCode = fromLocation.fromLocationCode |
|
|
|
record.fromLocationCode = fromLocation |
|
|
|
.fromLocationCode |
|
|
|
record.supplierCode = r.supplierCode; |
|
|
|
|
|
|
|
let single_price = r.singlePrice == null ? |
|
|
|
0 : r.singlePrice; |
|
|
|
|
|
|
|
record.singlePrice = single_price; |
|
|
|
record.amount = single_price * r.qty; |
|
|
|
|
|
|
|
|
|
|
|
//使用在途库不改变管理模式 |
|
|
|
var info = getPackingNumberAndBatch( |
|
|
|
this.managementList, r |
|
|
@ -360,11 +370,11 @@ |
|
|
|
|
|
|
|
}) |
|
|
|
}, |
|
|
|
clearData(){ |
|
|
|
this.detailSource =[]; |
|
|
|
this.requestList=[]; |
|
|
|
this.dataContent ={} |
|
|
|
this.managementList=[] |
|
|
|
clearData() { |
|
|
|
this.detailSource = []; |
|
|
|
this.requestList = []; |
|
|
|
this.dataContent = {} |
|
|
|
this.managementList = [] |
|
|
|
}, |
|
|
|
|
|
|
|
showMessage(message) { |
|
|
|