功能房-新增手机号码字段
This commit is contained in:
@@ -154,7 +154,8 @@ export default {
|
|||||||
this.formData.rtPeople <= this.list.roomCapacity &&
|
this.formData.rtPeople <= this.list.roomCapacity &&
|
||||||
this.Reserveduse.length > 0 &&
|
this.Reserveduse.length > 0 &&
|
||||||
this.selectedRoles.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' });
|
uni.showToast({ title: '请输入申请人姓名', icon: 'none' });
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!this.formData.mobilePhone) {
|
||||||
|
uni.showToast({ title: '请输入申请人手机号码', icon: 'none' });
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (!this.formData.rtDepar) {
|
if (!this.formData.rtDepar) {
|
||||||
uni.showToast({ title: '请选择使用部门/学院', icon: 'none' });
|
uni.showToast({ title: '请选择使用部门/学院', icon: 'none' });
|
||||||
|
|||||||
Reference in New Issue
Block a user