jbb 2 лет назад
Родитель
Сommit
cd9e497963
1 измененных файлов с 6 добавлено и 2 удалено
  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)
+          
         }