add.wxml 5.8 KB

1
  1. <view class="home data-v-2035582e"><view class="nav data-v-2035582e"><view style="{{'padding-top:'+(paddingTop)+';'}}" class="data-v-2035582e"><view class="title data-v-2035582e" style="{{'height:'+(height)+';'+('line-height:'+(height)+';')}}"><view data-event-opts="{{[['tap',[['goBack']]]]}}" class="back data-v-2035582e" bindtap="__e"><u-icon vue-id="0cc5aa3d-1" name="arrow-left" color="#ffffff" size="22" class="data-v-2035582e" bind:__l="__l"></u-icon></view><text class="data-v-2035582e">新增客户</text></view></view></view><view class="main data-v-2035582e"><u-form vue-id="0cc5aa3d-2" model="{{addForm}}" rules="{{rules}}" label-width="0" data-ref="addForm" class="data-v-2035582e vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('0cc5aa3d-3')+','+('0cc5aa3d-2')}}" prop="name" borderBottom="{{true}}" customStyle="padding:40rpx 0 30rpx" class="data-v-2035582e" bind:__l="__l" vue-slots="{{['default']}}"><view class="form-label flex_l data-v-2035582e"><view class="label-tag data-v-2035582e"></view>客户名称</view><u-input bind:input="__e" vue-id="{{('0cc5aa3d-4')+','+('0cc5aa3d-3')}}" placeholder="输入客户名称" border="none" suffixIcon="account" suffixIconStyle="color:#CDCDCD" clearable="{{true}}" customStyle="padding: 0 30rpx 0 12rpx" value="{{addForm.name}}" data-event-opts="{{[['^input',[['__set_model',['$0','name','$event',[]],['addForm']]]]]}}" class="data-v-2035582e" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('0cc5aa3d-5')+','+('0cc5aa3d-2')}}" prop="industry" borderBottom="{{true}}" customStyle="padding:40rpx 0 30rpx" data-event-opts="{{[['^click',[['e0']]]]}}" bind:click="__e" class="data-v-2035582e" bind:__l="__l" vue-slots="{{['default']}}"><view class="form-label flex_l data-v-2035582e"><view class="label-tag data-v-2035582e"></view>客户行业</view><u-input bind:input="__e" vue-id="{{('0cc5aa3d-6')+','+('0cc5aa3d-5')}}" readonly="{{true}}" placeholder="请选择客户行业" border="none" suffixIcon="arrow-down" suffixIconStyle="color:#CDCDCD" clearable="{{true}}" customStyle="padding: 0 30rpx 0 12rpx" value="{{addForm.industry}}" data-event-opts="{{[['^input',[['__set_model',['$0','industry','$event',[]],['addForm']]]]]}}" class="data-v-2035582e" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('0cc5aa3d-7')+','+('0cc5aa3d-2')}}" prop="source" borderBottom="{{true}}" customStyle="padding:40rpx 0 30rpx" data-event-opts="{{[['^click',[['e1']]]]}}" bind:click="__e" class="data-v-2035582e" bind:__l="__l" vue-slots="{{['default']}}"><view class="form-label flex_l data-v-2035582e"><view class="label-tag data-v-2035582e"></view>客户来源</view><u-input bind:input="__e" vue-id="{{('0cc5aa3d-8')+','+('0cc5aa3d-7')}}" readonly="{{true}}" placeholder="请选择客户来源" border="none" suffixIcon="arrow-down" suffixIconStyle="color:#CDCDCD" clearable="{{true}}" customStyle="padding: 0 30rpx 0 12rpx" value="{{addForm.source}}" data-event-opts="{{[['^input',[['__set_model',['$0','source','$event',[]],['addForm']]]]]}}" class="data-v-2035582e" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('0cc5aa3d-9')+','+('0cc5aa3d-2')}}" prop="area" borderBottom="{{true}}" customStyle="padding:40rpx 0 30rpx" data-event-opts="{{[['^click',[['e2']]]]}}" bind:click="__e" class="data-v-2035582e" bind:__l="__l" vue-slots="{{['default']}}"><view class="form-label flex_l data-v-2035582e"><view class="label-tag data-v-2035582e"></view>所在地区</view><u-input bind:input="__e" vue-id="{{('0cc5aa3d-10')+','+('0cc5aa3d-9')}}" readonly="{{true}}" placeholder="请选择所在地区" border="none" suffixIcon="arrow-down" suffixIconStyle="color:#CDCDCD" clearable="{{true}}" customStyle="padding: 0 30rpx 0 12rpx" value="{{addForm.area}}" data-event-opts="{{[['^input',[['__set_model',['$0','area','$event',[]],['addForm']]]]]}}" class="data-v-2035582e" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('0cc5aa3d-11')+','+('0cc5aa3d-2')}}" borderBottom="{{true}}" customStyle="padding:40rpx 0 30rpx" class="data-v-2035582e" bind:__l="__l" vue-slots="{{['default']}}"><view class="form-label flex_l data-v-2035582e"><view class="label-tag data-v-2035582e"></view>备注</view><u-input bind:input="__e" vue-id="{{('0cc5aa3d-12')+','+('0cc5aa3d-11')}}" placeholder="输入备注" border="none" clearable="{{true}}" customStyle="padding: 0 30rpx 0 12rpx" value="{{addForm.remark}}" data-event-opts="{{[['^input',[['__set_model',['$0','remark','$event',[]],['addForm']]]]]}}" class="data-v-2035582e" bind:__l="__l"></u-input></u-form-item></u-form><view data-event-opts="{{[['tap',[['handleAdd',['$event']]]]]}}" class="save data-v-2035582e" bindtap="__e">保存</view></view><u-picker vue-id="0cc5aa3d-13" show="{{showIndustry}}" columns="{{industryColumns}}" keyName="value" data-event-opts="{{[['^cancel',[['e3']]],['^confirm',[['pickIndustry']]]]}}" bind:cancel="__e" bind:confirm="__e" class="data-v-2035582e" bind:__l="__l"></u-picker><u-picker vue-id="0cc5aa3d-14" show="{{showSource}}" columns="{{sourceColumns}}" keyName="value" data-event-opts="{{[['^cancel',[['e4']]],['^confirm',[['pickSource']]]]}}" bind:cancel="__e" bind:confirm="__e" class="data-v-2035582e" bind:__l="__l"></u-picker><u-picker vue-id="0cc5aa3d-15" show="{{showArea}}" columns="{{addressColumns}}" title="请选择所在地" keyName="distName" itemHeight="80" closeOnClickOverlay="{{true}}" immediateChange="{{true}}" data-ref="areaPicker" data-event-opts="{{[['^cancel',[['e5']]],['^close',[['e6']]],['^confirm',[['localConfirm']]],['^change',[['changeHandler']]]]}}" bind:cancel="__e" bind:close="__e" bind:confirm="__e" bind:change="__e" class="data-v-2035582e vue-ref" bind:__l="__l"></u-picker><u-notify vue-id="0cc5aa3d-16" data-ref="uNotify" class="data-v-2035582e vue-ref" bind:__l="__l"></u-notify><u-toast vue-id="0cc5aa3d-17" data-ref="uToast" class="data-v-2035582e vue-ref" bind:__l="__l"></u-toast></view>