|
@ -162,7 +162,7 @@ |
|
|
}, 500) |
|
|
}, 500) |
|
|
this.fromInventoryStatuses = jobContent.outInventoryStatuses |
|
|
this.fromInventoryStatuses = jobContent.outInventoryStatuses |
|
|
this.inventoryStatus = getDirectoryItemArray(jobContent.outInventoryStatuses); //出库库存状态; //出库库存状态 |
|
|
this.inventoryStatus = getDirectoryItemArray(jobContent.outInventoryStatuses); //出库库存状态; //出库库存状态 |
|
|
this.fromLocationAreaTypeList = getDirectoryItemArray(jobContent.fromAreaCodes); //出库库存状态 |
|
|
this.fromLocationAreaTypeList = getDirectoryItemArray(jobContent.fromAreaTypes); //出库库存状态 |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
closeScanPopup(content) { |
|
|
closeScanPopup(content) { |
|
@ -197,7 +197,7 @@ |
|
|
uni.hideLoading(); |
|
|
uni.hideLoading(); |
|
|
if (res.data.total > 0) { |
|
|
if (res.data.total > 0) { |
|
|
let result = res.data.list[0]; |
|
|
let result = res.data.list[0]; |
|
|
var type = result.type; |
|
|
var type = result.areaType; |
|
|
var available = result.available; |
|
|
var available = result.available; |
|
|
if (available == "TRUE") { |
|
|
if (available == "TRUE") { |
|
|
if (checkDirectoryItemExist(this.fromLocationAreaTypeList, type)) { |
|
|
if (checkDirectoryItemExist(this.fromLocationAreaTypeList, type)) { |
|
@ -206,8 +206,8 @@ |
|
|
this.checkPackage(scanResult); |
|
|
this.checkPackage(scanResult); |
|
|
} else { |
|
|
} else { |
|
|
var hint = getListLocationAreaTypeDesc(this.fromLocationAreaTypeList); |
|
|
var hint = getListLocationAreaTypeDesc(this.fromLocationAreaTypeList); |
|
|
this.showErrorMessage("扫描库位[" + this.code + "]是[" + |
|
|
this.showErrorMessage("扫描库位[" + this.fromLocationCode + "]是[" + |
|
|
getLocationAreaTypeName(areaType) + "],需要的库区是[" + hint + "]") |
|
|
getLocationAreaTypeName(result.areaType) + "],需要的库区是[" + hint + "]") |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
this.showErrorMessage("扫描库位[" + this.fromLocationCode + "]不可用", res => { |
|
|
this.showErrorMessage("扫描库位[" + this.fromLocationCode + "]不可用", res => { |
|
|