bug
This commit is contained in:
parent
5e45fd7b3c
commit
2e3575b4de
@ -1116,12 +1116,14 @@ export default {
|
||||
const id = row.id || this.ids
|
||||
getActiveConsumption(id).then(response => {
|
||||
this.form = response.data;
|
||||
if (!response.data.activeGift) this.form.activeGift = ""
|
||||
if(response.data.activeConsumptionChildList && response.data.activeConsumptionChildList.length >0){
|
||||
this.form.tableDatas = response.data.activeConsumptionChildList.filter(item => item.activeGift == '1')
|
||||
this.tableData1 = response.data.activeConsumptionChildList.filter(item => item.activeGift == '1')
|
||||
this.tableDatas = response.data.activeConsumptionChildList.filter(item => item.activeGift == '2')
|
||||
this.form.shiwudata = response.data.activeConsumptionChildList.filter(item => item.activeGift == '4')
|
||||
}
|
||||
console.log(this.tableData1)
|
||||
this.open = true;
|
||||
this.title = "修改消费有礼活动";
|
||||
});
|
||||
|
@ -287,6 +287,7 @@ public class ActiveConsumptionServiceImpl extends ServiceImpl<ActiveConsumptionM
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//封装VO返回
|
||||
activeConsumptionVO.setParticipationConditionMoney(consumption.getParticipationConditionMoney().toString());
|
||||
activeConsumptionVO.setDieselUserLevel(consumption.getDieselUserLevel().split(","));
|
||||
@ -298,7 +299,6 @@ public class ActiveConsumptionServiceImpl extends ServiceImpl<ActiveConsumptionM
|
||||
activeConsumptionVO.setActiveGift(consumption.getActiveGift().split(","));
|
||||
activeConsumptionVO.setActiveConsumptionChildList(activeConsumptionChildList);
|
||||
}
|
||||
}
|
||||
return activeConsumptionVO;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user