|
|
@ -420,7 +420,11 @@ |
|
|
|
inventoryMoveSubmit(params).then(res => { |
|
|
|
uni.hideLoading() |
|
|
|
if (res.data) { |
|
|
|
this.showCommitSuccessMessage("提交成功\n生成库存转移记录\n" + res.data) |
|
|
|
let showTitle = this.title |
|
|
|
if(this.title.indexOf('任务')==this.title.length-2){ |
|
|
|
showTitle = this.title.replace('任务','') |
|
|
|
} |
|
|
|
this.showCommitSuccessMessage("提交成功\n生成"+showTitle+"记录\n" + res.data) |
|
|
|
} else { |
|
|
|
this.showErrorMessage("提交失败[" + res.msg + "]") |
|
|
|
} |
|
|
|