|
@@ -29,9 +29,9 @@
|
|
<u-form-item label="家长名称" required>
|
|
<u-form-item label="家长名称" required>
|
|
<u-input v-model="form.parentName" placeholder="请输入家长姓名" />
|
|
<u-input v-model="form.parentName" placeholder="请输入家长姓名" />
|
|
</u-form-item>
|
|
</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>
|
|
<text>{{form.sex}}</text>
|
|
- </u-form-item>
|
|
|
|
|
|
+ </u-form-item> -->
|
|
</u-form>
|
|
</u-form>
|
|
<view class="handle-fix-box">
|
|
<view class="handle-fix-box">
|
|
<u-button type="warning" shape="circle" :ripple="true" :custom-style="customStyle" @click="toPay()">确定支付¥{{ discountsAmount ? getRealPrice : realPayAmount }}</u-button>
|
|
<u-button type="warning" shape="circle" :ripple="true" :custom-style="customStyle" @click="toPay()">确定支付¥{{ discountsAmount ? getRealPrice : realPayAmount }}</u-button>
|
|
@@ -50,7 +50,7 @@
|
|
@click="goToSubscribelForm()">新增学员</u-button>
|
|
@click="goToSubscribelForm()">新增学员</u-button>
|
|
</u-popup>
|
|
</u-popup>
|
|
<!-- 优惠券 -->
|
|
<!-- 优惠券 -->
|
|
- <u-popup v-model="couponShow" mode="bottom" border-radius="30" closeable>
|
|
|
|
|
|
+ <u-popup v-model="couponShow" mode="bottom" border-radius="30">
|
|
<scroll-view scroll-y style="height:300px;margin: 30px 0 15px 0;">
|
|
<scroll-view scroll-y style="height:300px;margin: 30px 0 15px 0;">
|
|
<template v-if="couponList.length">
|
|
<template v-if="couponList.length">
|
|
<u-card :show-head="false" :show-foot="false" padding="0px" margin="0px 30px 20px 30px" borderRadius="40" v-for="(item, index) in couponList"
|
|
<u-card :show-head="false" :show-foot="false" padding="0px" margin="0px 30px 20px 30px" borderRadius="40" v-for="(item, index) in couponList"
|
|
@@ -287,9 +287,11 @@
|
|
},
|
|
},
|
|
// 选择学员
|
|
// 选择学员
|
|
selectStudent(item) {
|
|
selectStudent(item) {
|
|
|
|
+ console.log(item);
|
|
this.studentId = item.studentId
|
|
this.studentId = item.studentId
|
|
this.studentName = item.studentName
|
|
this.studentName = item.studentName
|
|
this.studentShow = false
|
|
this.studentShow = false
|
|
|
|
+ this.form.sex = item.sex
|
|
// this.couponId = ''
|
|
// this.couponId = ''
|
|
// this.getMemberInfo(1)
|
|
// this.getMemberInfo(1)
|
|
this.getCouponList()
|
|
this.getCouponList()
|