Commit 98ec3b8c authored by Damon's avatar Damon

fix: 申请配件

parent 925c2828
......@@ -122,8 +122,9 @@ export default {
onLoad(e) {
getApp().trackPage('选择配件页')
if (e) {
this.categoryId = e.categaryId
this.categaryId = e.categaryId
this.brandId = e.brandId
this.type = e.type
this.getBrandList()
} else {
this.getCategaryList()
......@@ -211,8 +212,8 @@ export default {
this.categaryId = this.categary[this.categaryIndex || 0].categoryId
this.brandIndex = ''
this.show = false
this.pageNumber = 1
this.getBrandList()
this.getPartsList()
},
// 下拉选择品牌
changeBrand(data) {
......@@ -220,6 +221,7 @@ export default {
this.brandId = this.brand[this.brandIndex].brandId
this.scrollId = `brand${this.brandId}`
this.lists = []
this.pageNumber = 1
this.getPartsList()
},
// 点击选择品牌
......@@ -228,6 +230,7 @@ export default {
this.brandIndex = index
this.brandId = item.brandId
this.lists = []
this.pageNumber = 1
this.getPartsList()
},
// 加载更多
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment