Browse Source

修改工具领用和报工提示信息

master
qiezi 9 months ago
parent
commit
e1ad327b93
  1. 22
      src/views/modules/schedule/toolReport.vue

22
src/views/modules/schedule/toolReport.vue

@ -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, '错误', {

Loading…
Cancel
Save