1 |
- <view class="page"><view class="form"><u-form class="vue-ref" vue-id="954525e2-1" model="{{form}}" data-ref="uForm" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('954525e2-2')+','+('954525e2-1')}}" label-width="150" label="姓名" prop="name" required="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('954525e2-3')+','+('954525e2-2')}}" placeholder="请输入客户姓名" type="text" value="{{form.name}}" data-event-opts="{{[['^input',[['__set_model',['$0','name','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('954525e2-4')+','+('954525e2-1')}}" label-width="150" label="性别" prop="sex" required="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><u-radio-group bind:input="__e" vue-id="{{('954525e2-5')+','+('954525e2-4')}}" active-color="#2979ff" value="{{form.sex}}" data-event-opts="{{[['^input',[['__set_model',['$0','sex','$event',[]],['form']]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><u-radio vue-id="{{('954525e2-6')+','+('954525e2-5')}}" name="male" bind:__l="__l" vue-slots="{{['default']}}">先生</u-radio><u-radio vue-id="{{('954525e2-7')+','+('954525e2-5')}}" name="female" bind:__l="__l" vue-slots="{{['default']}}">女士</u-radio></u-radio-group></u-form-item><u-form-item vue-id="{{('954525e2-8')+','+('954525e2-1')}}" label-width="150" label="手机号" prop="phone" required="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('954525e2-9')+','+('954525e2-8')}}" placeholder="请输入手机号" type="number" value="{{form.phone}}" data-event-opts="{{[['^input',[['__set_model',['$0','phone','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('954525e2-10')+','+('954525e2-1')}}" label-width="150" label="备注信息" prop="remark" label-position="top" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('954525e2-11')+','+('954525e2-10')}}" placeholder="客户描述说明,如客户意向户型或面积等信息" type="textarea" value="{{form.remark}}" data-event-opts="{{[['^input',[['__set_model',['$0','remark','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('954525e2-12')+','+('954525e2-1')}}" label-width="150" label="意向项目" prop="estate_name" required="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><u-input vue-id="{{('954525e2-13')+','+('954525e2-12')}}" type="select" select-open="{{propertySelectShow}}" placeholder="请选择推荐项目" value="{{form.estate_name}}" data-event-opts="{{[['^click',[['e0']]],['^input',[['__set_model',['$0','estate_name','$event',[]],['form']]]]]}}" bind:click="__e" bind:input="__e" bind:__l="__l"></u-input></u-form-item></u-form><u-gap vue-id="954525e2-14" height="60" bind:__l="__l"></u-gap><u-button vue-id="954525e2-15" type="primary" diabled="{{submitButtonDisabled}}" data-event-opts="{{[['^click',[['submitHandle']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">提交</u-button></view><u-select vue-id="954525e2-16" mode="single-column" list="{{salerSelectList}}" value="{{salerSelectShow}}" data-event-opts="{{[['^confirm',[['salerSelectConfirm']]],['^input',[['__set_model',['','salerSelectShow','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-select><u-modal vue-id="954525e2-17" content="请务必仔细确认各项信息是否正确" show-cancel-button="{{true}}" value="{{submitModalShow}}" data-event-opts="{{[['^confirm',[['submit']]],['^input',[['__set_model',['','submitModalShow','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-modal><u-modal vue-id="954525e2-18" content="{{modalContent}}" show-cancel-button="{{true}}" value="{{modalShow}}" data-event-opts="{{[['^cancel',[['modalCancel']]],['^confirm',[['modalConfirm']]],['^input',[['__set_model',['','modalShow','$event',[]]]]]]}}" bind:cancel="__e" bind:confirm="__e" bind:input="__e" bind:__l="__l"></u-modal><u-toast class="vue-ref" vue-id="954525e2-19" data-ref="uToast" bind:__l="__l"></u-toast><u-popup bind:input="__e" vue-id="954525e2-20" mode="center" width="90%" height="100%" value="{{propertySelectShow}}" data-event-opts="{{[['^input',[['__set_model',['','propertySelectShow','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="bwin-popup scoped-estate-popup"><view class="scoped-popup-header-input"><u-input bind:input="__e" class="input" vue-id="{{('954525e2-21')+','+('954525e2-20')}}" placeholder="没找到楼盘??点这输入关键字搜索" value="{{curEstateName}}" data-event-opts="{{[['^input',[['__set_model',['','curEstateName','$event',[]]]]]]}}" bind:__l="__l"></u-input><view data-event-opts="{{[['tap',[['getEstateList',['$event']]]]]}}" class="b" bindtap="__e">搜索</view></view><scroll-view class="popup-body" scroll-y="{{true}}"><view class="scoped-estate-list"><block wx:for="{{estateList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['listItemHandle',['$0'],[[['estateList','',index]]]]]]]}}" class="{{[form.estate_id==item.id?'sel-item cur':'sel-item']}}" bindtap="__e"><view class="sel-left"><image class="img" src="{{item.pri_image}}" mode="aspectFill"></image></view><view class="sel-right"><view class="p1">{{item.estate_name}}</view><view class="p2"><u-tag vue-id="{{('954525e2-22-'+index)+','+('954525e2-20')}}" text="{{areaTypeObj[item.area_type]}}" type="success" size="mini" bind:__l="__l"></u-tag></view><block wx:if="{{userInfo2.auth_state==1}}"><view class="p3">{{"带看需收集:"+item.report_visit}}</view></block><block wx:if="{{userInfo2.auth_state==1}}"><view class="p3">{{"报备/带看保护期:"+item.report_lock+"天/"+item.lead_lock+"天"}}</view></block></view></view></block></view></scroll-view><view class="popup-footer" style="position:fixed;bottom:12rpx;"><u-button vue-id="{{('954525e2-23')+','+('954525e2-20')}}" size="medium" data-event-opts="{{[['^click',[['e1']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">关闭</u-button><u-button vue-id="{{('954525e2-24')+','+('954525e2-20')}}" size="medium" type="primary" data-event-opts="{{[['^click',[['e2']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">确定</u-button></view></view></u-popup></view>
|