|
@@ -528,12 +528,12 @@ export default {
|
|
|
return true;
|
|
|
},
|
|
|
buildDataCount(product, parsedFilter) {
|
|
|
- const { num, give_cycle } = parsedFilter;
|
|
|
- const totalNums = Number(num) + (Number(give_cycle) || 0);
|
|
|
+ const { pNum, give_cycle } = parsedFilter;
|
|
|
+ const totalNums = Number(pNum) + (Number(give_cycle) || 0);
|
|
|
const { product_type } = product;
|
|
|
const includeProductType = ['数据流量包', '历史数据', '结构化数据']
|
|
|
if(includeProductType.includes(product_type) && totalNums) {
|
|
|
- return `付费${num || 0}条,赠送${give_cycle || 0}条,合计<span class="color_main">${totalNums}</span>条`;
|
|
|
+ return `付费${pNum || 0}条,赠送${give_cycle || 0}条,合计<span class="color_main">${totalNums}</span>条`;
|
|
|
} else {
|
|
|
return '';
|
|
|
}
|