会议报名逻辑修改
This commit is contained in:
@@ -6,18 +6,19 @@
|
||||
<view class="form-item">
|
||||
<text class="item-label flex-1">参会单位:</text>
|
||||
<input placeholder-class="text-right" data-page='guoji' data-nolimit="{{nolimitBool}}" bindfocus="selectCompany"
|
||||
name="selectedCompany.companyName" value="{{selectedCompany.companyName}}"
|
||||
placeholder="请选择参会单位" />
|
||||
name="selectedCompany.companyName" value="{{selectedCompany.companyName}}" placeholder="请选择参会单位" />
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<text class="item-label flex-1">参会人:</text>
|
||||
<input placeholder-class="text-right" data-nolimit="{{nolimitBool}}" data-page='guoji' bindfocus="selectPerson" data-selectType='1' value="{{selectedPerson.name}}" placeholder="请选择参会人" />
|
||||
<input placeholder-class="text-right" data-nolimit="{{nolimitBool}}" data-page='guoji' bindfocus="selectPerson"
|
||||
data-selectType='1' value="{{selectedPerson.name}}" placeholder="请选择参会人" />
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<text class="item-label flex-1">手机号:</text>
|
||||
<input placeholder-class="text-right" bindblur="validatePhone" data-type="phone" data-message='请输入手机号' data-errmsg='请输入正确的手机号' type="number" maxlength="11" name="phone" bindinput="bindInputPhone" value="{{phone}}"
|
||||
<input placeholder-class="text-right" bindblur="validatePhone" data-type="phone" data-message='请输入手机号'
|
||||
data-errmsg='请输入正确的手机号' type="number" maxlength="11" name="phone" bindinput="bindInputPhone" value="{{phone}}"
|
||||
placeholder="请输入手机号" />
|
||||
</view>
|
||||
|
||||
@@ -59,9 +60,9 @@
|
||||
</radio-group>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 打包不显示需要发票 -->
|
||||
|
||||
|
||||
<view class="form-item">
|
||||
<view class="form-item" wx:if="{{payMethod !== '3' }}">
|
||||
<text class="item-label flex-1 validate">是否需要发票:</text>
|
||||
<picker name='needInvoice' bindchange="needInvoiceChange" range="{{needInvoiceList}}" value="{{index}}"
|
||||
range-key='name'>
|
||||
@@ -71,26 +72,29 @@
|
||||
</picker>
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<!-- 选择了发票才会显示 打包也不显示 -->
|
||||
<view class="form-item" wx:if="{{index !== '0' && payMethod !== '3' }}">
|
||||
<text class="item-label flex-1 validate">邮寄联系人:</text>
|
||||
<input placeholder-class="text-right" data-page='guoji' data-nolimit="{{nolimitBool}}" data-selectType='2' name="phone"
|
||||
bindfocus="selectPerson" value="{{selectedPostPerson.name}}" placeholder="请选择邮寄联系人" />
|
||||
<input placeholder-class="text-right" data-page='guoji' data-nolimit="{{nolimitBool}}" data-selectType='2'
|
||||
name="phone" bindfocus="selectPerson" value="{{selectedPostPerson.name}}" placeholder="请选择邮寄联系人" />
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<view class="form-item" wx:if="{{index !== '0' && payMethod !== '3' }}">
|
||||
<text class="item-label flex-1 validate">邮寄地址:</text>
|
||||
<input placeholder-class="text-right" name="postContactAddress" value="{{selectedPostPerson.contactAddress}}" bindinput="bindInputPhone"
|
||||
placeholder="请输入邮寄地址" />
|
||||
<input placeholder-class="text-right" name="postContactAddress" value="{{selectedPostPerson.contactAddress}}"
|
||||
bindinput="bindInputPhone" placeholder="请输入邮寄地址" />
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<view class="form-item" wx:if="{{index !== '0' && payMethod !== '3' }}">
|
||||
<text class="item-label flex-1 validate">邮编:</text>
|
||||
<input placeholder-class="text-right" name="postCode" bindblur="validatePostCode" data-message='请输入邮编' data-errmsg='请输入正确的邮编' type="number" maxlength="6" value="{{selectedPostPerson.postalCode}}" placeholder="请输入邮编" />
|
||||
<input placeholder-class="text-right" name="postCode" bindblur="validatePostCode" data-message='请输入邮编'
|
||||
data-errmsg='请输入正确的邮编' type="number" maxlength="6" value="{{selectedPostPerson.postalCode}}"
|
||||
placeholder="请输入邮编" />
|
||||
</view>
|
||||
|
||||
<view class="form-item-radio">
|
||||
<view class="radio-label">
|
||||
<text class="item-label flex-1 validate">是否住酒店:</text>
|
||||
<text class="item-label flex-1">是否住酒店:</text>
|
||||
</view>
|
||||
<view>
|
||||
<radio-group name='checkInHotel' bindchange="paymentMethodRadioChange">
|
||||
@@ -121,8 +125,7 @@
|
||||
|
||||
<view class="form-item">
|
||||
<text class="item-label flex-1">费用合计:</text>
|
||||
<!-- 需要后端判断企业 是否是标准协会的企业 是标协的企业 vip费用 -->
|
||||
<text>{{meetingDetailInfo.meetingCosts}}元</text>
|
||||
<text>{{meetingCosts}}元</text>
|
||||
</view>
|
||||
|
||||
<view class="btn-wrap">
|
||||
@@ -161,7 +164,7 @@
|
||||
<text class="item-label flex-1 validate">是否用餐:</text>
|
||||
</view>
|
||||
<view>
|
||||
<radio-group name='haveMeals' bindchange="paymentMethodRadioChange">
|
||||
<radio-group name='haveMeals' bindchange="needHaveMeal">
|
||||
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||
</label>
|
||||
@@ -169,7 +172,8 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="form-item-radio">
|
||||
<!-- 选择用餐才出现 -->
|
||||
<view class="form-item-radio" wx:if="{{haveMeal === '1'}}">
|
||||
<view class="radio-label">
|
||||
<text class="item-label flex-1 validate">是否回民:</text>
|
||||
</view>
|
||||
@@ -188,7 +192,7 @@
|
||||
<text class="item-label flex-1 validate">是否住酒店:</text>
|
||||
</view>
|
||||
<view>
|
||||
<radio-group name='checkInHotel' bindchange="paymentMethodRadioChange">
|
||||
<radio-group name='checkInHotel' bindchange="needHotel">
|
||||
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||
</label>
|
||||
@@ -196,8 +200,8 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<text class="item-label flex-1">入住酒店时间:</text>
|
||||
<view class="form-item" wx:if="{{needHotel === '1' }}">
|
||||
<text class="item-label flex-1 validate" >入住酒店时间:</text>
|
||||
<picker name='inHotelTime' mode="date" bindchange="bindDateChangeInHotelTime">
|
||||
<view class="picker">
|
||||
{{inHotelTime}}
|
||||
@@ -205,8 +209,8 @@
|
||||
</picker>
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<text class="item-label flex-1">离店时间:</text>
|
||||
<view class="form-item" wx:if="{{needHotel === '1' }}">
|
||||
<text class="item-label flex-1 validate">离店时间:</text>
|
||||
<picker name='outHotelTime' placeholder="请选择离店时间" mode="date" bindchange="bindDateChangeOutHotelTime">
|
||||
<view class="picker">
|
||||
{{outHotelTime}}
|
||||
@@ -214,7 +218,7 @@
|
||||
</picker>
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<view class="form-item" wx:if="{{needHotel === '1' }}">
|
||||
<text class="item-label flex-1 validate">房型:</text>
|
||||
<input placeholder-class="text-right" name="roomLayout" bindinput="bindInputPhone" placeholder="请输入房型" />
|
||||
</view>
|
||||
@@ -224,7 +228,7 @@
|
||||
<text class="item-label flex-1 validate">是否需要接站:</text>
|
||||
</view>
|
||||
<view>
|
||||
<radio-group name='pickUp' bindchange="paymentMethodRadioChange">
|
||||
<radio-group name='pickUp' bindchange="needPick">
|
||||
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||
</label>
|
||||
@@ -232,8 +236,8 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<text class="item-label flex-1">抵达时间:</text>
|
||||
<view class="form-item" wx:if="{{needPick === '1' }}">
|
||||
<text class="item-label flex-1 validate">抵达时间:</text>
|
||||
<picker name='arrivalTime' mode="date" value="{{date}}" bindchange="bindDateChangeArriveTime">
|
||||
<view class="picker">
|
||||
{{arrivalTime}}
|
||||
@@ -241,12 +245,12 @@
|
||||
</picker>
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<view class="form-item" wx:if="{{needPick === '1' }}">
|
||||
<text class="item-label flex-1 validate">到达站:</text>
|
||||
<input placeholder-class="text-right" name="destination" bindinput="bindInputPhone" placeholder="请输入到达站" />
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<view class="form-item" wx:if="{{needPick === '1' }}">
|
||||
<text class="item-label flex-1 validate">到达班次:</text>
|
||||
<input placeholder-class="text-right" name="arrivalShift" bindinput="bindInputPhone" placeholder="请输入到达班次" />
|
||||
</view>
|
||||
@@ -257,7 +261,7 @@
|
||||
<text class="item-label flex-1 validate">是否需要送站:</text>
|
||||
</view>
|
||||
<view>
|
||||
<radio-group name='deliveryStation' bindchange="paymentMethodRadioChange">
|
||||
<radio-group name='deliveryStation' bindchange="needSend">
|
||||
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||
</label>
|
||||
@@ -265,8 +269,8 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<text class="item-label flex-1">离开时间:</text>
|
||||
<view class="form-item" wx:if="{{needSend === '1' }}">
|
||||
<text class="item-label flex-1 validate">离开时间:</text>
|
||||
<picker name='departureTime' mode="date" value="{{date}}" bindchange="bindDateChangeLeaveTime">
|
||||
<view class="picker">
|
||||
{{departureTime}}
|
||||
@@ -274,13 +278,13 @@
|
||||
</picker>
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<view class="form-item" wx:if="{{needSend === '1' }}">
|
||||
<text class="item-label flex-1 validate">离开站:</text>
|
||||
<input placeholder-class="text-right" name="departureStation" bindinput="bindInputPhone"
|
||||
placeholder="请输入离开站" />
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<view class="form-item" wx:if="{{needSend === '1' }}">
|
||||
<text class="item-label flex-1 validate">离开班次:</text>
|
||||
<input placeholder-class="text-right" name="departureShift" bindinput="bindInputPhone"
|
||||
placeholder="请输入离开班次" />
|
||||
@@ -334,7 +338,7 @@
|
||||
<text class="item-label flex-1 validate">是否用餐:</text>
|
||||
</view>
|
||||
<view>
|
||||
<radio-group name='haveMeals' bindchange="paymentMethodRadioChange">
|
||||
<radio-group name='haveMeals' bindchange="needHaveMeal">
|
||||
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||
</label>
|
||||
@@ -342,7 +346,7 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="form-item-radio">
|
||||
<view class="form-item-radio" wx:if="{{haveMeal === '1'}}">
|
||||
<view class="radio-label">
|
||||
<text class="item-label flex-1 validate">是否回民:</text>
|
||||
</view>
|
||||
@@ -360,7 +364,7 @@
|
||||
<text class="item-label flex-1 validate">是否需要接站:</text>
|
||||
</view>
|
||||
<view>
|
||||
<radio-group name='pickUp' bindchange="paymentMethodRadioChange">
|
||||
<radio-group name='pickUp' bindchange="needPick">
|
||||
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||
</label>
|
||||
@@ -368,8 +372,8 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<text class="item-label flex-1">抵达时间:</text>
|
||||
<view class="form-item" wx:if="{{needPick === '1' }}">
|
||||
<text class="item-label flex-1 validate">抵达时间:</text>
|
||||
<picker name='arrivalTime' mode="date" value="{{date}}" bindchange="bindDateChangeArriveTime">
|
||||
<view class="picker">
|
||||
{{arrivalTime}}
|
||||
@@ -377,12 +381,12 @@
|
||||
</picker>
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<view class="form-item" wx:if="{{needPick === '1' }}">
|
||||
<text class="item-label flex-1 validate">到达站:</text>
|
||||
<input placeholder-class="text-right" name="destination" placeholder="请输入到达站" />
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<view class="form-item" wx:if="{{needPick === '1' }}">
|
||||
<text class="item-label flex-1 validate">到达班次:</text>
|
||||
<input placeholder-class="text-right" name="arrivalShift" bindinput="bindInputPhone" placeholder="请输入到达班次" />
|
||||
</view>
|
||||
@@ -393,7 +397,7 @@
|
||||
<text class="item-label flex-1 validate">是否需要送站:</text>
|
||||
</view>
|
||||
<view>
|
||||
<radio-group name='deliveryStation' bindchange="paymentMethodRadioChange">
|
||||
<radio-group name='deliveryStation' bindchange="needSend">
|
||||
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||
</label>
|
||||
@@ -401,8 +405,8 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<text class="item-label flex-1">离开时间:</text>
|
||||
<view class="form-item" wx:if="{{needSend === '1' }}">
|
||||
<text class="item-label flex-1 validate">离开时间:</text>
|
||||
<picker name='departureTime' mode="date" value="{{date}}" bindchange="bindDateChangeLeaveTime">
|
||||
<view class="picker">
|
||||
{{departureTime}}
|
||||
@@ -410,18 +414,18 @@
|
||||
</picker>
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<view class="form-item" wx:if="{{needSend === '1' }}">
|
||||
<text class="item-label flex-1 validate">离开站:</text>
|
||||
<input placeholder-class="text-right" name="departureStation" placeholder="请输入离开站" />
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<view class="form-item" wx:if="{{needSend === '1' }}">
|
||||
<text class="item-label flex-1 validate">离开班次:</text>
|
||||
<input placeholder-class="text-right" name="departureShift" placeholder="请输入离开班次" />
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<text class="item-label flex-1 validate">同行人:</text>
|
||||
<text class="item-label flex-1">同行人:</text>
|
||||
<input placeholder-class="text-right" name="peer" placeholder="请输入同行人" />
|
||||
</view>
|
||||
|
||||
@@ -443,7 +447,7 @@
|
||||
<text class="item-label flex-1 validate">是否用餐:</text>
|
||||
</view>
|
||||
<view>
|
||||
<radio-group name='haveMeals' bindchange="paymentMethodRadioChange">
|
||||
<radio-group name='haveMeals' bindchange="needHaveMeal">
|
||||
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||
</label>
|
||||
@@ -451,7 +455,7 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="form-item-radio">
|
||||
<view class="form-item-radio" wx:if="{{haveMeal === '1'}}">
|
||||
<view class="radio-label">
|
||||
<text class="item-label flex-1 validate">是否回民:</text>
|
||||
</view>
|
||||
@@ -469,7 +473,7 @@
|
||||
<text class="item-label flex-1 validate">是否需要接站:</text>
|
||||
</view>
|
||||
<view>
|
||||
<radio-group name='pickUp' bindchange="paymentMethodRadioChange">
|
||||
<radio-group name='pickUp' bindchange="needPick">
|
||||
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||
</label>
|
||||
@@ -477,8 +481,8 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<text class="item-label flex-1">抵达时间:</text>
|
||||
<view class="form-item" wx:if="{{needPick === '1'}}">
|
||||
<text class="item-label flex-1 validate">抵达时间:</text>
|
||||
<picker name='arrivalTime' mode="date" value="{{date}}" bindchange="bindDateChangeArriveTime">
|
||||
<view class="picker">
|
||||
{{arrivalTime}}
|
||||
@@ -486,12 +490,12 @@
|
||||
</picker>
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<view class="form-item" wx:if="{{needPick === '1'}}">
|
||||
<text class="item-label flex-1 validate">到达站:</text>
|
||||
<input placeholder-class="text-right" name="destination" bindinput="bindInputPhone" placeholder="请输入到达站" />
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<view class="form-item" wx:if="{{needPick === '1'}}">
|
||||
<text class="item-label flex-1 validate">到达班次:</text>
|
||||
<input placeholder-class="text-right" name="arrivalShift" bindinput="bindInputPhone" placeholder="请输入到达班次" />
|
||||
</view>
|
||||
@@ -502,7 +506,7 @@
|
||||
<text class="item-label flex-1 validate">是否需要送站:</text>
|
||||
</view>
|
||||
<view>
|
||||
<radio-group name='deliveryStation' bindchange="paymentMethodRadioChange">
|
||||
<radio-group name='deliveryStation' bindchange="needSend">
|
||||
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
|
||||
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
|
||||
</label>
|
||||
@@ -510,8 +514,8 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<text class="item-label flex-1">离开时间:</text>
|
||||
<view class="form-item" wx:if="{{needSend === '1'}}">
|
||||
<text class="item-label flex-1 validate">离开时间:</text>
|
||||
<picker name='departureTime' mode="date" bindchange="bindDateChangeLeaveTime">
|
||||
<view class="picker">
|
||||
{{departureTime}}
|
||||
@@ -519,20 +523,20 @@
|
||||
</picker>
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<view class="form-item" wx:if="{{needSend === '1'}}">
|
||||
<text class="item-label flex-1 validate">离开站:</text>
|
||||
<input placeholder-class="text-right" name="departureStation" bindinput="bindInputPhone"
|
||||
placeholder="请输入离开站" />
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<view class="form-item" wx:if="{{needSend === '1'}}">
|
||||
<text class="item-label flex-1 validate">离开班次:</text>
|
||||
<input placeholder-class="text-right" name="departureShift" bindinput="bindInputPhone"
|
||||
placeholder="请输入离开班次" />
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<text class="item-label flex-1 validate">同行人:</text>
|
||||
<text class="item-label flex-1">同行人:</text>
|
||||
<input placeholder-class="text-right" name="peer" placeholder="请输入同行人" />
|
||||
</view>
|
||||
|
||||
@@ -571,4 +575,4 @@
|
||||
|
||||
</view>
|
||||
</form>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user