浏览代码

bug 修复

lilei 3 年之前
父节点
当前提交
8d84cef88e
共有 1 个文件被更改,包括 2 次插入4 次删除
  1. 2 4
      src/views/financialManagement/companyReceivablePayable/detail.vue

+ 2 - 4
src/views/financialManagement/companyReceivablePayable/detail.vue

@@ -157,8 +157,8 @@ export default {
     },
     },
     //  导出
     //  导出
     handleExport () {
     handleExport () {
-      const params = this.queryParam
-      this.exportLoading = true
+      // const params = this.queryParam
+      // this.exportLoading = true
       // customerBundleExportDelay(params).then(res => {
       // customerBundleExportDelay(params).then(res => {
       //   this.exportLoading = false
       //   this.exportLoading = false
 	  // downloadExcel(res, '单位应收应付')
 	  // downloadExcel(res, '单位应收应付')
@@ -167,14 +167,12 @@ export default {
   },
   },
   mounted () {
   mounted () {
     if (!this.$store.state.app.isNewTab) { // 页签刷新时调用
     if (!this.$store.state.app.isNewTab) { // 页签刷新时调用
-      this.$refs.table.refresh(true)
       this.resetSearchForm()
       this.resetSearchForm()
     }
     }
   },
   },
   activated () {
   activated () {
     // 如果是新页签打开或者进入新的子页(例:存在列表第2条数据编辑页页签时再打开第4条数据的编辑页),则重置当前页面
     // 如果是新页签打开或者进入新的子页(例:存在列表第2条数据编辑页页签时再打开第4条数据的编辑页),则重置当前页面
     if (this.$store.state.app.isNewTab || !this.$store.state.app.isNewSubTab) {
     if (this.$store.state.app.isNewTab || !this.$store.state.app.isNewSubTab) {
-      this.$refs.table.refresh(true)
       this.resetSearchForm()
       this.resetSearchForm()
     }
     }
   },
   },