index.wxml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <view class="{{stopClick}}">
  2. <view class="title colorInfo">
  3. {{language['单据信息']||'单据信息'}}
  4. </view>
  5. <t-cell title="{{language['服务单号']||'服务单号'}}" note="{{mainData.workorder.servicebillno}}" hover />
  6. <t-cell title="{{language['确认日期']||'确认日期'}}" note="{{mainData.workorder.createdate}}" hover />
  7. <view class="title colorInfo">
  8. {{language['服务信息']||'服务信息'}}
  9. </view>
  10. <t-cell title="{{language['服务分类']||'服务分类'}}" note="{{mainData.workorder.servicetype}}" hover />
  11. <t-cell title="{{language['应用系统']||'应用系统'}}" note="{{mainData.workorder.class1}}" hover />
  12. <t-cell title="{{language['客诉大类']||'客诉大类'}}" note="{{mainData.workorder.class2}}" hover />
  13. <t-cell title="{{language['工单负责人']||'工单负责人'}}" note="{{mainData.workorder.projectleader}}" hover />
  14. <t-cell title="{{language['项目名称']||'项目名称'}}" note="{{mainData.workorder.projectname}}" hover />
  15. <t-cell title="{{language['业务员']||'业务员'}}" note="{{mainData.workorder.saler_name}}" hover />
  16. <t-cell title="{{language['服务企业']||'服务企业'}}" note="{{mainData.workorder.enterprisename}}" hover />
  17. <view class="title colorInfo">
  18. {{language['现场联系人信息']||'现场联系人信息'}}
  19. </view>
  20. <t-cell title="{{language['姓名']||'姓名'}}" note="{{mainData.workorder.scenecontact}}" hover />
  21. <t-cell title="{{language['电话']||'电话'}}" note="{{mainData.workorder.scenecontactphonenumber}}" hover />
  22. <t-cell title="{{language['地址']||'地址'}}" note="{{mainData.workorder.address}}" hover />
  23. <view class="title colorInfo">
  24. {{language['产品']||'产品'}}
  25. </view>
  26. <t-tabs defaultValue="{{1}}" t-class="custom-tabs">
  27. <t-tab-panel label="{{language['产品信息']||'产品信息'}}" 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">{{language['添加产品']||'添加产品'}}</t-button>
  34. </view>
  35. </view>
  36. </t-tab-panel>
  37. </t-tabs>
  38. <view class="title colorInfo">
  39. {{language['客诉情况']||'客诉情况'}}
  40. </view>
  41. <t-textarea style="margin-bottom:1px" label="{{language['客诉内容']||'客诉内容'}}" value="{{mainData.workorder.reason}}" bind:blur="inputChange" t-class="external-class" placeholder="{{language['请输入客诉内容']||'请输入客诉内容'}}"disableDefaultPadding="{{true}}" autosize />
  42. <view class="title colorInfo">
  43. {{language['维修信息确认']||'维修信息确认'}}
  44. </view>
  45. <t-cell title="{{language['是否需要拆卸配件或整拆']||'是否需要拆卸配件或整拆'}}" note="{{node1}}" hover />
  46. <t-textarea style="margin-bottom:1px" label="{{language['维修方案及周期']||'维修方案及周期'}}" value="{{node2}}" data-name="与现场协商确认维修方案" bind:blur="inputChange" t-class="external-class" placeholder="{{language['维修方案']||'维修方案'}}" disableDefaultPadding="{{true}}" autosize />
  47. <t-cell title="{{language['是否有偿服务']||'是否有偿服务'}}" note="{{paidServiceAmount > 0?(language['是']||'是'):(language['否']||'否')}}" hover />
  48. <t-cell title="{{language['服务金额']||'服务金额'}}" note="{{paidServiceAmount}}" hover />
  49. <t-textarea style="margin-bottom:1px" label="{{language['实施内容']||'实施内容'}}" value="{{node3}}" data-name="实施内容" bind:blur="inputChange" t-class="external-class" placeholder="{{language['实施内容']||'实施内容'}}" disableDefaultPadding="{{true}}" autosize />
  50. <t-textarea style="margin-bottom:1px" label="{{language['服务测试内容描述']||'服务测试内容描述'}}" value="{{node4}}" data-name="与现场协商试运行" bind:blur="inputChange" t-class="external-class" placeholder="{{language['服务测试内容描述']||'服务测试内容描述'}}" disableDefaultPadding="{{true}}" autosize />
  51. <t-textarea style="margin-bottom:1px" label="{{language['现场交代事项']||'现场交代事项'}}" value="{{node5}}" data-name="现场交代事项" bind:blur="inputChange" t-class="external-class" placeholder="{{language['现场交代事项']||'现场交代事项'}}" disableDefaultPadding="{{true}}" autosize />
  52. <view class="title colorInfo">
  53. {{language['评价']||'评价'}}
  54. </view>
  55. <view class="demo-rate">
  56. <view class="demo-rate__title">{{language['反应速度']||'反应速度'}}</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">{{language['配合态度']||'配合态度'}}</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. {{language['客户签字']||'客户签字'}}
  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">{{language['单据预览']||'单据预览'}}</van-button>
  81. <van-button custom-class='but' wx:else bind:click="checkImage">{{language['查看单据']||'查看单据'}}</van-button>
  82. <van-button custom-class='but delete' wx:if="{{mainData.status == '新建'}}" bind:click="delete">{{language['删除']||'删 除'}}</van-button>
  83. <van-button custom-class='but' wx:if="{{mainData.status == '新建'}}" bind:click="submit">{{language['提交']||'提 交'}}</van-button>
  84. </view>
  85. </view>