|
@@ -2738,6 +2738,16 @@ var vm = new Vue({
|
|
|
var buyAccountCount = filterInfo.buyAccountCount || filter_vip_new.buyAccountCount || 0
|
|
|
var giftAccountCount = filterInfo.giftAccountCount || filter_vip_new.giftAccountCount || 0
|
|
|
var totalAccountCount = Number(buyAccountCount) + Number(giftAccountCount) + 1
|
|
|
+
|
|
|
+ var addAreaCount = filterInfo.addAreaCount || filter_vip_new.addAreaCount
|
|
|
+ var onlyAddCount = false
|
|
|
+ if (order.product_type === 'VIP订阅') {
|
|
|
+ onlyAddCount = addAreaCount <= 0 // 仅增购子账号
|
|
|
+ } else if (order.product_type === '大会员'){
|
|
|
+ // onlyAddCount = !supServiceIds
|
|
|
+ onlyAddCount = false
|
|
|
+ }
|
|
|
+
|
|
|
// 续费vip_type=1
|
|
|
if (order.vip_type == 1 || order.service_type == 2) {
|
|
|
// 人数就是购买人数
|
|
@@ -2748,6 +2758,10 @@ var vm = new Vue({
|
|
|
if (buyAccountCount == 0 && giftAccountCount == 0) {
|
|
|
buyNumber2 = order.buyNum || filter_vip_new.finalAccountCount || 0
|
|
|
} else {
|
|
|
+ // 仅增购子账号,不计算主账号数量
|
|
|
+ if (onlyAddCount) {
|
|
|
+ totalAccountCount -= 1
|
|
|
+ }
|
|
|
buyNumber2 = order.buyNum || totalAccountCount || filter_vip_new.finalAccountCount || 0
|
|
|
}
|
|
|
} else {
|