|
@ -247,6 +247,10 @@ |
|
|
getBasicLocationByCode(this.fromLocationCode).then(res => { |
|
|
getBasicLocationByCode(this.fromLocationCode).then(res => { |
|
|
if (res.data.total > 0) { |
|
|
if (res.data.total > 0) { |
|
|
let result = res.data.list[0]; |
|
|
let result = res.data.list[0]; |
|
|
|
|
|
if(result.code!=this.fromLocationCode){ |
|
|
|
|
|
this.showErrorMessage('未查询到库位[' + this.fromLocationCode + ']') |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
var type = result.areaType; |
|
|
var type = result.areaType; |
|
|
var available = result.available; |
|
|
var available = result.available; |
|
|
if (available == "TRUE") { |
|
|
if (available == "TRUE") { |
|
|