Quellcode durchsuchen

面损表-附件上传

jbb vor 2 Jahren
Ursprung
Commit
cd9e497963
1 geänderte Dateien mit 6 neuen und 2 gelöschten Zeilen
  1. 6 2
      src/views/reportForms/fabric-loss-table.vue

+ 6 - 2
src/views/reportForms/fabric-loss-table.vue

@@ -821,8 +821,12 @@ export default {
       //     })
       },
       handleImportExcel(data){
-        if(data.fileList.length>this.fileList.length&&data.file.status=='uploading'){
-          this.onSearch(this.planNO,'0')
+        if(data.fileList.length>this.fileList.length&&data.file.status=='uploading'){ 
+          var that =this
+          setTimeout(()=>{
+            that.onSearch(this.planNO,'0')
+        },1000)
+          
         }