【bug】演讲嘉宾 与特邀嘉宾的验证问题

This commit is contained in:
fengachen
2021-11-03 12:18:18 +08:00
parent 932b89ff51
commit 46dc0222d2
+4 -4
View File
@@ -569,7 +569,7 @@ Page({
return return
} }
// 是否用餐 // 是否用餐
if(this.data.guestType === '1' && (formData.haveMeals == '' || formData.haveMeals === undefined) ){ if(this.data.guestType !== '4' && (formData.haveMeals == '' || formData.haveMeals === undefined) ){
wx.showToast({ wx.showToast({
title: '请选择是否用餐', title: '请选择是否用餐',
icon: 'none', icon: 'none',
@@ -577,8 +577,8 @@ Page({
}) })
return return
} }
// 是否回民 // 是否回民 选择了是否用餐才去校验
if(this.data.guestType === '1' && thism.data.haveMeal === '1' && (formData.huiPeople == '' || formData.huiPeople === undefined) ){ if(this.data.guestType !== '4' && thism.data.haveMeal === '1' && (formData.huiPeople == '' || formData.huiPeople === undefined) ){
wx.showToast({ wx.showToast({
title: '请选择是否回民', title: '请选择是否回民',
icon: 'none', icon: 'none',
@@ -753,7 +753,7 @@ Page({
if(options.meetingId){ if(options.meetingId){
this.queryMeetingDetail(options.meetingId) this.queryMeetingDetail(options.meetingId)
} }
this.queryMeetingDetail('1455716624649428994') // this.queryMeetingDetail('1455716624649428994')
if(options.nolimit){ if(options.nolimit){
this.setData({ this.setData({
nolimitBool:true nolimitBool:true