|
@@ -614,10 +614,9 @@ export default {
|
|
|
|
|
|
// 构造子账号数量字符串。
|
|
|
buildSubAccountCount(product, filter) {
|
|
|
-
|
|
|
- if (product.product_type === 'VIP订阅' || product.product_type === '大会员') {
|
|
|
- const buyCount = Number(filter?.buyAccountCount) || 0;
|
|
|
- const giftCount = Number(filter?.giftAccountCount) || 0;
|
|
|
+ const buyCount = Number(filter?.buyAccountCount) || 0;
|
|
|
+ const giftCount = Number(filter?.giftAccountCount) || 0;
|
|
|
+ if (buyCount || giftCount) {
|
|
|
const countTotal = buyCount + giftCount;
|
|
|
return `付费${buyCount}个,赠送${giftCount}个,合计:<span class="color_main">${countTotal}</span>个`;
|
|
|
}
|