index.wxml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <view class="{{stopClick}}">
  2. <view class="title colorInfo">
  3. 单据信息
  4. </view>
  5. <t-cell title="服务单号" note="{{mainData.workorder.servicebillno}}" hover />
  6. <t-cell title="确认日期" note="{{mainData.workorder.createdate}}" hover />
  7. <view class="title colorInfo">
  8. 服务信息
  9. </view>
  10. <t-cell title="服务分类" note="{{mainData.workorder.servicetype}}" hover />
  11. <t-cell title="应用系统" note="{{mainData.workorder.class1}}" hover />
  12. <t-cell title="客诉大类" note="{{mainData.workorder.class2}}" hover />
  13. <t-cell title="工单负责人" note="{{mainData.workorder.projectleader}}" hover />
  14. <t-cell title="项目名称" note="{{mainData.workorder.projectname}}" hover />
  15. <t-cell title="业务员" note="{{mainData.workorder.saler_name}}" hover />
  16. <t-cell title="服务企业" note="{{mainData.workorder.enterprisename}}" hover />
  17. <view class="title colorInfo">
  18. 现场联系人信息
  19. </view>
  20. <t-cell title="姓名" note="{{mainData.workorder.scenecontact}}" hover />
  21. <t-cell title="电话" note="{{mainData.workorder.scenecontactphonenumber}}" hover />
  22. <t-cell title="地址" note="{{mainData.workorder.address}}" hover />
  23. <view class="title colorInfo">
  24. 产品
  25. </view>
  26. <t-tabs defaultValue="{{1}}" t-class="custom-tabs">
  27. <t-tab-panel label="产品信息" value="1">
  28. <view class="panel">
  29. <card style="margin-top:10px" wx:for="{{mainData.trainertitems}}" wx:key="itemid">
  30. <product-card style="flex:1" slot="content" data="{{item}}" changeQty="{{false}}" bind:delete="deleteMaterial" bind:input="qtyChange"></product-card>
  31. </card>
  32. <view class="flex-align-center flex-around panel">
  33. <t-button size="extra-small" variant="primary" bind:tap="addProduct">添加产品</t-button>
  34. </view>
  35. </view>
  36. </t-tab-panel>
  37. </t-tabs>
  38. <view class="title colorInfo">
  39. 客诉情况
  40. </view>
  41. <t-textarea style="margin-bottom:1px" label="客诉内容" value="{{mainData.workorder.reason}}" bind:blur="inputChange" t-class="external-class" placeholder="请输入客诉内容" disableDefaultPadding="{{true}}" autosize />
  42. <view class="title colorInfo">
  43. 维修信息确认
  44. </view>
  45. <t-cell title="是否需要拆卸配件或整拆" note="{{node1}}" hover />
  46. <t-textarea style="margin-bottom:1px" label="维修方案及周期" value="{{node2}}" data-name="与现场协商确认维修方案" bind:blur="inputChange" t-class="external-class" placeholder="维修方案" disableDefaultPadding="{{true}}" autosize />
  47. <t-cell title="是否有偿服务" note="{{paidServiceAmount > 0?(language['是']||'是'):(language['否']||'否')}}" hover />
  48. <t-cell title="服务金额" note="{{paidServiceAmount}}" hover />
  49. <t-textarea style="margin-bottom:1px" label="实施内容" value="{{node3}}" data-name="实施内容" bind:blur="inputChange" t-class="external-class" placeholder="实施内容" disableDefaultPadding="{{true}}" autosize />
  50. <t-textarea style="margin-bottom:1px" label="服务测试内容描述" value="{{node4}}" data-name="与现场协商试运行" bind:blur="inputChange" t-class="external-class" placeholder="服务测试内容描述" disableDefaultPadding="{{true}}" autosize />
  51. <t-textarea style="margin-bottom:1px" label="现场交代事项" value="{{node5}}" data-name="现场交代事项" bind:blur="inputChange" t-class="external-class" placeholder="现场交代事项" disableDefaultPadding="{{true}}" autosize />
  52. <view class="title colorInfo">
  53. 评价
  54. </view>
  55. <view class="demo-rate">
  56. <view class="demo-rate__title">反应速度</view>
  57. <!-- 实心评分,设置属性:variant-->
  58. <t-rate value="{{mainData.responsescore}}" data-name="responsescore" variant="filled" bind:change="onChange" />
  59. </view>
  60. <view class="demo-rate">
  61. <view class="demo-rate__title">配合态度</view>
  62. <!-- 实心评分,设置属性:variant-->
  63. <t-rate value="{{mainData.attitudescore}}" data-name="attitudescore" variant="filled" bind:change="onChange" />
  64. </view>
  65. <view class="title colorInfo">
  66. 客户签字
  67. </view>
  68. <card>
  69. <view style="flex:1" slot="content">
  70. <!-- <upload id="upload"></upload> -->
  71. <sign-name wx:if="{{SignName}}" bindData="{{bindSignNameData}}"></sign-name>
  72. </view>
  73. </card>
  74. </view>
  75. <view style="height: 130rpx;" />
  76. <view class="footer">
  77. <view class="count">
  78. </view>
  79. <view class="but-box">
  80. <van-button custom-class='but' wx:if="{{mainData.status == '新建'}}" bind:click="createImage">单据预览</van-button>
  81. <van-button custom-class='but' wx:else bind:click="checkImage">查看单据</van-button>
  82. <van-button custom-class='but delete' wx:if="{{mainData.status == '新建'}}" bind:click="delete">删 除</van-button>
  83. <van-button custom-class='but' wx:if="{{mainData.status == '新建'}}" bind:click="submit">提 交</van-button>
  84. </view>
  85. </view>