diff --git a/vue/src/components/ImportTxt/index.vue b/vue/src/components/ImportTxt/index.vue index 78cee226..a15ccfe3 100644 --- a/vue/src/components/ImportTxt/index.vue +++ b/vue/src/components/ImportTxt/index.vue @@ -474,12 +474,13 @@ export default { beforeAvatarUpload(file) { var FileExt = file.name.replace(/.+\./, ""); if (["txt"].indexOf(FileExt.toLowerCase()) === -1) { - this.$message({ - type: "warning", - message: "只支持txt文本类型文件!", - }); - this.isFileType = "0"; - return false; + // this.$message({ + // type: "warning", + // message: "只支持txt文本类型文件!", + // }); + // this.isFileType = "0"; + // return false; + this.isFileType = "1"; } else { this.isFileType = "1"; } diff --git a/vue/src/views/pg-fis/basedate/assemblyCfg/index.vue b/vue/src/views/pg-fis/basedate/assemblyCfg/index.vue index a89a5174..a6525a4d 100644 --- a/vue/src/views/pg-fis/basedate/assemblyCfg/index.vue +++ b/vue/src/views/pg-fis/basedate/assemblyCfg/index.vue @@ -40,13 +40,13 @@ - 新增 + 新增 - 修改 + 修改 删除 - 导入(SAP对接) + 导入(SAP对接) @@ -198,6 +198,7 @@ import permission from "@/directive/permission/index.js"; import CRMTableHead from "../../components/CRMTableHead"; import importExcel from "@/components/ImportTxt"; + //import importExcel from "@/components/ImportExcel"; import Lockr from "lockr"; import moment from "moment"; import Detail from "./detail.vue";