|
|
@@ -69,7 +69,8 @@ export default {
|
|
|
page: 1,
|
|
|
count: 10,
|
|
|
keyword: '',
|
|
|
- types: this.types
|
|
|
+ type: this.types,
|
|
|
+ field: ''
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -93,7 +94,8 @@ export default {
|
|
|
search (obj) {
|
|
|
this.pageParams.page = 1
|
|
|
this.pageParams.keyword = obj.keyword === '' ? null : obj.keyword
|
|
|
- this.$store.dispatch('provider/findSimilarStoreList', this.pageParams)
|
|
|
+ this.pageParams.field = obj.type ? 'similar' : null
|
|
|
+ this.pageCommodity(this.pageParams)
|
|
|
},
|
|
|
showLittleDescription (description) {
|
|
|
if (!description || description === '') {
|