Merge branch 'main' of http://47.112.118.149:10082/xgxt_sd/zhxg_app
This commit is contained in:
@@ -16,6 +16,11 @@
|
|||||||
<label>申请人</label>
|
<label>申请人</label>
|
||||||
<input type="text" v-model="formData.rtCreatRole" placeholder="请输入申请人姓名" placeholder-class="input-placeholder" />
|
<input type="text" v-model="formData.rtCreatRole" placeholder="请输入申请人姓名" placeholder-class="input-placeholder" />
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
<view class="form-item">
|
||||||
|
<label>手机号码</label>
|
||||||
|
<input type="text" v-model="formData.mobilePhone" placeholder="请输入申请人手机号码" placeholder-class="input-placeholder" />
|
||||||
|
</view>
|
||||||
|
|
||||||
<view class="form-item">
|
<view class="form-item">
|
||||||
<label>使用部门/学院</label>
|
<label>使用部门/学院</label>
|
||||||
@@ -149,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
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -216,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