浏览代码

面损表-附件上传

jbb 2 年之前
父节点
当前提交
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){
       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)
+          
         }
         }