diff --git a/src/views/sjzx/bomwh.vue b/src/views/sjzx/bomwh.vue index 1815da7..8abc392 100644 --- a/src/views/sjzx/bomwh.vue +++ b/src/views/sjzx/bomwh.vue @@ -1151,6 +1151,13 @@ export default { this.tableupload.sort((a,b)=>{ return( a.sort - b.sort) }) + }else if (file.name.includes('.xls')|| file.name.includes('.xlsx') || file.name.includes('.cvs') ){ + this.tltList2.push(file) + let a={czbh:'',ph:'',type:"",stype:"其他文件",name:file.name,sort:9} + this.tableupload.push(a); + this.tableupload.sort((a,b)=>{ + return( a.sort - b.sort) + }) } this.tableupload.sort((a,b)=>{ //return( a[age] - b[age])