|
|
@ -105,9 +105,9 @@ |
|
|
|
if (this.fromType == "requestType") { |
|
|
|
updateTitle("采购退货申请") |
|
|
|
} else { |
|
|
|
updateTitle("采购退货记录") |
|
|
|
updateTitle("制品回收记录") |
|
|
|
} |
|
|
|
var typeCode = "PurchaseReturn" |
|
|
|
var typeCode = "Productredress" |
|
|
|
getBusinessType(typeCode, res => { |
|
|
|
if (res.success) { |
|
|
|
this.businessType = res.businessType; |
|
|
@ -149,6 +149,7 @@ |
|
|
|
}, |
|
|
|
|
|
|
|
getScanResult(result) { |
|
|
|
console.log('result',result) |
|
|
|
if (this.supplierCode == '') { |
|
|
|
this.supplierCode = result.label.supplierCode; |
|
|
|
} else { |
|
|
@ -170,6 +171,7 @@ |
|
|
|
}, |
|
|
|
|
|
|
|
getDataSource(result) { |
|
|
|
console.log('getDataSource',result) |
|
|
|
let balance = result.balance; |
|
|
|
let label = result.label; |
|
|
|
let pack = result.package; |
|
|
@ -282,10 +284,12 @@ |
|
|
|
submitItem.toBatch = detail.batch; |
|
|
|
|
|
|
|
submitItem.fromLocationCode = detail.locationCode; |
|
|
|
submitItem.toLocationCode = ''; //采购退货直接出库,目标库位为空 |
|
|
|
submitItem.toLocationCode = detail.locationCode; |
|
|
|
|
|
|
|
submitItem.qty = detail.handleQty; |
|
|
|
submitItem.package = ""; |
|
|
|
submitItem.toInventoryStatus = detail.toInventoryStatus; |
|
|
|
|
|
|
|
subList.push(submitItem) |
|
|
|
} |
|
|
|
}) |
|
|
|