|
@ -97,7 +97,8 @@ |
|
|
supplierCode: '', //供应商代码 |
|
|
supplierCode: '', //供应商代码 |
|
|
poNumber: '', |
|
|
poNumber: '', |
|
|
fromType: "", |
|
|
fromType: "", |
|
|
dataContent: {} |
|
|
dataContent: {}, |
|
|
|
|
|
currentPackage: {} |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
@ -158,7 +159,8 @@ |
|
|
this.supplierCode = result.label.supplierCode; |
|
|
this.supplierCode = result.label.supplierCode; |
|
|
} else { |
|
|
} else { |
|
|
if (this.supplierCode != result.label.supplierCode) { |
|
|
if (this.supplierCode != result.label.supplierCode) { |
|
|
this.showErrorMessage('扫描的供应商代码[' + result.label.supplierCode + ']与默认供应商代码[' + this.poNumber + ']不一致') |
|
|
this.showErrorMessage('扫描的供应商代码[' + result.label.supplierCode + ']与默认供应商代码[' + this.poNumber + |
|
|
|
|
|
']不一致') |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -178,6 +180,7 @@ |
|
|
let balance = result.balance; |
|
|
let balance = result.balance; |
|
|
let label = result.label; |
|
|
let label = result.label; |
|
|
let pack = result.package; |
|
|
let pack = result.package; |
|
|
|
|
|
this.currentPackage = pack; |
|
|
|
|
|
|
|
|
var item = this.detailSource.find(res => { |
|
|
var item = this.detailSource.find(res => { |
|
|
if (res.itemCode == balance.itemCode) { |
|
|
if (res.itemCode == balance.itemCode) { |
|
@ -291,6 +294,8 @@ |
|
|
|
|
|
|
|
|
submitItem.qty = detail.handleQty; |
|
|
submitItem.qty = detail.handleQty; |
|
|
submitItem.package = ""; |
|
|
submitItem.package = ""; |
|
|
|
|
|
submitItem.poNumber = this.currentPackage.poNumber; |
|
|
|
|
|
submitItem.poLine = this.currentPackage.poLine; |
|
|
subList.push(submitItem) |
|
|
subList.push(submitItem) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|