zhangback
2026-01-26 6705efe18a3d82c1baf4130e74872f2509af760f
1
<view class="content data-v-0cd19ee8"><nav vue-id="c6156e80-1" title="新增车辆预约" customBack="pages/vehicle/list" class="data-v-0cd19ee8" bind:__l="__l"></nav><u--form vue-id="c6156e80-2" model="{{form}}" rules="{{rules}}" labelPosition="left" labelWidth="90" data-ref="form1" class="data-v-0cd19ee8 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="title data-v-0cd19ee8">预约信息</view><view class="container data-v-0cd19ee8"><u-form-item vue-id="{{('c6156e80-3')+','+('c6156e80-2')}}" borderBottom="{{true}}" required="{{true}}" label="被访单位" prop="companyName" data-event-opts="{{[['^click',[['e0']]]]}}" bind:click="__e" class="data-v-0cd19ee8" bind:__l="__l" vue-slots="{{['default','right']}}"><u--input vue-id="{{('c6156e80-4')+','+('c6156e80-3')}}" border="none" readonly="{{true}}" disabled="{{true}}" disabledColor="#ffffff" placeholder="请选择被访单位" value="{{form.companyName}}" data-event-opts="{{[['^focus',[['e1']]],['^input',[['__set_model',['$0','companyName','$event',[]],['form']]]]]}}" bind:focus="__e" bind:input="__e" class="data-v-0cd19ee8" bind:__l="__l"></u--input><u-icon vue-id="{{('c6156e80-5')+','+('c6156e80-3')}}" slot="right" name="arrow-right" class="data-v-0cd19ee8" bind:__l="__l"></u-icon></u-form-item><block wx:if="{{isShowDept}}"><view class="data-v-0cd19ee8"><u-form-item vue-id="{{('c6156e80-6')+','+('c6156e80-2')}}" required="{{true}}" label="被访部门" prop="interviewee" data-event-opts="{{[['^click',[['e2']]]]}}" bind:click="__e" class="data-v-0cd19ee8" bind:__l="__l" vue-slots="{{['default','right']}}"><u--input vue-id="{{('c6156e80-7')+','+('c6156e80-6')}}" border="none" readonly="{{true}}" disabled="{{true}}" disabledColor="#ffffff" placeholder="请选择被访部门" value="{{form.interviewee}}" data-event-opts="{{[['^focus',[['e3']]],['^input',[['__set_model',['$0','interviewee','$event',[]],['form']]]]]}}" bind:focus="__e" bind:input="__e" class="data-v-0cd19ee8" bind:__l="__l"></u--input><u-icon vue-id="{{('c6156e80-8')+','+('c6156e80-6')}}" slot="right" name="arrow-right" class="data-v-0cd19ee8" bind:__l="__l"></u-icon></u-form-item></view></block></view><view class="title data-v-0cd19ee8">去哪里</view><view class="container data-v-0cd19ee8"><u-form-item vue-id="{{('c6156e80-9')+','+('c6156e80-2')}}" required="{{true}}" label="位置" prop="positionList" class="data-v-0cd19ee8" bind:__l="__l" vue-slots="{{['default']}}"><u-checkbox-group bind:change="__e" bind:input="__e" vue-id="{{('c6156e80-10')+','+('c6156e80-9')}}" value="{{form.positionList}}" data-event-opts="{{[['^change',[['checkboxChange']]],['^input',[['__set_model',['$0','positionList','$event',[]],['form']]]]]}}" class="data-v-0cd19ee8" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{checkboxList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-checkbox vue-id="{{('c6156e80-11-'+index)+','+('c6156e80-10')}}" customStyle="{{({marginRight:'20px'})}}" label="{{item.label}}" name="{{item.name}}" class="data-v-0cd19ee8" bind:__l="__l"></u-checkbox></block></u-checkbox-group></u-form-item></view><view class="title data-v-0cd19ee8">联系信息</view><view class="container data-v-0cd19ee8"><u-form-item vue-id="{{('c6156e80-12')+','+('c6156e80-2')}}" borderBottom="{{true}}" required="{{true}}" label="来访人" prop="visitor" class="data-v-0cd19ee8" bind:__l="__l" vue-slots="{{['default']}}"><u--input bind:input="__e" vue-id="{{('c6156e80-13')+','+('c6156e80-12')}}" border="none" disabledColor="#ffffff" placeholder="请输入来访人" value="{{form.visitor}}" data-event-opts="{{[['^input',[['__set_model',['$0','visitor','$event',[]],['form']]]]]}}" class="data-v-0cd19ee8" bind:__l="__l"></u--input></u-form-item><u-form-item vue-id="{{('c6156e80-14')+','+('c6156e80-2')}}" required="{{true}}" label="联系电话" prop="phone" class="data-v-0cd19ee8" bind:__l="__l" vue-slots="{{['default']}}"><u--input bind:input="__e" vue-id="{{('c6156e80-15')+','+('c6156e80-14')}}" border="none" disabledColor="#ffffff" placeholder="请输入联系电话" value="{{form.phone}}" data-event-opts="{{[['^input',[['__set_model',['$0','phone','$event',[]],['form']]]]]}}" class="data-v-0cd19ee8" bind:__l="__l"></u--input></u-form-item></view><view class="title data-v-0cd19ee8">预约时间</view><view class="container data-v-0cd19ee8"><u-form-item vue-id="{{('c6156e80-16')+','+('c6156e80-2')}}" label="开始时间" required="{{true}}" prop="startTime" data-event-opts="{{[['^click',[['showTimeClick',[1]]]]]}}" bind:click="__e" class="data-v-0cd19ee8" bind:__l="__l" vue-slots="{{['default','right']}}"><u--input bind:input="__e" vue-id="{{('c6156e80-17')+','+('c6156e80-16')}}" border="none" disabled="{{true}}" disabledColor="#ffffff" placeholder="请选择开始时间" value="{{form.startTime}}" data-event-opts="{{[['^input',[['__set_model',['$0','startTime','$event',[]],['form']]]]]}}" class="data-v-0cd19ee8" bind:__l="__l"></u--input><u-icon vue-id="{{('c6156e80-18')+','+('c6156e80-16')}}" slot="right" name="arrow-right" class="data-v-0cd19ee8" bind:__l="__l"></u-icon></u-form-item><u-datetime-picker vue-id="{{('c6156e80-19')+','+('c6156e80-2')}}" show="{{showStartTime}}" minDate="{{minStartTime}}" mode="datetime" formatter="{{formatter}}" data-ref="datetimePicker" data-event-opts="{{[['^cancel',[['cancelTimeIshow']]],['^confirm',[['showStartClik']]]]}}" bind:cancel="__e" bind:confirm="__e" class="data-v-0cd19ee8 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="data-v-0cd19ee8">年月日时分</view></u-datetime-picker></view><block wx:for="{{form.carList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="data-v-0cd19ee8"><view style="display:flex;justify-content:space-between;align-items:center;" class="data-v-0cd19ee8"><view class="title data-v-0cd19ee8" style="color:#f9ae3d;">{{"来访车辆"+(index+1)}}</view><block wx:if="{{index!=0}}"><view data-event-opts="{{[['tap',[['delItem',[index]]]]]}}" style="color:red;font-size:14px;" bindtap="__e" class="data-v-0cd19ee8">删除</view></block></view><view class="container data-v-0cd19ee8"><u-form-item vue-id="{{('c6156e80-20-'+index)+','+('c6156e80-2')}}" borderBottom="{{true}}" required="{{true}}" label="车辆类型" prop="{{'carTypeName'+index}}" data-event-opts="{{[['^click',[['e4']]]]}}" data-event-params="{{({index})}}" bind:click="__e" class="data-v-0cd19ee8" bind:__l="__l" vue-slots="{{['default','right']}}"><u--input bind:input="__e" vue-id="{{('c6156e80-21-'+index)+','+('c6156e80-20-'+index)}}" border="none" readonly="{{true}}" disabled="{{true}}" disabledColor="#ffffff" placeholder="请选择车辆类型" value="{{item.carTypeName}}" data-event-opts="{{[['^input',[['__set_model',['$0','carTypeName','$event',[]],[[['form.carList','',index]]]]]]]}}" class="data-v-0cd19ee8" bind:__l="__l"></u--input><u-icon vue-id="{{('c6156e80-22-'+index)+','+('c6156e80-20-'+index)}}" slot="right" name="arrow-right" class="data-v-0cd19ee8" bind:__l="__l"></u-icon></u-form-item><block wx:for="{{item.vehicleNumList}}" wx:for-item="cItem" wx:for-index="cIndex" wx:key="cIndex"><u-form-item vue-id="{{('c6156e80-23-'+index+'-'+cIndex)+','+('c6156e80-2')}}" labelWidth="0" label=" " prop="{{'vehicleNum'+index}}" class="data-v-0cd19ee8" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['platClick',[index]]]]]}}" bindtap="__e" class="data-v-0cd19ee8"><plate vue-id="{{('c6156e80-24-'+index+'-'+cIndex)+','+('c6156e80-23-'+index+'-'+cIndex)}}" indexIds="{{index}}" data-event-opts="{{[['^listenPlateChange',[['e5']]],['^bindmyevent',[['e6']]]]}}" data-event-params="{{({index,cIndex})}}" bind:listenPlateChange="__e" bind:bindmyevent="__e" class="data-v-0cd19ee8" bind:__l="__l"></plate></view></u-form-item></block></view></view></block><view class="data-v-0cd19ee8"><u-button vue-id="{{('c6156e80-25')+','+('c6156e80-2')}}" icon="plus" type="success" data-event-opts="{{[['^click',[['addCar']]]]}}" bind:click="__e" class="data-v-0cd19ee8" bind:__l="__l" vue-slots="{{['default']}}">继续添加来访车辆</u-button></view></u--form><view style="margin-top:50px;" class="data-v-0cd19ee8"><u-button vue-id="c6156e80-26" shape="circle" type="primary" data-event-opts="{{[['^click',[['submit']]]]}}" bind:click="__e" class="data-v-0cd19ee8" bind:__l="__l" vue-slots="{{['default']}}">确认预约</u-button></view><u-calendar vue-id="c6156e80-27" show="{{showTime}}" mode="range" data-event-opts="{{[['^confirm',[['confirmTime']]],['^close',[['e7']]]]}}" bind:confirm="__e" bind:close="__e" class="data-v-0cd19ee8" bind:__l="__l"></u-calendar><u-action-sheet vue-id="c6156e80-28" actions="{{parkList}}" show="{{showSex}}" title="请选择被访单位" data-event-opts="{{[['^close',[['e8']]],['^select',[['parkSelect']]]]}}" bind:close="__e" bind:select="__e" class="data-v-0cd19ee8" bind:__l="__l"></u-action-sheet><u-action-sheet vue-id="c6156e80-29" actions="{{deptLists}}" show="{{showDept}}" title="请选择被访部门" data-event-opts="{{[['^close',[['e9']]],['^select',[['deptSelect']]]]}}" bind:close="__e" bind:select="__e" class="data-v-0cd19ee8" bind:__l="__l"></u-action-sheet><u-picker vue-id="c6156e80-30" show="{{enterpriseShow}}" columns="{{columns}}" data-ref="uPicker" data-event-opts="{{[['^confirm',[['confirmEnterprise']]],['^cancel',[['cancelEnterprise']]]]}}" bind:confirm="__e" bind:cancel="__e" class="data-v-0cd19ee8 vue-ref" bind:__l="__l"></u-picker><u-action-sheet vue-id="c6156e80-31" actions="{{sysEntryExitFlag}}" show="{{showIE}}" title="请选择进出场类型" data-event-opts="{{[['^close',[['e10']]],['^select',[['ieSelect']]]]}}" bind:close="__e" bind:select="__e" class="data-v-0cd19ee8" bind:__l="__l"></u-action-sheet><u-action-sheet vue-id="c6156e80-32" actions="{{sysCarType}}" show="{{showCarType}}" title="请选择车辆类型" data-event-opts="{{[['^close',[['e11']]],['^select',[['carTypeSelect']]]]}}" bind:close="__e" bind:select="__e" class="data-v-0cd19ee8" bind:__l="__l"></u-action-sheet><u-modal vue-id="c6156e80-33" show="{{show}}" title="温馨提示" content="提交车辆预约申请成功!请等待审核" data-event-opts="{{[['^confirm',[['getSubMsg']]]]}}" bind:confirm="__e" class="data-v-0cd19ee8" bind:__l="__l"></u-modal></view>