Эх сурвалжийг харах

Signed-off-by: liuboyan <632697560@qq.com>
bug

liuboyan 4 жил өмнө
parent
commit
5fe1593b60
1 өөрчлөгдсөн 12 нэмэгдсэн , 1 устгасан
  1. 12 1
      pagesMain/openMember.vue

+ 12 - 1
pagesMain/openMember.vue

@@ -46,7 +46,7 @@
 			</scroll-view>
 		</u-popup>
 		<view class="handle-fix-box">
-			<u-button type="warning" shape="circle" :ripple="true" :custom-style="customStyle" @click="toPay()">确定支付¥{{memberInfo.realPayAmount}}</u-button>
+			<u-button type="warning" shape="circle" :ripple="true" :custom-style="customStyle" @click="toPay()">确定支付¥{{memberInfo.realPayAmount ? memberInfo.realPayAmount : 0}}</u-button>
 		</view>
 		<u-popup v-model="venueShow" mode="bottom" border-radius="30">
 			<scroll-view scroll-y class="student-box">
@@ -195,6 +195,17 @@
 						title: error.message,
 						type: 'warning',
 					})
+					this.venueId = ''
+					this.venueName = ''
+					this.memberInfo = {
+						id: '',
+						originalAmount: '',
+						discountsAmount: '',
+						realPayAmount: '',
+						typeValue: this.memberInfo.typeValue,
+						endDate: '',
+						startDate: '',
+					}
 				})
 			},
 			//  获取优惠券