Browse Source

Merge branch 'develop_yh13' of http://git.chelingzhu.com/jianguan-web/jg-ocs-html into develop_yh13

lilei 2 years ago
parent
commit
a4ca0013f6
1 changed files with 7 additions and 2 deletions
  1. 7 2
      src/views/reportData/regionTypeSalesReport/list.vue

+ 7 - 2
src/views/reportData/regionTypeSalesReport/list.vue

@@ -139,7 +139,10 @@ export default {
   methods: {
   methods: {
     callback (key) {
     callback (key) {
       this.activeKey = key
       this.activeKey = key
-      this.resetSearchForm()
+      const _this = this
+      _this.$nextTick(() => {
+        this.getTableTitle()
+      })
       console.log(key, this.activeKey)
       console.log(key, this.activeKey)
     },
     },
     //  创建时间  change
     //  创建时间  change
@@ -179,7 +182,9 @@ export default {
       this.queryParam.subareaArea.subareaSn = undefined
       this.queryParam.subareaArea.subareaSn = undefined
       this.queryParam.subareaArea.subareaAreaSn = undefined
       this.queryParam.subareaArea.subareaAreaSn = undefined
       this.queryParam.salesStatusType = 'REAL_SALES'
       this.queryParam.salesStatusType = 'REAL_SALES'
-      this.$refs.subarea.clearData()
+      if (this.activeKey == 0) {
+        this.$refs.subarea.clearData()
+      }
       this.$refs.table.clearTable()
       this.$refs.table.clearTable()
     },
     },
     //  导出
     //  导出