zhengkaixin 2 years ago
parent
commit
308da5ee36

+ 4 - 3
pagesFinance/user/withdrawal/businessInfo.vue

@@ -990,8 +990,9 @@
 							})
 						return
 					}
-					if(this.info.applicationType==1){
-						if(this.info.withdrawalType==0&&!this.info.rewardProportion){
+					if(this.info.applicationType==1){
+						
+						if(this.info.withdrawalType==0&&(this.info.rewardProportion=="")){
 								uni.showToast({
 									title: "请输入提成比例"
 								})
@@ -1005,7 +1006,7 @@
 						}
 					}
 					if(this.info.applicationType==2){
-						if(!this.info.rewardProportion){
+						if(this.info.rewardProportion==""){
 								uni.showToast({
 									title: "请输入市场奖励比例"
 								})

+ 3 - 3
pagesFinance/user/withdrawal/businessView-1.vue

@@ -84,7 +84,7 @@
 					</span>
 				</view>
 			</view>
-				<view class="withdraw"    >
+				<view class="withdraw" v-if="info.rewardProportion"   >
 					<view class="withdraw-head border-n"  >
 							<b>桩主/站主收益</b>
 							
@@ -115,7 +115,7 @@
 
 					</span>
 				</view>
-				<view class="withdraw-head border-n" v-if="info.withdrawalType==0">
+				<view class="withdraw-head border-n" v-if="info.withdrawalType==0&&info.rewardProportion">
 					<b>分润比例</b>
 					<span>
 
@@ -123,7 +123,7 @@
 
 					</span>
 				</view>
-				<view class="withdraw-head border-n" v-if="info.withdrawalType==0">
+				<view class="withdraw-head border-n" v-if="info.withdrawalType==0&&info.rewardProportion">
 					<b>物业分润收入</b>
 					<span>
 						<view class="uni-input">{{(info.totalProfitAmount*info.rewardProportion/100).toFixed(2)}}元</view>