Browse Source

处理搜索异常

Administrator 7 years ago
parent
commit
90a15c6bb1
2 changed files with 2 additions and 2 deletions
  1. 1 1
      components/supplier/merchant.vue
  2. 1 1
      components/supplier/resource.vue

+ 1 - 1
components/supplier/merchant.vue

@@ -116,7 +116,7 @@
       },
       handleCurrentChange (type) {
         this.pageParams.page = type
-        this.$store.dispatch('supplier/loadVendorList', {page: type, size: this.pageParams.count})
+        this.$store.dispatch('supplier/loadVendorList', {page: type, size: this.pageParams.count, keyword: this.searchCode})
       }
     }
   }

+ 1 - 1
components/supplier/resource.vue

@@ -230,7 +230,7 @@
       // 获取分页数据
       handleCurrentChange (type) {
         this.pageParams.page = type
-        this.$store.dispatch('supplier/loadMaterialList', {page: type, size: 20, vendUU: this.$route.params.uuid})
+        this.$store.dispatch('supplier/loadMaterialList', {page: type, size: 20, vendUU: this.$route.params.uuid, keyword: this.searchCode})
       },
       // 根据搜索信息获取数据
       goodsSearch (type) {