|
@@ -225,7 +225,7 @@ export default {
|
|
|
productInfoItems: [
|
|
|
{ label: '活动产品', key: 'activityName', span: 1, condition: (product) => product.activityName },
|
|
|
{ label: '付费类型', key: 'service_type', filter: 'orderServiceType', span: 3},
|
|
|
- { label: '升级内容', key: 'supServiceIds', span: 3, condition: (product) => product.supServiceIds },
|
|
|
+ { label: '升级内容', key: 'supServiceIds', span: 3, condition: (product) => product.service_type === 3 },
|
|
|
{ label: '产品规格', key: 'productName', span: 3},
|
|
|
{ label: '服务列表', key: 'bigServiceNames', span: 1, condition: (product) => product.productName && product.productName.includes('自定义') && product.product_code === 'dyh001'},
|
|
|
{ label: '数据条数', key: 'data_count', span: 1, condition: (product) => product.data_count && product.data_count !== '-'},
|
|
@@ -536,6 +536,17 @@ export default {
|
|
|
}
|
|
|
return RETURN_BOOL[product] || false;
|
|
|
},
|
|
|
+ buildSupServiceIds(parfilter) {
|
|
|
+ const { supServiceIds, buyAccountCount, giftAccountCount } = parfilter
|
|
|
+ const upgradeContent = []
|
|
|
+ if (supServiceIds && supServiceIds.length > 0) {
|
|
|
+ upgradeContent.push('补充权益')
|
|
|
+ }
|
|
|
+ if(buyAccountCount || giftAccountCount) {
|
|
|
+ upgradeContent.push('增购子账号')
|
|
|
+ }
|
|
|
+ return upgradeContent.length ? upgradeContent.join('、') : '-'
|
|
|
+ },
|
|
|
buildBigServiceNames(serviceIds, supServiceIds) {
|
|
|
return new Promise((resolve) => {
|
|
|
if (!serviceIds || serviceIds.length === 0) {
|