zhengkaixin 2 年之前
父節點
當前提交
451d53fa2a
共有 2 個文件被更改,包括 15 次插入1 次删除
  1. 1 1
      pagesFinance/user/stationsList.vue
  2. 14 0
      pagesFinance/user/withdrawal/businessInfo.vue

+ 1 - 1
pagesFinance/user/stationsList.vue

@@ -1,7 +1,7 @@
 <template>
 	<view>
 		<ujp-navbar title="我的充电桩">
-			<view  slot="right" >
+			<view  slot="right" v-if="false" >
 				
 				<view  @click="adddevice('','')"  
 				 style="margin-right: 10px;" >

+ 14 - 0
pagesFinance/user/withdrawal/businessInfo.vue

@@ -1283,6 +1283,18 @@
 					if(bl&&this.info.applicationType!=3){
 						this.queryAccountByStationIdAndType()
 						
+					}
+					
+					if(this.info.applicationType==3){
+						var applicationAmount=(this.info.chargingProfitAmount+this.info.monthlyCardIncome)
+							if(this.info.applyAmount1){
+								applicationAmount-=this.info.applyAmount1
+							}
+							if(this.info.applyAmount2){
+								applicationAmount-=this.info.applyAmount2
+							}
+							this.info.applicationAmount=applicationAmount.toFixed(2)
+						
 					}
 					uni.hideLoading()
 
@@ -1342,6 +1354,8 @@
 					
 					if(this.info.applicationType!=3){
 						this.queryAccountByStationIdAndType()
+					}else{
+						
 					}
 					uni.hideLoading()