|
@@ -420,7 +420,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
|
- addEventListenerVip () {
|
|
|
+ addEventListenerVip (val) {
|
|
|
+ console.log(val)
|
|
|
let areaCount = 0
|
|
|
const _this = this
|
|
|
let {area, cycleCount, cycleUnit, vipStartTime, buySubject, buyCount, vipType, phone, productType} = this.others
|
|
@@ -439,7 +440,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
- if (this.areaNums.areaCount) {
|
|
|
+ if (this.areaNums.areaCount && this.areaNums.areaCount > 0) {
|
|
|
areaCount = this.areaNums.areaCount
|
|
|
} else {
|
|
|
areaCount = 0
|
|
@@ -1257,6 +1258,7 @@ export default {
|
|
|
this.intered(res.vip_starttime, res.user_phone, returnInfo ? returnInfo[0].money : [])
|
|
|
//购买省份
|
|
|
if (productType == '5') {
|
|
|
+ this.areaNums.areaCount = filterData.newBuyset.areacount
|
|
|
const area = Object.keys(filterData.area).map(name => {
|
|
|
let reg = /[省,市,壮族,维吾尔,特别行政区,自治区,回族]/g
|
|
|
if (name) {
|