insert.wxml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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'>{{countDown?countDown+'S':(language['查重']||'查重')}}</van-button>
  6. <van-button custom-class="new-submit {{content.sa_customersid ? 'orange' : 'blue' }}" disabled='{{disabled ||loading}}' loading='{{loading}}' bindclick='submit'>
  7. {{content.sa_customersid ? '保存' : '确定'}}
  8. </van-button>
  9. </view>
  10. <!-- 查重 -->
  11. <van-popup show="{{ repetitionShow }}" custom-class='popup' round position="bottom" custom-style="height: 100%;" bind:close="repClose">
  12. <view class="title">
  13. {{language['查重']||'查重'}}
  14. <van-icon custom-class='icon' size='40rpx' name="cross" bindtap="repClose" />
  15. </view>
  16. <navigator url="#" class="enterprise" wx:for="{{repetitionList}}" wx:key="sys_enterpriseid" data-item="{{item}}" bindtap="toRepDetail">
  17. <view class="enterprise_title" style="color: {{item.chars['enterprisename'] ? 'red' : '#666666'}}">{{item.enterprisename||" --"}}</view>
  18. <view class="tag-box">
  19. <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>
  20. <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>
  21. </view>
  22. <view class="exp" style="color: {{item.chars['billno'] ? 'red' : '#666666'}}">医院编号:{{item.billno||" --"}}</view>
  23. <view class="exp" style="color: {{item.chars['province'] ||item.chars['city'] ||item.chars['county'] ? 'red' : '#666666'}}">省市县:{{(item.province + item.city +item.county) || ' --' }}</view>
  24. <view class="exp" style="color: {{item.chars['grade'] ? 'red' : '#666666'}}">医院等级:{{item.grade||" --"}}</view>
  25. <view class="exp" style="color: {{item.chars['totalop'] ? 'red' : '#666666'}}">预估手术总量:{{item.totalop||" --"}}</view>
  26. <view class="exp">开发状态:<text style="color: {{sColors[item.status]}}" F>{{item.status||" --"}}</text></view>
  27. <view class="exp">成交状态:<text style="color: {{sColors[item.tradingstatus]}}">{{item.tradingstatus||" --"}}</text></view>
  28. <view class="exp" style="color: {{item.chars['name'] ? 'red' : '#666666'}}">负责人:{{item.leader[0].name||" --"}}</view>
  29. <view class="exp" style="color: {{item.chars['areaname'] ? 'red' : '#666666'}}">营销区域:{{item.areaname||" --"}}</view>
  30. <block wx:if="{{item.systemapp=='回收站'}}">
  31. <icon style="padding-left:10rpx;" type="warn" size="11" color='red' />
  32. <text style="color: red;margin-left: 2rpx;">{{language['当前重复客户归属回收站,请联系管理处理!']||'当前重复客户归属回收站,请联系管理处理!'}}</text>
  33. </block>
  34. </navigator>
  35. </van-popup>