|
|
|
@ -789,14 +789,12 @@ |
|
|
|
} |
|
|
|
}) |
|
|
|
this.toolInstanceID=''; |
|
|
|
this.$message({ |
|
|
|
message: '操作成功', |
|
|
|
type: 'success', |
|
|
|
duration: 1500, |
|
|
|
onClose: () => { |
|
|
|
this.$nextTick(() => { this.$refs.issuance.focus();}) |
|
|
|
} |
|
|
|
}) |
|
|
|
if (data.msg && data.msg.length > 0){ |
|
|
|
this.$message.warning(data.msg) |
|
|
|
}else { |
|
|
|
this.$message.success("领用成功") |
|
|
|
} |
|
|
|
this.$nextTick(() => { this.$refs.issuance.focus();}) |
|
|
|
} else { |
|
|
|
this.toolInstanceID=''; |
|
|
|
this.$alert(data.msg, '错误', { |
|
|
|
@ -875,13 +873,11 @@ |
|
|
|
}) |
|
|
|
this.reportModalFlag=false; |
|
|
|
this.toolInstanceID=''; |
|
|
|
this.$message({ |
|
|
|
message: '操作成功', |
|
|
|
type: 'success', |
|
|
|
duration: 1500, |
|
|
|
onClose: () => { |
|
|
|
} |
|
|
|
}) |
|
|
|
if (data.msg && data.msg.length > 0){ |
|
|
|
this.$message.warning(data.msg) |
|
|
|
}else { |
|
|
|
this.$message.success("操作成功") |
|
|
|
} |
|
|
|
this.$nextTick(() => { this.$refs.report.focus();}) |
|
|
|
} else { |
|
|
|
this.$alert(data.msg, '错误', { |
|
|
|
|