MrShi
2024-03-01 4b21a465f3c48120f1d10a5a04921dfdce7a0143
h5/pages/visitorApplication/visitorApplication.vue
@@ -53,7 +53,7 @@
         <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;" />
@@ -358,10 +358,10 @@
               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))