diff --git a/pages/signUpPageGuoji/signUpPageGuoji.js b/pages/signUpPageGuoji/signUpPageGuoji.js index 5cfc3d4..d1f8089 100644 --- a/pages/signUpPageGuoji/signUpPageGuoji.js +++ b/pages/signUpPageGuoji/signUpPageGuoji.js @@ -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