【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
}
// 是否用餐
if(this.data.guestType === '1' && (formData.haveMeals == '' || formData.haveMeals === undefined) ){
if(this.data.guestType !== '4' && (formData.haveMeals == '' || formData.haveMeals === undefined) ){
wx.showToast({
title: '请选择是否用餐',
icon: 'none',
@@ -577,8 +577,8 @@ Page({
})
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({
title: '请选择是否回民',
icon: 'none',
@@ -753,7 +753,7 @@ Page({
if(options.meetingId){
this.queryMeetingDetail(options.meetingId)
}
this.queryMeetingDetail('1455716624649428994')
// this.queryMeetingDetail('1455716624649428994')
if(options.nolimit){
this.setData({
nolimitBool:true