zhengkaixin hace 1 año
padre
commit
d07c6b5a2e
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      pagesFinance/statistics/index.vue

+ 2 - 2
pagesFinance/statistics/index.vue

@@ -1263,9 +1263,9 @@
 								if(i==value.length-1){
 									
 									text1 += "<p><span style='display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:#FF3D00;'></span>购买月卡数量"+ '<span style="' + style +
-											'">' +info.cardBuyNum  + '张</span></p>';
+											'">' +(info.cardBuyNum?info.cardBuyNum:0)  + '张</span></p>';
 									text1 += "<p><span style='display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:#FF3D00;'></span>购买月卡金额"+ '<span style="' + style +
-											'">' +info.cardBuyFee.toFixed(2)  + '元</span></p>';
+											'">' +(info.cardBuyFee?info.cardBuyFee:0).toFixed(2)  + '元</span></p>';
 								}
 							}
 							if (this.type_head == 1) {