|
@@ -113,13 +113,13 @@ export default {
|
|
|
async listData(){
|
|
|
console.log(this.isdealer,'isdealer')
|
|
|
if (this.isdealer){
|
|
|
+ this.dealerParam.content.sa_promotionid = this.$route.query.id
|
|
|
const res = await this.$api.requested(this.dealerParam)
|
|
|
- console.log(res.data,'经销商')
|
|
|
this.dealerData = res.data
|
|
|
this.total = res.total
|
|
|
}else {
|
|
|
+ this.productParam.content.sa_promotionid = this.$route.query.id
|
|
|
const res1 = await this.$api.requested(this.productParam)
|
|
|
- console.log(res1.data,'商品')
|
|
|
this.productData = res1.data
|
|
|
this.total = res1.total
|
|
|
}
|