| | |
| | | <view class="list_item"> |
| | | <view class="list_item_label"> |
| | | <text>拜访事由</text> |
| | | <text></text> |
| | | <text>*</text> |
| | | </view> |
| | | <view class="list_item_content"> |
| | | <input type="text" v-model="form1.reason" placeholder="请输入来访事由,您来做什么的" placeholder-style="color: #999999;" /> |
| | |
| | | title: '访问门禁不能为空', |
| | | icon: 'none' |
| | | }) |
| | | // if (!this.form1.reason) return uni.showToast({ |
| | | // title: '拜访事由不能为空', |
| | | // icon: 'none' |
| | | // }) |
| | | if (!this.form1.reason) return uni.showToast({ |
| | | title: '拜访事由不能为空', |
| | | icon: 'none' |
| | | }) |
| | | // this.form1.starttime = this.form1.starttime + ':00' |
| | | // this.form1.endtime = this.form1.endtime + ':00' |
| | | let data = JSON.parse(JSON.stringify(this.form1)) |