Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
jinhui.wang
2022-11-22 14:37:30 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
478cd1aabfb75cb6c4f6dfdb10f46ef54b14f88e
478cd1aa
1 parent
d8bac154
白名单导入校验修改
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
src/views/basicInformation/goodsStation/dialog.vue
src/views/basicInformation/goodsStation/dialog.vue
View file @
478cd1a
...
...
@@ -100,13 +100,13 @@ export default {
trigger: "change",
},
],
file: [
{
required: true,
message: "文件不能为空",
trigger: "change",
},
]
//
file: [
//
{
//
required: true,
//
message: "文件不能为空",
//
trigger: "change",
//
},
//
]
},
fileList: [],
errorData: [],
...
...
@@ -176,6 +176,7 @@ export default {
},
//导入Excel
upload() {
if (this.formData.file != null && this.formData.file != '') {
this.$refs['addForm'].validate(val => {
if (val) {
const file = this.formData.file;
...
...
@@ -207,6 +208,9 @@ export default {
});
}
})
} else {
this.msgWarning('请选择文件后再导入!')
}
},
//导出Excel
download() {
...
...
Please
register
or
login
to post a comment