|
|
@ -5,10 +5,11 @@ |
|
|
|
</view> |
|
|
|
<view class="page-wraper" v-if="detailSource.length>0"> |
|
|
|
<view class="page-header"> |
|
|
|
<view class="header_item"> |
|
|
|
来源库位 : {{fromLocationCode}} |
|
|
|
<view class="header-view"> |
|
|
|
<view class="header_item"> |
|
|
|
来源库位 : {{fromLocationCode}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class='split_line'></view> |
|
|
|
</view> |
|
|
|
<view class="page-main"> |
|
|
|
<scroll-view scroll-y="true" class="page-main-scroll"> |
|
|
@ -16,9 +17,8 @@ |
|
|
|
<view class=""> |
|
|
|
<record-com-detail-card :dataContent="item" :index="index" :settingParam="dataContent" |
|
|
|
:isShowFromLocation="false" @removeItem="removeItem(index,item)" |
|
|
|
:isShowToLocation="false" |
|
|
|
:isShowParentToLocation="false" |
|
|
|
@updateData="updateData" @removePack="removePack"> |
|
|
|
:isShowToLocation="false" :isShowParentToLocation="false" @updateData="updateData" |
|
|
|
@removePack="removePack"> |
|
|
|
</record-com-detail-card> |
|
|
|
|
|
|
|
</view> |
|
|
@ -45,7 +45,7 @@ |
|
|
|
</view> |
|
|
|
<win-scan-button @goScan='openScanPopup'></win-scan-button> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<winComScanBalance ref="scanPopup" @getBalance='getScanResult' :bussinessCode="businessTypeCode"> |
|
|
|
</winComScanBalance> |
|
|
|
<comMessage ref="comMessage"></comMessage> |
|
|
@ -132,7 +132,7 @@ |
|
|
|
show: false, |
|
|
|
positionInfo: "请选择生产线", |
|
|
|
resultData: {}, |
|
|
|
itemCode:"" |
|
|
|
itemCode: "" |
|
|
|
}; |
|
|
|
}, |
|
|
|
onLoad(option) { |
|
|
@ -170,7 +170,7 @@ |
|
|
|
mounted() {}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
|
|
|
|
|
|
|
|
getBusinessType() { |
|
|
|
getBusinessType(this.businessTypeCode, res => { |
|
|
|
if (res.success) { |
|
|
@ -183,7 +183,7 @@ |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
getScanResult(result) { |
|
|
|
this.setData(result); |
|
|
|
}, |
|
|
@ -191,14 +191,14 @@ |
|
|
|
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 + "]没有库存余额") |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var item = this.detailSource.find(res => { |
|
|
|
if (res.itemCode == balance.itemCode) { |
|
|
|
return res |
|
|
@ -514,7 +514,7 @@ |
|
|
|
this.toWarehouseCode = ''; |
|
|
|
this.detailSource = []; |
|
|
|
this.positionInfo = "请选择生产线"; |
|
|
|
this.itemCode="" |
|
|
|
this.itemCode = "" |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|