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 16:49:41 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b08016e509d7979118a3bfc7a78eb277f709da32
b08016e5
1 parent
478cd1aa
状态变更
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
src/views/basicInformation/goodsStation/dialog.vue
src/views/basicInformation/goodsStation/dialog.vue
View file @
b08016e
...
...
@@ -176,12 +176,12 @@ export default {
},
//导入Excel
upload() {
this.loading = true;
if (this.formData.file != null && this.formData.file != '') {
this.$refs['addForm'].validate(val => {
if (val) {
const file = this.formData.file;
let goodsStation = this.formData.uploadGoodsStation
this.loading = true;
uploadGoodsExcel(file, goodsStation).then((res) => {
this.loading = false;
if (res.code != 200) {
...
...
@@ -206,9 +206,12 @@ export default {
this.close()
}, 1000);
});
} else {
this.loading = false;
}
})
} else {
this.loading = false;
this.msgWarning('请选择文件后再导入!')
}
},
...
...
Please
register
or
login
to post a comment