|
|
@ -6,10 +6,11 @@ |
|
|
|
</view> |
|
|
|
<view class="page-wraper" v-if="detailSource.length>0"> |
|
|
|
<view class="page-header"> |
|
|
|
<view class="header-view"> |
|
|
|
<view class="header_item" style="font-size:35rpx; padding: 10rpx;"> |
|
|
|
来源库位 : {{fromLocationCode}} |
|
|
|
</view> |
|
|
|
<u-line /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="page-main"> |
|
|
|
<scroll-view scroll-y="true" class="page-main-scroll"> |
|
|
@ -17,11 +18,9 @@ |
|
|
|
<view class=""> |
|
|
|
<record-com-detail-card :dataContent="item" :index="index" :settingParam="dataContent" |
|
|
|
:isShowFromLocation="false" @removeItem="removeItem(index,item)" |
|
|
|
:isShowToLocation="false" |
|
|
|
@updateData="updateData" @removePack="removePack"> |
|
|
|
:isShowToLocation="false" @updateData="updateData" @removePack="removePack"> |
|
|
|
</record-com-detail-card> |
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
</scroll-view> |
|
|
|
</view> |
|
|
@ -31,7 +30,8 @@ |
|
|
|
style="background-color:ghostwhite; width: 100%; "> |
|
|
|
<view class=""> |
|
|
|
<requiredLocation v-if="showToLoaction" title="目标库位" :locationCode="toLocationCode" |
|
|
|
@getLocation='getToLocationCode' :locationAreaTypeList="toLocationAreaTypeList"></requiredLocation> |
|
|
|
@getLocation='getToLocationCode' :locationAreaTypeList="toLocationAreaTypeList"> |
|
|
|
</requiredLocation> |
|
|
|
</view> |
|
|
|
<view class=" uni-flex uni-row"> |
|
|
|
<button class="btn_single_commit" hover-class="btn_commit_after" @click="commit">提交</button> |
|
|
@ -214,8 +214,11 @@ |
|
|
|
let balance = result.balance; |
|
|
|
let label = result.label; |
|
|
|
let pack = result.package; |
|
|
|
|
|
|
|
|
|
|
|
if (this.fromLocationCode && this.fromLocationCode != balance.locationCode) { |
|
|
|
this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]在库位["+this.fromLocationCode+"]没有库存余额") |
|
|
|
this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]在库位[" + this |
|
|
|
.fromLocationCode + "]没有库存余额") |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
@ -408,8 +411,7 @@ |
|
|
|
// detail.toLocationCode = detail.toLocationCode |
|
|
|
submitItem.qty = detail.handleQty; |
|
|
|
submitItem.package = ""; |
|
|
|
submitItem.recordList=[ |
|
|
|
{ |
|
|
|
submitItem.recordList = [{ |
|
|
|
toInventoryStatus: detail.inventoryStatus, |
|
|
|
fromPackingNumber: info.packingNumber, |
|
|
|
fromParentPackingNumber: detail.parentNumber, |
|
|
@ -425,8 +427,7 @@ |
|
|
|
toPackUnit: detail.packUnit, |
|
|
|
fromPackQty: detail.packQty, |
|
|
|
toPackQty: detail.packQty |
|
|
|
} |
|
|
|
] |
|
|
|
}] |
|
|
|
subList.push(submitItem) |
|
|
|
} |
|
|
|
}) |
|
|
|