Browse Source

修改bug

chenrui 2 years ago
parent
commit
5fb2cb238e

+ 2 - 2
src/views/dealerManagement/businessOwnerSettings/settingsIndex.vue

@@ -241,7 +241,7 @@ export default {
     async openAreaModal () {
       const _this = this
       const checkedArr = []
-      const dataList = await queryAreaScope({ userSn: this.$route.query.sn })
+      const dataList = await queryAreaScope({ userSn: this.$route.query.sn, hasDetail: 0 })
       if (dataList.data && dataList.data.length > 0) {
         dataList.data.forEach(item => {
           if (item.bizType == 'subarea_area') {
@@ -264,7 +264,7 @@ export default {
     async openDealerModal (params = {}) {
       const _this = this
       const arr = []
-      const dataList = await queryDealerScope({ userSn: this.$route.query.sn })
+      const dataList = await queryDealerScope({ userSn: this.$route.query.sn, hasDetail: 0 })
       if (dataList.data && dataList.data.length > 0) {
         dataList.data.forEach(con => {
           arr.push(con.bizSn)

+ 2 - 2
src/views/reportData/receivedSendStorageReport/index.vue

@@ -310,8 +310,8 @@ export default {
       this.queryParam.productTypeSn3 = undefined
       this.$refs.table.clearTable()
       this.productType = []
-      this.$refs.table.refresh(true)
-      this.$refs.gatherBox.resetCurForm()
+      this.totalData = null
+      this.$refs.gatherBox.resetTable()
     },
     pageInit () {
       const _this = this

+ 4 - 0
src/views/reportData/receivedSendStorageReport/list.vue

@@ -115,6 +115,10 @@ export default {
     // 刷新当前页面
     resetCurForm () {
       this.$refs.table.refresh()
+    },
+    resetTable () {
+      this.$refs.table.clearTable()
+      this.totalData = null
     }
   }
 }