Selaa lähdekoodia

面损表-附件上传

jbb 2 vuotta sitten
vanhempi
commit
cd9e497963
1 muutettua tiedostoa jossa 6 lisäystä ja 2 poistoa
  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)
+          
         }