fix:导入添加错误提示
This commit is contained in:
@@ -153,6 +153,8 @@
|
|||||||
this.$emit('afterImport')
|
this.$emit('afterImport')
|
||||||
this.importBox.type=3;
|
this.importBox.type=3;
|
||||||
this.importBox.width='600px';
|
this.importBox.width='600px';
|
||||||
|
}else{
|
||||||
|
this.$message.error(response.msg);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -259,7 +259,7 @@
|
|||||||
if (response.code === 200) {
|
if (response.code === 200) {
|
||||||
this.editModel.typeCode=response.data.dictEntity.code;
|
this.editModel.typeCode=response.data.dictEntity.code;
|
||||||
this.$emit("reload");
|
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();
|
resolve();
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(response.msg);
|
this.$message.error(response.msg);
|
||||||
@@ -296,7 +296,7 @@
|
|||||||
if (response.code === 200) {
|
if (response.code === 200) {
|
||||||
this.editModel.vendorCode=response.data.dictEntity.code;
|
this.editModel.vendorCode=response.data.dictEntity.code;
|
||||||
this.$emit("reload");
|
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();
|
resolve();
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(response.msg);
|
this.$message.error(response.msg);
|
||||||
|
|||||||
Reference in New Issue
Block a user