detail.wxml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <wxs src='../../../../utils/wxmlUtil.wxs' module="wxmlUtil"></wxs>
  2. <!-- 单据信息 -->
  3. <view class="dk-card-outer-class">
  4. <view class="dk-card-class">
  5. <view>
  6. <view>
  7. <van-field readonly="{{true}}" label="客户名称" data-index="{{index}}" value="{{ item.customerName }}"
  8. input-align="right" maxlength="50" border="{{ false }}" use-button-slot>
  9. </van-field>
  10. <view wx:if="{{item.customerName != '无联系人'}}"
  11. style="display: flex; justify-content: space-between;width: 90%;height: 44px;background-color: white; padding-left: 16px; align-items: center;">
  12. <dk-text fontSize="14px" color="#2E3853" fontWeight="nomal" value="联系电话"
  13. copyValue="{{item.customerPhone?item.customerPhone:''}}"></dk-text>
  14. <view style="font-size: 13px; color: #95A8CB; ">{{item.customerPhone?item.customerPhone:''}}
  15. </view>
  16. </view>
  17. <!-- 客户地址 -->
  18. <view wx:if="{{item.customerName != '无联系人'}}"
  19. style="display: flex; justify-content: space-between;width: 90%;height: 44px;background-color: white; padding-left: 16px; align-items: center;">
  20. <view style="">
  21. <dk-text fontSize="14px" color="#2E3853" fontWeight="nomal" value="客户地址" class="inputStyle"
  22. copyValue="{{ wxmlUtil.addressFullIsUndefined(item.addressFull)}}"></dk-text>
  23. </view>
  24. <view style="font-size: 13px; color: #95A8CB; text-align:right;">{{wxmlUtil.addressToIndexOf(item.addressFull?item.addressFull:'')}}</view>
  25. </view>
  26. <!-- <van-field value="{{ item.addressNo }}" readonly="{{ true }}" input-align="right" label="门牌号" autosize
  27. border="{{ false }}" use-button-slot>
  28. </van-field> -->
  29. <van-cell wx:if="{{item.customerName != '无联系人'}}" is-link border="{{ false }}" title-width="180rpx" title="客户意向" value="{{item.intentionName }}" />
  30. <view wx:if="{{item.CustomerIntentionsName == '已流失'}}">
  31. <van-field value="{{ item.CustomerIntentionsName }}" input-align="left" label="竞品品牌" autosize
  32. border="{{ false }}">
  33. </van-field>
  34. </view>
  35. <!-- 手风琴,复选框输入 showOtherFlag :是否显示其他分类 showFieldFlag:是否显示输入框
  36. disabledFlag:输入框是否输入 checkboxClinkFlag:box能否点动-->
  37. <dk-accordion-box wx:if="{{item.customerName != '无联系人'}}" titleName="意向品类" dataList="{{specsList}}" showOtherFlag="{{true}}" showFieldFlag="{{true}}"
  38. disabledFlag="{{true}}" checkboxClinkFlag="{{false}}"> </dk-accordion-box>
  39. </view>
  40. <van-field rows="5" autosize label="跟进内容" value="{{ item.followData }}" input-class="input-class" type="textarea"
  41. maxlength="1000" readonly="{{true}}" border="{{false}}">
  42. </van-field>
  43. <van-field wx:if="{{item.customerName != '无联系人'}}" rows="5" autosize label="下次跟进计划" value="{{ item.nextFollowPlan?item.nextFollowPlan:'' }}"
  44. type="textarea" maxlength="1000" input-class="input-class" readonly="{{true}}"
  45. border="{{false}}" />
  46. <van-cell wx:if="{{item.customerName != '无联系人'}}" is-link value-class="PickDate_Month" title-width="29%" border="{{ false }}" title="提醒时间"
  47. value="{{item.nextFollowTime?item.nextFollowTime:'' }}" />
  48. <van-cell wx:if="{{item.stayTimeLen}}" is-link border="{{ false }}" title-width="180rpx" title="留店时长" value="{{ item.stayTimeLen }}" is-link />
  49. <!-- 图片 -->
  50. <view style="padding:19px;display:flex;background: white;">
  51. <view>
  52. <view style="font-size:14px;color: #95A8CB; margin-bottom: 10px;">
  53. 图片
  54. </view>
  55. <van-uploader file-list="{{ fileList }}" disabled="{{true}}" deletable="{{false}}" show-upload="{{false}}">
  56. </van-uploader>
  57. </view>
  58. </view>
  59. <view style="height: 7vw;"></view>
  60. </view>
  61. </view>
  62. </view>
  63. <view style="height: 249rpx;"></view>
  64. <view class="bottom-class-1" >
  65. <view style="background:#fff;position:fixed;bottom:0;width:100%;z-index:2;margin-bottom: 45rpx;">
  66. <view style="display:flex;justify-content: space-around;width:100%;">
  67. <view style="width:100%;height:80rpx; text-align: center;">
  68. <van-button color="#1B365D" custom-style="height:80rpx;width:90%;border-radius: 15rpx;" loading="{{loading}}" bind:click="toEdit"type="info">编辑
  69. </van-button>
  70. </view>
  71. </view>
  72. </view>
  73. </view>