zhengkaixin преди 1 месец
родител
ревизия
f449c1aabc
променени са 1 файла, в които са добавени 9 реда и са изтрити 5 реда
  1. 9 5
      pagesFinance/statistics/index.vue

+ 9 - 5
pagesFinance/statistics/index.vue

@@ -691,7 +691,7 @@
 
 
 
 
 
 
-		<view class="statisticsChart chargingpile">
+		<view class="statisticsChart chargingpile"  v-if="info.accountType==1" >
 			<view class="statisticsChart-head" style="margin-top: 40rpx;">
 			<view class="statisticsChart-head" style="margin-top: 40rpx;">
 				<h4>充值送折扣卡活动营销统计</h4>
 				<h4>充值送折扣卡活动营销统计</h4>
 
 
@@ -766,7 +766,7 @@
 
 
 			</view>
 			</view>
 
 
-			<view class="statisticsChart-head" style="margin-top: 40rpx;">
+			<view class="statisticsChart-head" style="margin-top: 40rpx;" >
 				<h4>充电站运营统计</h4>
 				<h4>充电站运营统计</h4>
 				<!-- <view class="navbar-screen" >
 				<!-- <view class="navbar-screen" >
 					 {{startTime}}至{{endTime}}
 					 {{startTime}}至{{endTime}}
@@ -1463,8 +1463,12 @@
 						this.getData()
 						this.getData()
 					}
 					}
 					//
 					//
-					this.getData3()
-					this.getData4()
+					this.getData3()
+					
+					if( this.info.accountType==1 ){
+						this.getData4()
+					}
+					
 					// this.stationList.unshift({
 					// this.stationList.unshift({
 					// 	id: '',
 					// 	id: '',
 					// 	name: "全部站点"
 					// 	name: "全部站点"
@@ -2455,7 +2459,7 @@
 					var sz2 = ['todayAmountC', 'todayProfitC', 'todayEQAmount2' 
 					var sz2 = ['todayAmountC', 'todayProfitC', 'todayEQAmount2' 
 					];
 					];
 				}
 				}
-				if (typebl) {
+				if (this.info.accountType == 1) {
 					this.showlist1.push('充值人次')
 					this.showlist1.push('充值人次')
 					this.showlist1.push('充值金额')
 					this.showlist1.push('充值金额')
 					sz2.push('rechargeNum')
 					sz2.push('rechargeNum')