Browse Source

去除性别选项

zzp 2 years ago
parent
commit
8194d61d3f
1 changed files with 4 additions and 2 deletions
  1. 4 2
      pagesMain/openMember.vue

+ 4 - 2
pagesMain/openMember.vue

@@ -29,9 +29,9 @@
 			<u-form-item label="家长名称" required>
 				<u-input v-model="form.parentName" placeholder="请输入家长姓名" />
 			</u-form-item>
-			<u-form-item label="家长性别" prop="sex" required right-icon="arrow-right" @click.native="sexShow = true">
+	<!-- 		<u-form-item label="家长性别" prop="sex" required right-icon="arrow-right" @click.native="sexShow = true">
 				<text>{{form.sex}}</text>
-			</u-form-item>
+			</u-form-item> -->
 		</u-form>
 		<view class="handle-fix-box">
 			<u-button type="warning" shape="circle" :ripple="true" :custom-style="customStyle" @click="toPay()">确定支付¥{{ discountsAmount ? getRealPrice : realPayAmount }}</u-button>
@@ -287,9 +287,11 @@
 			},
 			// 选择学员
 			selectStudent(item) {
+				console.log(item);
 				this.studentId = item.studentId
 				this.studentName = item.studentName
 				this.studentShow = false
+				this.form.sex = item.sex
 				// this.couponId = ''
 				// this.getMemberInfo(1)
 				this.getCouponList()