index.wxml 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <!--pages/trainConfirmBill/index.wxml-->
  2. <view class="{{stopClick}}">
  3. <view class="title colorInfo">
  4. {{language['单据信息']||'单据信息'}}
  5. </view>
  6. <t-cell title="{{language['服务单号']||'服务单号'}}" note="{{mainData.workorder.servicebillno}}" hover />
  7. <t-cell title="{{language['项目名称']||'项目名称'}}" note="{{mainData.workorder.projectname}}" hover />
  8. <t-cell title="{{language['是否有偿服务']||'是否有偿服务'}}" note="{{paidServiceAmount > 0?(language['是']||'是'):(language['否']||'否')}}" hover />
  9. <t-cell title="是否质保期内" note="{{inqualityguaranteeperiod ==1 ?(language['是']||'是'):(language['否']||'否')}}" hover />
  10. <t-cell title="申请原因" note="{{mainData.reason}}" hover />
  11. <view class="title colorInfo">
  12. {{language['客户信息']||'客户信息'}}
  13. </view>
  14. <t-cell title="{{language['联系企业']||'联系企业'}}" note="{{mainData.workorder.abbreviation}}" hover />
  15. <t-cell title="{{language['联系方式']||'联系方式'}}" note="{{mainData.workorder.scenecontactphonenumber}}" hover />
  16. <t-cell title="{{language['地址']||'地址'}}" note="{{mainData.workorder.province + mainData.workorder.city + mainData.workorder.county + mainData.workorder.address}}" hover />
  17. <view class="title colorInfo">
  18. {{language['应用信息']||'应用信息'}}
  19. </view>
  20. <t-cell title="{{language['应用系统']||'应用系统'}}" note="{{mainData.workorder.class1}}" hover />
  21. <t-cell title="{{language['客诉大类']||'客诉大类'}}" note="{{mainData.workorder.class2}}" hover />
  22. <t-cell title="{{language['服务方式']||'服务方式'}}" note="{{mainData.workorder.type}}" hover />
  23. <view class="title colorInfo" wx:if="{{mainData.trainertitems.length}}">
  24. {{language['产品']||'产品'}}
  25. </view>
  26. <card style="margin-top:10px" wx:for="{{mainData.trainertitems}}" wx:key="itemid">
  27. <product-card model='3' style="flex:1" slot="content" data="{{item}}" changeQty="{{false}}" />
  28. </card>
  29. <view class="title colorInfo">
  30. {{language['评价']||'评价'}}
  31. </view>
  32. <view class="demo-rate">
  33. <view class="demo-rate__title">{{language['反应速度']||'反应速度'}}</view>
  34. <!-- 实心评分,设置属性:variant-->
  35. <t-rate value="{{mainData.responsescore}}" data-name="responsescore" variant="filled" bind:change="onChange" />
  36. </view>
  37. <view class="demo-rate">
  38. <view class="demo-rate__title">{{language['配合态度']||'配合态度'}}</view>
  39. <t-rate value="{{mainData.attitudescore}}" data-name="attitudescore" variant="filled" bind:change="onChange" />
  40. </view>
  41. <view class="demo-rate">
  42. <view class="demo-rate__title">{{language['满意态度']||'满意态度'}}</view>
  43. <t-rate value="{{mainData.satisfaction}}" data-name="satisfaction" variant="filled" bind:change="onChange" />
  44. </view>
  45. <view class="title colorInfo">
  46. {{language['客户签字']||'客户签字'}}
  47. </view>
  48. <card>
  49. <view style="flex:1" slot="content">
  50. <!-- <upload id="upload"></upload> -->
  51. <sign-name wx:if="{{SignName}}" bindData="{{bindSignNameData}}"></sign-name>
  52. </view>
  53. </card>
  54. </view>
  55. <view style="height: 150rpx;" />
  56. <view class="footer">
  57. <view class="count">
  58. </view>
  59. <view class="but-box">
  60. <van-button custom-class='but' wx:if="{{mainData.status == '新建'}}" bind:click="createImage">{{language['单据预览']||'单据预览'}}</van-button>
  61. <van-button custom-class='but' wx:else bind:click="checkImage">{{language['查看单据']||'查看单据'}}</van-button>
  62. <van-button custom-class='but delete' wx:if="{{mainData.status == '新建'}}" bind:click="delete">{{language['删除']||'删 除'}}</van-button>
  63. <van-button custom-class='but' wx:if="{{mainData.status == '新建'}}" bind:click="submit">{{language['提交']||'提 交'}}</van-button>
  64. </view>
  65. </view>