|
|
@ -468,7 +468,7 @@ |
|
|
|
batch:item.batch, |
|
|
|
inventoryStatus:item.inventoryStatus, |
|
|
|
itemCode:item.itemCode, |
|
|
|
toLocationCode:item.toLocationCode, |
|
|
|
toLocationCode:code, |
|
|
|
expectinNumber: item.packingNumber + "-" + Date.now(), |
|
|
|
} |
|
|
|
checkItemCodeAndLocation(param).then(res=>{ |
|
|
@ -476,13 +476,14 @@ |
|
|
|
this.editItem.toLocationCode = code; |
|
|
|
}else { |
|
|
|
if(res.data.errorMsg){ |
|
|
|
this.showErrorMessage(res.data.errorMsg) |
|
|
|
this.showErrorMessage("系统异常:"+res.data.errorMsg) |
|
|
|
}else { |
|
|
|
if(res.data.balanceMsg){ |
|
|
|
this.$refs.comMessage.showQuestionMessage('已经有库存余额,是否继续上架?', res => { |
|
|
|
if (res) { |
|
|
|
this.$refs.comMessage.showQuestionMessage("系统异常:"+res.data.balanceMsg, confirmRes => { |
|
|
|
if (confirmRes) { |
|
|
|
this.editItem.toLocationCode = code; |
|
|
|
}else { |
|
|
|
this.removeRecommendLocation(res.data.recommendList) |
|
|
|
this.removeRecommendLocation(res.data.expectinNumberList) |
|
|
|
} |
|
|
|
}); |
|
|
|
}else { |
|
|
|