Commit c329d3d4 by 杨明

fixed

1 parent 8821d6a3
......@@ -260,7 +260,7 @@ export default {
this.$apis.giftBag.packageList(params).then(res => {
this.giftList = res || []
if (status === 'add') {
this.giftValue = this.giftList.find(item => item.name == '自定义套餐')?.id
this.giftValue = this.giftList.find(item => item.name == '自定义续保套餐')?.id
this.setProcess({
1: {
...this.process[1],
......@@ -268,7 +268,7 @@ export default {
}
})
}
if (this.giftList.find(item => item.name == '自定义套餐')) {
if (this.giftList.find(item => item.name == '自定义续保套餐')) {
this.isCustom = true
}
})
......@@ -398,7 +398,7 @@ export default {
equities: JSON.stringify(equities)
}
if (equityCode) {
params.name = '自定义套餐'
params.name = '自定义续保套餐'
params.equities = JSON.stringify({ [equityCode]: this.totalPrice })
}
......@@ -707,7 +707,7 @@ export default {
})
this.selectedGoodsList = activityCoupon.filter(i => i.discountType == 8)
this.selectedServiceList = activityCoupon.filter(i => i.discountType != 8)
if (res.name == '自定义套餐') {
if (res.name == '自定义续保套餐') {
this.equitiesCode = Object.keys(JSON.parse(res.equities))[0]
try {
const serviceItem = Object.entries(JSON.parse(res.serviceItem))
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!