addAndEditor.wxml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 style="height: 160rpx;" />
  4. <view class="new-footer" style="padding-bottom:12rpx;">
  5. <van-button custom-class='new-submit query' disabled='{{countDown || disabled}}' bindclick='queryRepetition'>
  6. {{countDown?countDown+'S':(language['查重']||'查重')}}</van-button>
  7. <van-button custom-class='new-submit' disabled='{{disabled ||loading}}' loading='{{loading}}' bindclick='submit'>
  8. {{language['提交']||'提交'}}</van-button>
  9. </view>
  10. <!-- 查重 -->
  11. <van-popup show="{{ repetitionShow }}" custom-class='popup' round position="bottom" custom-style="height: 100%;"
  12. bind:close="repClose">
  13. <view class="title">
  14. {{language['查重']||'查重'}}
  15. <van-icon custom-class='icon' size='40rpx' name="cross" bindtap="repClose" />
  16. </view>
  17. <navigator url="#" class="enterprise" wx:for="{{repetitionList}}" wx:key="sys_enterpriseid" data-item="{{item}}"
  18. bindtap="toRepDetail">
  19. <view class="enterprise_title" style="color: {{item.chars['enterprisename'] ? 'red' : '#666666'}}">
  20. {{item.enterprisename||" --"}}</view>
  21. <view class="tag-box">
  22. <van-tag custom-class='tag' wx:for="{{item.tag_sys}}" wx:key="index" wx:for-item='tag' color='#3874f6'
  23. text-color='#fff' round>{{language[tag]||tag}}</van-tag>
  24. <van-tag custom-class='tag' wx:for="{{item.tag}}" wx:key="index" wx:for-item='tag' color='#FA8C16'
  25. text-color='#fff' round>{{language[tag]||tag}}</van-tag>
  26. </view>
  27. <view class="exp" style="color: {{item.chars['address'] ? 'red' : '#666666'}}">
  28. {{language['客户地址']||'客户地址'}}:{{item.address||" --"}}</view>
  29. <view class="exp" style="color: {{item.chars['taxno'] ? 'red' : '#666666'}}">
  30. {{language['企业税号']||'企业税号'}}:{{item.taxno||" --"}}</view>
  31. <view class="exp" style="color: {{item.chars['type'] ? 'red' : '#666666'}}">
  32. {{language['医院类型']||'医院类型'}}:{{item.type||" --"}}</view>
  33. <view class="exp" style="color: {{item.chars['leader'] ? 'red' : '#666666'}}">
  34. {{language['负责人']||'负责人'}}:{{item.leader[0].name||" --"}}</view>
  35. <view class="exp" style="color: {{item.chars['phonenumber'] ? 'red' : '#666666'}}">
  36. {{language['手机号']||'手机号'}}:{{item.phonenumber||" --"}}</view>
  37. <view class="exp" style="color: {{item.chars['tradingstatus'] ? 'red' : '#666666'}}">
  38. {{language['成交状态']||'成交状态'}}:{{item.tradingstatus||" --"}}</view>
  39. <view class="exp" style="color: {{item.chars['followdate'] ? 'red' : '#666666'}}">
  40. {{language['最近跟进时间']||'最近跟进时间'}}:{{item.followdate||" --"}}</view>
  41. <view class="exp" style="color: {{item.chars['systemapp'] ? 'red' : '#666666'}}">
  42. {{language['归属应用']||'归属应用'}}:{{item.systemapp||" --"}}
  43. <block wx:if="{{item.systemapp=='回收站'}}">
  44. <icon style="padding-left:10rpx;" type="warn" size="11" color='red' />
  45. <text
  46. style="color: red;margin-left: 2rpx;">{{language['当前重复客户归属回收站,请联系管理处理!']||'当前重复客户归属回收站,请联系管理处理!'}}</text>
  47. </block>
  48. </view>
  49. </navigator>
  50. </van-popup>