detail.wxml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <view class="top">服务单详情</view>
  2. <view class="book-title">服务单信息</view>
  3. <view class="content">
  4. <view class="row">
  5. <view class="title">工单编号:</view>
  6. <view class="value">{{bookNo}}</view>
  7. </view>
  8. <view class="row">
  9. <view class="title">服务时间:</view>
  10. <view class="value">{{book.bookTime}}</view>
  11. </view>
  12. <!-- <view class="row">
  13. <view class="title">客户姓名:</view>
  14. <view class="value">{{book.userName}}</view>
  15. </view> -->
  16. <view class="row">
  17. <text class="title">服务地址:</text>
  18. <view class="value">{{book.address}}</view>
  19. </view>
  20. <view class="row">
  21. <view class="title">服务商品:</view>
  22. <view class="value">{{book.goodsName}}</view>
  23. </view>
  24. <view class="row">
  25. <view class="title">套餐信息:</view>
  26. <view class="value" style="color: #09AFFF;font-size: 32rpx;">总次数:{{book.total}} 已服务次数:{{book.completed}}</view>
  27. </view>
  28. <view class="row">
  29. <view class="title">下次服务时间:</view>
  30. <view class="value" style="font-size: 30rpx;">{{book.nextBookTime}}</view>
  31. </view>
  32. <view class="order-item-operate">
  33. <view class="order-item-result"></view>
  34. <view class="order-operate-wrapper">
  35. <view catchtap="goProblemAdd" data-id='{{bookNo}}'>问题报备</view>
  36. </view>
  37. </view>
  38. </view>
  39. <view class="book-title">客户信息</view>
  40. <view class="content">
  41. <view class="row">
  42. <view class="title">客户姓名:</view>
  43. <view class="value">
  44. {{book.userName}}<span class="marker" wx:for="{{book.cusLeave}}" wx:key="item">{{item.type}}{{item.cusType}}</span>
  45. </view>
  46. </view>
  47. <view class="row">
  48. <view class="title">剩余服务:</view>
  49. <view style="display: flex;flex-direction: column;">
  50. <view class="value" wx:for="{{book.cusLeave}}" wx:key="item">
  51. <view>{{item.type}}: {{item.total}}次</view>
  52. </view>
  53. </view>
  54. </view>
  55. </view>
  56. <view class="book-title">客户标签</view>
  57. <view class="content">
  58. <view class="row" wx:if="{{book.profiles!=null&&book.profiles.length>0}}" wx:for="{{book.profiles}}" wx:key="index">
  59. <view class="title">
  60. <view class="pie"></view>
  61. </view>
  62. <view class="value">
  63. {{item}}
  64. </view>
  65. </view>
  66. <view wx:if="{{book.profiles==null||book.profiles.length<=0}}" class="row">
  67. <view class="value"> 无
  68. </view>
  69. </view>
  70. </view>
  71. <view class="book-title">预采信息</view>
  72. <view class="content">
  73. <view class="row">
  74. <view class="title">预采时间:</view>
  75. <view class="value">
  76. {{book.preTime?book.preTime:'无'}}
  77. </view>
  78. </view>
  79. <view class="row">
  80. <view class="title">预采内容:</view>
  81. <view class="value">
  82. {{book.preContent?book.preContent:'无'}}
  83. </view>
  84. </view>
  85. </view>