Browse Source

面损表-附件上传

jbb 2 years ago
parent
commit
cd9e497963
1 changed files with 6 additions and 2 deletions
  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)
+          
         }