From 9f545d454138a43ea0f0de7666659eda6de7f411 Mon Sep 17 00:00:00 2001 From: xhj Date: Thu, 20 Feb 2025 15:32:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/sjzx/bomwh.vue | 7 +++++++ 1 file changed, 7 insertions(+) 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])