|
|
|
@ -337,16 +337,15 @@ export default { |
|
|
|
}; |
|
|
|
confirmInboundStorage(params).then(({ data }) => { |
|
|
|
if (data && data.code === 0) { |
|
|
|
this.$message.success('操作成功'); |
|
|
|
this.validateAndAddLabel(this.materialInfo.inboundNo); |
|
|
|
this.showLocationDialog = false; |
|
|
|
//this.$router.back(); |
|
|
|
this.$message.success('操作成功') |
|
|
|
this.showLocationDialog = false |
|
|
|
this.$router.back() |
|
|
|
} else { |
|
|
|
this.$message.error(data.msg || '操作失败'); |
|
|
|
this.$message.error(data.msg || '操作失败') |
|
|
|
} |
|
|
|
}).catch(error => { |
|
|
|
console.error('上架失败:', error); |
|
|
|
this.$message.error('操作失败'); |
|
|
|
console.error('上架失败:', error) |
|
|
|
this.$message.error('操作失败') |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
|