Compare commits
2 Commits
844cd435f7
...
3a83940dd5
Author | SHA1 | Date |
---|---|---|
JIAL | 3a83940dd5 | |
JIAL | bbf6fb0631 |
|
@ -584,7 +584,8 @@ export default {
|
||||||
this.quotXjFileLoading = true;
|
this.quotXjFileLoading = true;
|
||||||
let activeName = this.activeName;
|
let activeName = this.activeName;
|
||||||
if(activeName=='quotXjFile'){
|
if(activeName=='quotXjFile'){
|
||||||
if(file.name.split('.')[1].toLowerCase() != 'xls' && file.name.split('.')[1].toLowerCase() != 'xlsx'){
|
const fileExtension = file.name.split('.').pop();
|
||||||
|
if(fileExtension.toLowerCase() != 'xls' && fileExtension.toLowerCase() != 'xlsx'){
|
||||||
this.$modal.msgError("清单附件必须是Excel格式");
|
this.$modal.msgError("清单附件必须是Excel格式");
|
||||||
this.quotXjFileLoading = false;
|
this.quotXjFileLoading = false;
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue