fix:导入添加错误提示

This commit is contained in:
wangwenrui
2020-08-14 17:24:47 +08:00
parent b90802beee
commit 29ace6ddb2
2 changed files with 4 additions and 2 deletions

View File

@@ -153,6 +153,8 @@
this.$emit('afterImport')
this.importBox.type=3;
this.importBox.width='600px';
}else{
this.$message.error(response.msg);
}
})
}

View File

@@ -259,7 +259,7 @@
if (response.code === 200) {
this.editModel.typeCode=response.data.dictEntity.code;
this.$emit("reload");
this.$message({duration: 1000, type: 'success', message: this.$t("tip.saveSuccess")});
// this.$message({duration: 1000, type: 'success', message: this.$t("tip.saveSuccess")});
resolve();
} else {
this.$message.error(response.msg);
@@ -296,7 +296,7 @@
if (response.code === 200) {
this.editModel.vendorCode=response.data.dictEntity.code;
this.$emit("reload");
this.$message({duration: 1000, type: 'success', message: this.$t("tip.saveSuccess")});
// this.$message({duration: 1000, type: 'success', message: this.$t("tip.saveSuccess")});
resolve();
} else {
this.$message.error(response.msg);