Files
income_payments_applet/pages/signUpPageGuoji/signUpPageGuoji.wxml
T

593 lines
24 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!--国际研讨会的报名-->
<view class="color-f5 wrap">
<form bindsubmit="formSubmit">
<view class="form-wrap">
<!-- 如果是小程序消息进入的报名页面 需要回显企业与参会人 参会企业不可更改 -->
<view class="form-item">
<text class="item-label flex-1 validate">参会单位:</text>
<input placeholder-class="text-right" data-page='guoji' data-nolimit="{{nolimitBool}}" bindfocus="selectCompany"
name="selectedCompany.companyName" value="{{selectedCompany.companyName}}" placeholder="请选择参会单位" />
</view>
<view class="form-item">
<text class="item-label flex-1 validate">参会人:</text>
<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 validate">手机号:</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}}"
placeholder="请输入手机号" />
</view>
<view class="form-item-radio">
<view class="radio-label">
<text class="item-label flex-1 validate">是否有邀请码:</text>
</view>
<view>
<radio-group bindchange="changeInviteCode">
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
<radio class="radio-scale" value="{{item.value}}" color="#069F99"/>{{item.name}}
</label>
</radio-group>
</view>
</view>
<!-- 是否 有邀请码选择 否 -->
<view class="form-item-radio" wx:if="{{isInviteCode === '0' }}">
<view class="radio-label">
<text class="item-label flex-1 validate">参会身份:</text>
</view>
<view>
<radio-group name='identity' bindchange="changeIdentify">
<label class="radio radio-item" wx:for="{{identifyList}}" wx:key="item">
<radio class="radio-scale" value="{{item.value}}" color="#069F99"/>{{item.name}}
</label>
</radio-group>
</view>
</view>
<!-- 是否有邀请码选择是 才会出现 -->
<view class="form-item" wx:if="{{ isInviteCode === '1' }}" style="margin-bottom:10rpx">
<text class="item-label flex-1 validate">邀请码:</text>
<input placeholder-class="text-right" name="inviteCode" bindinput="bindInputInviteCode" value="{{inviteCode}}"
placeholder="请输入邀请码" />
</view>
<view class="form-item" wx:if="{{isInviteCode === '1'}}">
<button class="validate-btn" bindtap="validateCode">校验邀请码</button>
</view>
<!-- 选择身份是参会人和内部企业的时候显示 -->
<view wx:if="{{identity === '2' || identity === '3'}}">
<!-- 选择内部企业不显示 缴费方式跟邮寄信息 -->
<view class="form-item-radio" wx:if="{{identity !== '3' }}">
<view class="radio-label">
<text class="item-label flex-1 validate">缴费方式:</text>
</view>
<view>
<radio-group name='payMode' bindchange="paymentMethodRadioChange">
<label class="radio radio-item" wx:for="{{paymentMethodList}}" wx:key="item">
<radio class="radio-scale" value="{{item.value}}" color="#069F99"/>{{item.name}}
</label>
</radio-group>
</view>
</view>
<view class="form-item" wx:if="{{identity !== '3' }}">
<text class="item-label flex-1 validate">是否需要发票:</text>
<picker name='needInvoice' bindchange="needInvoiceChange" range="{{needInvoiceList}}" value="{{index}}"
range-key='name'>
<view class="picker">
{{index === -1 ? '请选择' :needInvoiceList[index].name }}
</view>
</picker>
</view>
<!-- 选择了发票才会显示 -->
<view class="form-item" wx:if="{{index !== '0' && index !== -1 && identity !== '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="请选择邮寄联系人" />
</view>
<view class="form-item" wx:if="{{index !== '0' && index !== -1 && identity !== '3' }}">
<text class="item-label flex-1 validate">邮寄地址:</text>
<input placeholder-class="text-right" name="postContactAddress" value="{{selectedPostPerson.contactAddress}}"
bindinput="bindInputPhone" placeholder="请输入邮寄地址" />
</view>
<view class="form-item" wx:if="{{index !== '0' && index !== -1 && identity !== '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="请输入邮编" />
</view>
<view class="form-item-radio">
<view class="radio-label">
<text class="item-label flex-1">是否住酒店:</text>
</view>
<view>
<radio-group name='checkInHotel'>
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
<radio class="radio-scale" value="{{item.value}}" color="#069F99"/>{{item.name}}
</label>
</radio-group>
</view>
</view>
<view class="form-item">
<text class="item-label flex-1">抵达时间:</text>
<picker name='arrivalTime' mode="date" value="{{date}}" bindchange="bindDateChangeArriveTime">
<view class="picker">
{{arrivalTime}}
</view>
</picker>
</view>
<view class="form-item">
<text class="item-label flex-1">离开时间:</text>
<picker name='departureTime' mode="date" value="{{date}}" bindchange="bindDateChangeLeaveTime">
<view class="picker">
{{departureTime}}
</view>
</picker>
</view>
<view class="form-item">
<text class="item-label flex-1">费用合计:</text>
<text>{{meetingCosts}}元</text>
</view>
<view class="btn-wrap">
<button class="btn-ok" formType="submit">确定</button>
</view>
</view>
<!-- vip显示 -->
<view wx:if="{{vipBool}}">
<view class="form-item">
<text class="item-label flex-1">演讲题目:</text>
<input placeholder-class="text-right" name="speechTopic" placeholder="请输入演讲题目" />
</view>
<view class="form-item-radio">
<text class="item-label flex-1">演讲PPT:</text>
<view style="margin-top:20rpx" class="{{ speechPpt ? '':'primary-color' }}" bindtap="uploadPPT">{{tempFiles}} </view>
</view>
<view class="form-item-radio">
<text class="item-label flex-1">照片:</text>
<image-upload style="margin-top:20rpx" bindgetIds='getImagesId' maxLength='1'></image-upload>
</view>
<view class="form-item-radio">
<text class="item-label flex-1">个人简介:</text>
<textarea name="profile" placeholder="请输入个人简介" name="remark" />
</view>
<view class="form-item-radio">
<view class="radio-label">
<text class="item-label flex-1 validate">是否用餐:</text>
</view>
<view>
<radio-group name='haveMeals' bindchange="needHaveMeal">
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
<radio class="radio-scale" value="{{item.value}}" color="#069F99"/>{{item.name}}
</label>
</radio-group>
</view>
</view>
<!-- 选择用餐才出现 -->
<view class="form-item-radio" wx:if="{{haveMeal === '1'}}">
<view class="radio-label">
<text class="item-label flex-1 validate">是否回民:</text>
</view>
<view>
<radio-group name='huiPeople'>
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
<radio class="radio-scale" value="{{item.value}}" color="#069F99"/>{{item.name}}
</label>
</radio-group>
</view>
</view>
<view class="form-item-radio">
<view class="radio-label">
<text class="item-label flex-1 validate">是否住酒店:</text>
</view>
<view>
<radio-group name='checkInHotel' bindchange="needHotel">
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
<radio class="radio-scale" value="{{item.value}}" color="#069F99"/>{{item.name}}
</label>
</radio-group>
</view>
</view>
<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}}
</view>
</picker>
</view>
<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}}
</view>
</picker>
</view>
<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>
<view class="form-item-radio">
<view class="radio-label">
<text class="item-label flex-1 validate">是否需要接站:</text>
</view>
<view>
<radio-group name='pickUp' bindchange="needPick">
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
<radio class="radio-scale" value="{{item.value}}" color="#069F99"/>{{item.name}}
</label>
</radio-group>
</view>
</view>
<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}}
</view>
</picker>
</view>
<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" wx:if="{{needPick === '1' }}">
<text class="item-label flex-1 validate">到达班次:</text>
<input placeholder-class="text-right" name="arrivalShift" bindinput="bindInputPhone" placeholder="请输入到达班次" />
</view>
<view class="form-item-radio">
<view class="radio-label">
<text class="item-label flex-1 validate">是否需要送站:</text>
</view>
<view>
<radio-group name='deliveryStation' bindchange="needSend">
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
<radio class="radio-scale" value="{{item.value}}" color="#069F99"/>{{item.name}}
</label>
</radio-group>
</view>
</view>
<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}}
</view>
</picker>
</view>
<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" 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">同行人:</text>
<input placeholder-class="text-right" name="peer" bindinput="bindInputPhone" placeholder="请输入同行人" />
</view>
<view class="form-item-radio">
<text class="item-label flex-1">备注:</text>
<textarea name="remark" placeholder="请输入备注" name="remark" />
</view>
<view class="btn-wrap">
<button class="btn-ok" formType="submit">确定</button>
</view>
</view>
<!-- 演讲嘉宾显示 -->
<view wx:if="{{speakerBool}}">
<view class="form-item">
<text class="item-label flex-1">演讲题目:</text>
<input placeholder-class="text-right" name="speechTopic" placeholder="请输入演讲题目" />
</view>
<view class="form-item-radio">
<text class="item-label flex-1">演讲PPT:</text>
<view style="margin-top:25rpx;" class="{{ speechPpt ? '':'primary-color' }}" bindtap="uploadPPT"> {{tempFiles}} </view>
</view>
<view class="form-item-radio">
<text class="item-label flex-1">照片:</text>
<!-- <input placeholder-class="text-right" name="postContactAddress" bindinput="bindInputPhone"
placeholder="请上传" /> -->
<image-upload style="margin-top:20rpx" bindgetIds='getImagesId' maxLength='1'></image-upload>
</view>
<view class="form-item-radio">
<text class="item-label flex-1">个人简介:</text>
<textarea name="profile" placeholder="请输入个人简介" name="remark" />
</view>
<view class="form-item-radio">
<view class="radio-label">
<text class="item-label flex-1 validate">是否用餐:</text>
</view>
<view>
<radio-group name='haveMeals' bindchange="needHaveMeal">
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
<radio class="radio-scale" value="{{item.value}}" color="#069F99"/>{{item.name}}
</label>
</radio-group>
</view>
</view>
<view class="form-item-radio" wx:if="{{haveMeal === '1'}}">
<view class="radio-label">
<text class="item-label flex-1 validate">是否回民:</text>
</view>
<view>
<radio-group name='huiPeople'>
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
<radio class="radio-scale" value="{{item.value}}" color="#069F99"/>{{item.name}}
</label>
</radio-group>
</view>
</view>
<view class="form-item-radio">
<view class="radio-label">
<text class="item-label flex-1 validate">是否需要接站:</text>
</view>
<view>
<radio-group name='pickUp' bindchange="needPick">
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
<radio class="radio-scale" value="{{item.value}}" color="#069F99"/>{{item.name}}
</label>
</radio-group>
</view>
</view>
<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}}
</view>
</picker>
</view>
<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" wx:if="{{needPick === '1' }}">
<text class="item-label flex-1 validate">到达班次:</text>
<input placeholder-class="text-right" name="arrivalShift" bindinput="bindInputPhone" placeholder="请输入到达班次" />
</view>
<view class="form-item-radio">
<view class="radio-label">
<text class="item-label flex-1 validate">是否需要送站:</text>
</view>
<view>
<radio-group name='deliveryStation' bindchange="needSend">
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
<radio class="radio-scale" value="{{item.value}}" color="#069F99"/>{{item.name}}
</label>
</radio-group>
</view>
</view>
<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}}
</view>
</picker>
</view>
<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" 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">同行人:</text>
<input placeholder-class="text-right" name="peer" placeholder="请输入同行人" />
</view>
<view class="form-item-radio">
<text class="item-label flex-1">备注:</text>
<textarea name="remark" placeholder="请输入备注" name="remark" />
</view>
<view class="btn-wrap">
<button class="btn-ok" formType="submit">确定</button>
</view>
</view>
<!-- 特邀嘉宾显示 -->
<view wx:if="{{guestBool}}">
<view class="form-item-radio">
<view class="radio-label">
<text class="item-label flex-1 validate">是否用餐:</text>
</view>
<view>
<radio-group name='haveMeals' bindchange="needHaveMeal">
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
<radio class="radio-scale" value="{{item.value}}" color="#069F99"/>{{item.name}}
</label>
</radio-group>
</view>
</view>
<view class="form-item-radio" wx:if="{{haveMeal === '1'}}">
<view class="radio-label">
<text class="item-label flex-1 validate">是否回民:</text>
</view>
<view>
<radio-group name='huiPeople'>
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
<radio class="radio-scale" value="{{item.value}}" color="#069F99"/>{{item.name}}
</label>
</radio-group>
</view>
</view>
<view class="form-item-radio">
<view class="radio-label">
<text class="item-label flex-1 validate">是否需要接站:</text>
</view>
<view>
<radio-group name='pickUp' bindchange="needPick">
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
<radio class="radio-scale" value="{{item.value}}" color="#069F99"/>{{item.name}}
</label>
</radio-group>
</view>
</view>
<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}}
</view>
</picker>
</view>
<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" wx:if="{{needPick === '1'}}">
<text class="item-label flex-1 validate">到达班次:</text>
<input placeholder-class="text-right" name="arrivalShift" bindinput="bindInputPhone" placeholder="请输入到达班次" />
</view>
<view class="form-item-radio">
<view class="radio-label">
<text class="item-label flex-1 validate">是否需要送站:</text>
</view>
<view>
<radio-group name='deliveryStation' bindchange="needSend">
<label class="radio radio-item" wx:for="{{need}}" wx:key="item">
<radio class="radio-scale" value="{{item.value}}" color="#069F99"/>{{item.name}}
</label>
</radio-group>
</view>
</view>
<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}}
</view>
</picker>
</view>
<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" 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">同行人:</text>
<input placeholder-class="text-right" name="peer" placeholder="请输入同行人" />
</view>
<view class="btn-wrap">
<button class="btn-ok" formType="submit">确定</button>
</view>
</view>
<!-- 合作伙伴显示 -->
<view wx:if="{{cooperatieBool}}">
<view class="form-item">
<text class="item-label flex-1">抵达时间:</text>
<picker name='arrivalTime' mode="date" bindchange="bindDateChangeArriveTime">
<view class="picker">
{{arrivalTime}}
</view>
</picker>
</view>
<view class="form-item">
<text class="item-label flex-1">离开时间:</text>
<picker name='departureTime' mode="date" bindchange="bindDateChangeLeaveTime">
<view class="picker">
{{departureTime}}
</view>
</picker>
</view>
<view class="btn-wrap">
<button class="btn-ok" formType="submit">确定</button>
</view>
</view>
</view>
</form>
</view>