【开发】国际研讨会增加参展商 参会人内部企业去掉行程信息
This commit is contained in:
@@ -74,6 +74,11 @@ Page({
|
||||
'guestType_dictText': '合作伙伴'
|
||||
});
|
||||
break
|
||||
case 5:
|
||||
this.setData({
|
||||
'guestType_dictText': '参展商'
|
||||
});
|
||||
break
|
||||
}
|
||||
},
|
||||
// 表单的显示隐藏
|
||||
@@ -83,14 +88,16 @@ Page({
|
||||
'info.speechPpt':record.speechPpt
|
||||
})
|
||||
}
|
||||
// 不是合作伙伴和参展商
|
||||
let isCoopOrExint = record.guestType !== 4 && record.guestType !== 5
|
||||
// 是否用餐
|
||||
if (record.haveMeals !== null) {
|
||||
if (isCoopOrExint && record.haveMeals !== null) {
|
||||
this.setData({
|
||||
haveMeal: record.haveMeals
|
||||
})
|
||||
}
|
||||
// 是否住酒店
|
||||
if (record.checkInHotel !== null) {
|
||||
if (isCoopOrExint && record.checkInHotel !== null) {
|
||||
this.setData({
|
||||
needHotel: record.checkInHotel
|
||||
})
|
||||
@@ -107,7 +114,7 @@ Page({
|
||||
|
||||
}
|
||||
// 是否接站
|
||||
if (record.pickUp !== null) {
|
||||
if (isCoopOrExint && record.pickUp !== null) {
|
||||
this.setData({
|
||||
needPick: record.pickUp
|
||||
})
|
||||
@@ -118,7 +125,7 @@ Page({
|
||||
}
|
||||
}
|
||||
// 是否送站
|
||||
if (record.deliveryStation !== null) {
|
||||
if (isCoopOrExint && record.deliveryStation !== null) {
|
||||
this.setData({
|
||||
needSend: record.deliveryStation
|
||||
})
|
||||
@@ -144,7 +151,7 @@ Page({
|
||||
formData.speechPpt = this.data.info.speechPpt
|
||||
}
|
||||
console.log(formData)
|
||||
if(this.data.info.guestType !== 4){
|
||||
if(this.data.info.guestType !== 4 && this.data.info.guestType !== 5){
|
||||
// 不是合作伙伴的需要校验
|
||||
if(!formData.haveMeals){
|
||||
wx.showToast({
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<form bindsubmit="formSubmit">
|
||||
<!-- 不是合作伙伴的beign -->
|
||||
<view class="form-wrap" wx:if="{{info.guestType !== 4}}">
|
||||
<view class="form-wrap" wx:if="{{info.guestType !== 4 && info.guestType !== 5}}">
|
||||
|
||||
<view class="form-item">
|
||||
<text>参会单位:</text>
|
||||
@@ -221,7 +221,7 @@
|
||||
<!-- 不是合作伙伴的显示end -->
|
||||
|
||||
<!-- 合作伙伴begin -->
|
||||
<view class="form-wrap" wx:if="{{info.guestType === 4}}">
|
||||
<view class="form-wrap" wx:if="{{info.guestType === 4 || info.guestType === 5}}">
|
||||
|
||||
<view class="form-item">
|
||||
<text class="item-label flex-1">抵达时间:</text>
|
||||
|
||||
Reference in New Issue
Block a user