detail.wxml 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <!-- 头部 样式使用list样式 -->
  2. <view class="setclient-list-item" url="#">
  3. <view class="con">
  4. <view class="portrait {{detail.enterprisename <=2?'min-portrait':''}}">{{handle.getName(detail.enterprisename)}}</view>
  5. <view class="mian">
  6. <view class="label line-1">{{detail.enterprisename}}</view>
  7. <view class="tag-box">
  8. <Yl-tags id="Tags" add ownertable='sa_customers' bind:onGetList='onGetList' ownerid='{{detail.sa_customersid}}' />
  9. </view>
  10. </view>
  11. <view class="extend">
  12. <!-- <Info /> -->
  13. </view>
  14. </view>
  15. </view>
  16. <!-- 简介 -->
  17. <Yl_Detail list="{{briefs}}" />
  18. <view style="height: 20rpx;" />
  19. <!-- 功能 -->
  20. <Yl_FunTabs list='{{tabsList}}' active='{{tabsActive}}' bind:onChenge="tabsChange">
  21. <Trace slot='跟进动态' id='Trace' ownertable='sa_customers' ownerid='{{sa_customersid}}' ownerid1='{{detail.sys_enterpriseid}}' />
  22. <Preview slot='详细信息' list1='{{list1}}' list2='{{list2}}' />
  23. <Work slot='任务' id='Work' ownertable='sa_customers' ownerid='{{detail.sa_customersid}}' disabled="{{isAdmin}}" />
  24. <Address slot='客户地址' id='Address' disabled="{{per.query(options,'address')||isAdmin}}" />
  25. <Contacts slot='联系人' id='Contacts' disabled="{{per.query(options,'contact')||isAdmin}}" path='/packageA/setclient/modules/contacts/quickly/index' enterprisename='{{detail.enterprisename}}' />
  26. <Project slot='项目商机' id="Project" />
  27. <Clue slot='关联线索' id='Clue' disabled="{{false}}" />
  28. <Offers slot='报价单' id='Offers' disabled="{{per.query(options,'offer')||isAdmin||isLeader}}" />
  29. <Contract slot='合同' id='Contract' />
  30. <Account slot='账户余额' id='Account' />
  31. <Bankcard slot='银行卡信息' id="Bankcard" />
  32. <Financing slot='开票信息' id="Financing" disabled="{{per.query(options,'invoice')||isAdmin}}" />
  33. <Record slot="操作" id="Record" ownertable='sa_customers' ownerid='{{detail.sa_customersid}}' />
  34. <Files slot="附件" id="Files" ownertable='sa_customers' ownerid='{{detail.sa_customersid}}' />
  35. <view style="height: 140rpx;" />
  36. </Yl_FunTabs>
  37. <!-- 底部 -->
  38. <Yl_Tabbar list='{{tabbarList}}' bind:callback="tabbarOnClick" />
  39. <!-- 处理四字 -->
  40. <wxs module="handle">
  41. module.exports.getName = function (name) {
  42. return name.substring(0, 4)
  43. };
  44. </wxs>
  45. <wxs src='../../utils/wxmlQueryPer.wxs' module="per" />
  46. <!-- 查重 -->
  47. <van-popup show="{{ repetitionShow }}" custom-class='popup' round position="bottom" custom-style="height: 100%;" bind:close="repClose">
  48. <view class="title">
  49. 查重
  50. <van-icon custom-class='icon' size='40rpx' name="cross" bindtap="repClose" />
  51. </view>
  52. <navigator url="#" class="enterprise" wx:for="{{repetitionList}}" wx:key="sys_enterpriseid" data-item="{{item}}" bindtap="toRepDetail">
  53. <view class="enterprise_title">{{item.enterprisename||" --"}}</view>
  54. <view class="tag-box">
  55. <van-tag custom-class='tag' wx:for="{{item.tag_sys}}" wx:key="index" wx:for-item='tag' color='#3874f6' text-color='#fff' round>{{tag}}</van-tag>
  56. <van-tag custom-class='tag' wx:for="{{item.tag}}" wx:key="index" wx:for-item='tag' color='#FA8C16' text-color='#fff' round>{{tag}}</van-tag>
  57. </view>
  58. <view class="exp">客户地址:{{item.address||" --"}}</view>
  59. <view class="exp">企业税号:{{item.taxno||" --"}}</view>
  60. <view class="exp">客户类型:{{item.type||" --"}}</view>
  61. <view class="exp">负责人:{{item.leader[0].name||" --"}}</view>
  62. <view class="exp">手机号:{{item.phonenumber||" --"}}</view>
  63. <view class="exp">成交状态:{{item.tradingstatus||" --"}}</view>
  64. <view class="exp">最近跟进时间:{{item.followdate||" --"}}</view>
  65. </navigator>
  66. </van-popup>