addAndEditor.wxml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <Yl_Headline title='基本信息' type='switch' switchLabel='仅显示必填信息' switch='{{showAll}}' bind:callBack='onChange' />
  2. <Yl_field id='Form' form='{{form}}' showAll='{{!showAll}}' bind:onConfirm='onConfirm' bind:interrupt='interrupt'>
  3. <view slot='info'>
  4. <information id="Info" catch:queryClient='queryClient' catch:callback='introduce' />
  5. </view>
  6. <view slot='TXL'>
  7. <view class="info" catchtap="openContacts">{{language['通讯录']||'通讯录'}}</view>
  8. </view>
  9. </Yl_field>
  10. <view style="height: 160rpx;" />
  11. <view class="new-footer" style="padding-bottom:12rpx;">
  12. <van-button custom-class='new-submit query' disabled='{{countDown || disabled}}' bindclick='queryRepetition'>{{countDown?countDown+'S':(language['查重']||'查重')}}</van-button>
  13. <van-button custom-class='new-submit' disabled='{{disabled ||loading}}' loading='{{loading}}' bindclick='submit'>{{language['提交']||'提交'}}</van-button>
  14. </view>
  15. <!-- 查重 -->
  16. <van-popup show="{{ repetitionShow }}" custom-class='popup' round position="bottom" custom-style="height: 100%;" bind:close="repClose">
  17. <view class="title">
  18. {{language['查重']||'查重'}}
  19. <van-icon custom-class='icon' size='40rpx' name="cross" bindtap="repClose" />
  20. </view>
  21. <navigator url="#" class="enterprise" wx:for="{{repetitionList}}" wx:key="sys_enterpriseid" data-item="{{item}}" bindtap="toRepDetail">
  22. <view class="enterprise_title">{{item.enterprisename||" --"}}</view>
  23. <view class="tag-box">
  24. <van-tag custom-class='tag' wx:for="{{item.tag_sys}}" wx:key="index" wx:for-item='tag' color='#3874f6' text-color='#fff' round>{{language[tag]||tag}}</van-tag>
  25. <van-tag custom-class='tag' wx:for="{{item.tag}}" wx:key="index" wx:for-item='tag' color='#FA8C16' text-color='#fff' round>{{language[tag]||tag}}</van-tag>
  26. </view>
  27. <view class="exp">{{language['客户地址']||'客户地址'}}:{{item.address||" --"}}</view>
  28. <view class="exp">{{language['企业税号']||'企业税号'}}:{{item.taxno||" --"}}</view>
  29. <view class="exp">{{language['客户类型']||'客户类型'}}:{{item.type||" --"}}</view>
  30. <view class="exp">{{language['负责人']||'负责人'}}:{{item.leader[0].name||" --"}}</view>
  31. <view class="exp">{{language['手机号']||'手机号'}}:{{item.phonenumber||" --"}}</view>
  32. <view class="exp">{{language['成交状态']||'成交状态'}}:{{item.tradingstatus||" --"}}</view>
  33. <view class="exp">{{language['最近跟进时间']||'最近跟进时间'}}:{{item.followdate||" --"}}</view>
  34. <view class="exp">{{language['归属应用']||'归属应用'}}:{{item.systemapp||" --"}}
  35. <block wx:if="{{item.systemapp=='回收站'}}">
  36. <icon style="padding-left:10rpx;" type="warn" size="11" color='red' />
  37. <text style="color: red;margin-left: 2rpx;">{{language['当前重复客户归属回收站,请联系管理处理!']||'当前重复客户归属回收站,请联系管理处理!'}}</text>
  38. </block>
  39. </view>
  40. </navigator>
  41. </van-popup>