crm_second_opening_mini/pagesA/crm/createCustomer/createCustomer.wxml

1 line
4.2 KiB
Plaintext
Raw Normal View History

2023-03-13 01:13:08 +00:00
<view class="create_customer data-v-ad35fd3e"><view class="top_required data-v-ad35fd3e">只展示<label style="color:#f00;" class="_span data-v-ad35fd3e">必填</label>字段<switch checked="{{isRequired}}" color="#03AA96" data-event-opts="{{[['change',[['changeRequired',['$event']]]]]}}" bindchange="__e" class="data-v-ad35fd3e"></switch></view><view class="fllow_form data-v-ad35fd3e"><input class="{{['nameinput','data-v-ad35fd3e',name?'valueActive':'']}}" type="text" placeholder="输入客户名称" data-event-opts="{{[['input',[['__set_model',['','name','$event',[]]]]]]}}" value="{{name}}" bindinput="__e"/><view class="form_right theme data-v-ad35fd3e"><image style="width:40rpx;height:40rpx;margin:0 20rpx 0 30rpx;" src="{{BASE_IMG_URL+'chachong.png'}}" mode="scaleToFill" class="data-v-ad35fd3e"></image><view data-event-opts="{{[['tap',[['checkName',['$event']]]]]}}" style="color:#03AA96;" bindtap="__e" class="data-v-ad35fd3e">查重</view></view></view><view class="info_head data-v-ad35fd3e">基础信息</view><block wx:if="{{!isRequired}}"><view class="fllow_form data-v-ad35fd3e"><view style="padding-left:20rpx;" class="data-v-ad35fd3e">上级公司</view><view data-event-opts="{{[['tap',[['changeParent',['$event']]]]]}}" class="form_right data-v-ad35fd3e" bindtap="__e"><view class="{{['data-v-ad35fd3e',parentName?'valueActive':'']}}">{{parentName?parentName:'点击选择'}}</view><view class="iconfont icon-arrows_right data-v-ad35fd3e"></view></view></view></block><view class="fllow_form data-v-ad35fd3e"><view class="data-v-ad35fd3e"><text class="data-v-ad35fd3e">*</text>地理位置</view><view data-event-opts="{{[['tap',[['detailAddClick',['$event']]]]]}}" class="form_right data-v-ad35fd3e" bindtap="__e"><view class="{{['location','data-v-ad35fd3e',address_dingwei?'valueActive':'']}}">{{''+(address_dingwei?address_dingwei:'点击选择')+''}}</view><view class="iconfont icon-arrows_right data-v-ad35fd3e"></view></view></view><view class="fllow_form_text data-v-ad35fd3e"><view style="flex-shrink:0;" class="data-v-ad35fd3e"><text class="data-v-ad35fd3e">*</text>详细地址</view><view class="form_right data-v-ad35fd3e"><textarea class="{{['detailText','data-v-ad35fd3e',address_detail?'valueActive':'']}}" placeholder="填写详细地址" placeholder-style="font-size:30rpx;color: #999;" data-event-opts="{{[['input',[['__set_model',['','address_detail','$event',[]]]]]]}}" value="{{address_detail}}" bindinput="__e"></textarea></view></view><block wx:for="{{listForm}}" wx:for-item="item" wx:for-index="index" wx:key="index"><form-item vue-id="{{'e132d9e8-1-'+index}}" isNotRequired="{{isRequired}}" objInfo="{{item}}" data-event-opts="{{[['^changeData',[['changeData']]]]}}" bind:changeData="__e" class="data-v-ad35fd3e" bind:__l="__l"></form-item></block><block wx:if="{{isAddContact}}"><view class="data-v-ad35fd3e"><view class="info_head data-v-ad35fd3e">联系人信息</view><block wx:for="{{contactsForm}}" wx:for-item="citem" wx:for-index="cindex" wx:key="cindex"><form-item vue-id="{{'e132d9e8-2-'+cindex}}" isNotRequired="{{isRequired}}" objInfo="{{citem}}" data-event-opts="{{[['^changeData',[['changeContactData']]]]}}" bind:changeData="__e" class="data-v-ad35fd3e" bind:__l="__l"></form-item></block></view></block><examine-template vue-id="e132d9e8-3" flag="{{false}}" remindPeople="{{remindPeople}}" title="提醒谁看" data-event-opts="{{[['^delExamine',[['delRemind']]]]}}" bind:delExamine="__e" class="data-v-ad35fd3e" bind:__l="__l"></examine-template><view class="btn_g bg-blue button-hover round data-v-ad35fd3e" id="btn" data-event-opts="{{[['tap',[['$noMultipleClicks',['$0'],['subSave']]]]]}}" bindtap="__e">保存</view><view class="safebottom data-v-ad35fd3e"></view><u-select vue-id="e132d9e8-4" mode="mutil-column-auto" value-name="code" label-name="name" child-name="children" list="{{addressList}}" value="{{show}}" data-event-opts="{{[['^confirm',[['confirm']]],['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" class="data-v-ad35fd3e" bind:__l="__l"></u-select><select-custo