Compare commits
No commits in common. "3a83940dd539971ffad37e8cb9a6ee76269b68c8" and "844cd435f71d9751c3d31e9f24bdc7ecfa0d4ac3" have entirely different histories.
3a83940dd5
...
844cd435f7
|
@ -584,8 +584,7 @@ export default {
|
||||||
this.quotXjFileLoading = true;
|
this.quotXjFileLoading = true;
|
||||||
let activeName = this.activeName;
|
let activeName = this.activeName;
|
||||||
if(activeName=='quotXjFile'){
|
if(activeName=='quotXjFile'){
|
||||||
const fileExtension = file.name.split('.').pop();
|
if(file.name.split('.')[1].toLowerCase() != 'xls' && file.name.split('.')[1].toLowerCase() != 'xlsx'){
|
||||||
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