|
|
@@ -634,7 +634,8 @@ export default {
|
|
|
// 根据productName和goodsId组装成为label和value
|
|
|
this.couponOptions.push({
|
|
|
value: item.id,
|
|
|
- label: item.title
|
|
|
+ label: item.title,
|
|
|
+ couponId: item.couponId
|
|
|
})
|
|
|
})
|
|
|
this.listParams.pageNum++;
|
|
|
@@ -742,7 +743,11 @@ export default {
|
|
|
}else if (this.form.taskType == 4) {
|
|
|
this.form.content = content.lotteryId;
|
|
|
}else if(this.form.taskType == 5){
|
|
|
- this.form.content = content.id;
|
|
|
+ this.couponOptions.forEach(item => {
|
|
|
+ if(item.couponId == content.couponId) {
|
|
|
+ this.form.content = item.value;
|
|
|
+ }
|
|
|
+ })
|
|
|
}else if(this.form.taskType == 6){
|
|
|
this.form.goodsId = content.goodsId;
|
|
|
this.form.goodsStatus = content.status;
|