|
@ -118,13 +118,13 @@ |
|
|
businessType: {}, |
|
|
businessType: {}, |
|
|
showToLoaction: true, |
|
|
showToLoaction: true, |
|
|
recommendLocationList: [], //推荐库位列表 |
|
|
recommendLocationList: [], //推荐库位列表 |
|
|
fromWarehouseCode: '' //来源仓库 |
|
|
fromWarehouseCode: '' ,//来源仓库 |
|
|
|
|
|
businessTypeCode:"PurchasePutaway" |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
onLoad(option) { |
|
|
onLoad(option) { |
|
|
this.clearData(); |
|
|
this.clearData(); |
|
|
var typeCode = "PurchasePutaway" |
|
|
getBusinessType(this.businessTypeCode, res => { |
|
|
getBusinessType(typeCode, res => { |
|
|
|
|
|
if (res.success) { |
|
|
if (res.success) { |
|
|
this.businessType = res.businessType; |
|
|
this.businessType = res.businessType; |
|
|
this.fromLocationAreaTypeList = res.fromLocationAreaTypeList; |
|
|
this.fromLocationAreaTypeList = res.fromLocationAreaTypeList; |
|
@ -206,7 +206,8 @@ |
|
|
itemCode: balance.itemCode, |
|
|
itemCode: balance.itemCode, |
|
|
batch: balance.batch, |
|
|
batch: balance.batch, |
|
|
inventoryStatus: balance.inventoryStatus, |
|
|
inventoryStatus: balance.inventoryStatus, |
|
|
supplierCode: pack.supplierCode |
|
|
supplierCode: pack.supplierCode, |
|
|
|
|
|
businessCode:this.businessTypeCode |
|
|
}; |
|
|
}; |
|
|
console.log(JSON.stringify(param)) |
|
|
console.log(JSON.stringify(param)) |
|
|
getPutawayRecommendLocation(param).then(res => { |
|
|
getPutawayRecommendLocation(param).then(res => { |
|
|