【bug】国际研讨会内部企业的显示
This commit is contained in:
@@ -185,6 +185,7 @@ Page({
|
||||
// 缴费方式选择
|
||||
paymentMethodRadioChange(e){
|
||||
let value = e.detail.value
|
||||
console.log(e.detail.value);
|
||||
this.setData({
|
||||
payMethod:value
|
||||
})
|
||||
@@ -222,7 +223,9 @@ Page({
|
||||
const that = this
|
||||
let value = e.detail.value
|
||||
this.setData({
|
||||
identity:value
|
||||
identity:value,
|
||||
index:-1,
|
||||
|
||||
})
|
||||
// 国际研讨会嘉宾 内部企业 不需要缴费
|
||||
if( value === '2' ){
|
||||
@@ -750,6 +753,7 @@ Page({
|
||||
if(options.meetingId){
|
||||
this.queryMeetingDetail(options.meetingId)
|
||||
}
|
||||
this.queryMeetingDetail('1455716624649428994')
|
||||
if(options.nolimit){
|
||||
this.setData({
|
||||
nolimitBool:true
|
||||
|
||||
@@ -48,7 +48,8 @@
|
||||
|
||||
<!-- 选择身份是参会人和内部企业的时候显示 -->
|
||||
<view wx:if="{{!inviteCodeShowBool}}">
|
||||
<view class="form-item-radio">
|
||||
<!-- 选择内部企业不显示 缴费方式跟邮寄信息 -->
|
||||
<view class="form-item-radio" wx:if="{{identity !== '3' }}">
|
||||
<view class="radio-label">
|
||||
<text class="item-label flex-1 validate">缴费方式:</text>
|
||||
</view>
|
||||
@@ -61,7 +62,7 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<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'>
|
||||
@@ -72,19 +73,19 @@
|
||||
</view>
|
||||
|
||||
<!-- 选择了发票才会显示 -->
|
||||
<view class="form-item" wx:if="{{index !== '0' && index !== -1 }}">
|
||||
<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 }}">
|
||||
<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}}">
|
||||
<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}}"
|
||||
|
||||
Reference in New Issue
Block a user