index.wxml 4.7 KB

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