index.wxml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <view class="head">
  2. <view class="title">
  3. {{language['跟进记录']||'跟进记录'}}
  4. </view>
  5. <block wx:if="{{content.ownertable!='sat_orderclue'}}">
  6. <view class="row">
  7. {{language['跟进类型']||'跟进类型'}}:{{detail.type || ' --'}}
  8. </view>
  9. <view class="row">
  10. {{language['跟进时间']||'跟进时间'}}:{{detail.createdate ||' --'}}
  11. </view>
  12. <view class="row">
  13. {{language['目的']||'目的'}}:{{detail.target ||' --'}}
  14. </view>
  15. <view class="row">
  16. {{language['过程']||'过程'}}:{{detail.content ||' --'}}
  17. </view>
  18. <view class="row">
  19. {{language['结果']||'结果'}}:{{detail.results ||' --'}}
  20. </view>
  21. <view class="row">
  22. {{language['下次跟进计划']||'下次跟进计划'}}:{{detail.nextplan ||' --'}}
  23. </view>
  24. </block>
  25. <block wx:else>
  26. <view class="row">
  27. {{language['跟进类型']||'跟进类型'}}:{{detail.followupmode}}
  28. </view>
  29. <view class="row" wx:if="{{detail.content}}">
  30. {{detail.content}}
  31. </view>
  32. </block>
  33. <view class="amount">{{language['营销费用']||'营销费用'}}:<text>{{detail.showsalesfeesamount}}</text></view>
  34. </view>
  35. <view class="search">
  36. <view class="label">
  37. {{language['费用明细']||'费用明细'}}
  38. </view>
  39. <view class="box">
  40. <van-search custom-class='custom-class' value="{{ content.where.condition }}" background='#F4F5F7' shape="round" placeholder="{{language['关键字']||'请输入搜索关键词'}}" bind:search='startSearch' bind:clear='startSearch' />
  41. </view>
  42. </view>
  43. <Yl_ListBox id='ListBox' bind:getlist='getList'>
  44. <view class="item" wx:for="{{list}}" wx:key="sa_hrcashbilldetailid">
  45. <view class="title">{{item.billno}}</view>
  46. <view class="row two-lines">
  47. <view class="left">
  48. {{language['业务员']||'业务员'}}:{{item.name}}
  49. </view>
  50. <view>
  51. {{language['部门']||'部门'}}:{{language[item.depname]||item.depname}}
  52. </view>
  53. </view>
  54. <view class="row">
  55. {{language['费用类型']||'费用类型'}}:{{item.feestypefullname || '--'}}
  56. </view>
  57. <view class="row">
  58. {{language['客户名称']||'客户名称'}}:{{item.enterprisename || '--'}}
  59. </view>
  60. <view class="row">
  61. {{language['项目名称']||'项目名称'}}:{{item.projectname || '--'}}
  62. </view>
  63. <view class="row">
  64. {{language['联系人']||'联系人'}}:{{item.names || '--'}}
  65. </view>
  66. <view class="bottom">
  67. <view>
  68. {{language['营销费用']||'营销费用'}}:<text class="price">{{item.showAmount}}</text>
  69. </view>
  70. <view wx:if="{{userid == detail.createuserid}}">
  71. <text class="iconfont icon-dibu-bianji" data-item="{{item}}" bind:tap="editItem" />
  72. <text class="iconfont icon-guanlian-shanchu" data-item="{{item}}" bind:tap="deleteItem" />
  73. </view>
  74. </view>
  75. </view>
  76. <view style="height: 60px;" wx:if="{{userid == detail.createuserid}}" />
  77. <My_Empty wx:if="{{list.length === 0}}" />
  78. </Yl_ListBox>
  79. <view class="footer" wx:if="{{userid == detail.createuserid}}">
  80. <van-button custom-class='button-class' bind:click='toInsertion'>{{language['新增营销费用']||'新增营销费用'}}</van-button>
  81. </view>