diff --git a/pages/OneStopCommunity/functionHouse/reservation.vue b/pages/OneStopCommunity/functionHouse/reservation.vue index b4200e0..8e5cd16 100644 --- a/pages/OneStopCommunity/functionHouse/reservation.vue +++ b/pages/OneStopCommunity/functionHouse/reservation.vue @@ -154,7 +154,8 @@ export default { this.formData.rtPeople <= this.list.roomCapacity && this.Reserveduse.length > 0 && this.selectedRoles.length > 0 && - this.timeindex !== null + this.timeindex !== null && + this.formData.mobilePhone ); } }, @@ -221,6 +222,11 @@ export default { uni.showToast({ title: '请输入申请人姓名', icon: 'none' }); return false; } + + if (!this.formData.mobilePhone) { + uni.showToast({ title: '请输入申请人手机号码', icon: 'none' }); + return false; + } if (!this.formData.rtDepar) { uni.showToast({ title: '请选择使用部门/学院', icon: 'none' });