Commit 2646c3de authored by leiqingsong's avatar leiqingsong

修改会员优惠券选择的bug

parent 1beb5fbb
......@@ -226,7 +226,7 @@ export default {
// 领取
handleGet() {
let params = {
couponId: this.awardGood.activityPrize ? this.awardGood.activityPrize.couponId : this.couponDetail.couponId,
couponId: this.awardGood.activityPrize ? this.awardGood.activityPrize.couponId : this.couponDetail.id,
unionId: this.userBaseInfo.unionid,
vipId: this.userBaseInfo.vipId
};
......
......@@ -192,7 +192,7 @@ export default {
this.maxNumber = res.data.activityInfo.joinLimit?.toString();
this.totalLimit = res.data.activityInfo.totalLimit?.toString();
this.checked_coupon = {
couponId: res.data.activityInfo.couponId,
id: res.data.activityInfo.couponId,
name: res.data.activityInfo.couponName
}
this.message = res.activityInfo.des;
......@@ -285,7 +285,7 @@ export default {
// 总发放数量
totalLimit: Number(this.totalLimit),
couponName: this.checked_coupon.name,
couponId: this.checked_coupon.couponId,
couponId: this.checked_coupon.id,
des: this.message,
image: JSON.stringify(this.fileList)
......
......@@ -420,7 +420,7 @@ export default {
item.probability = p.probability?.toString();
item.preLimit = p.limitReceive?.toString();
this.checked_coupon = {
couponId: p.coupon_id,
id: p.couponId,
name: p.couponName
};
prizes.push(item);
......@@ -519,7 +519,7 @@ export default {
temp.probability = p.probability;
total_probability += Number(p.probability);
temp.limitReceive = p.preLimit;
temp.couponId = p.checked_coupon.couponId;
temp.couponId = p.checked_coupon.id;
temp.couponName = p.checked_coupon.name;
params_prizeList.push(temp);
});
......
......@@ -224,7 +224,7 @@ export default {
userInfoResOld: "",
userInfoResNew: ""
},
flag: 2
flag: 1
};
},
created() {
......@@ -252,7 +252,7 @@ export default {
this.flag = sessionStorage.getItem("role");
}
} else {
this.zReadyUserId();
// this.zReadyUserId();
this.zTestGetNowUrlInfo();
}
this.GET_CurrentActive();
......
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