complainTotalOrderList.zml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <script>
  2. function doQueryComplainDetail(){
  3. var complainId = Z.FM.getChecked("complainId");
  4. if (Z.V.isEmpty(complainId))
  5. {
  6. Z.alert("请选择一条订单");
  7. return;
  8. }
  9. var dialog = new Z.Dialog();
  10. dialog.title = "投诉单号:"+complainId;
  11. dialog.url = "/complainDetail.htm?complainId="+complainId;
  12. dialog.width = 1000;
  13. dialog.height = 500;
  14. dialog.execute();
  15. }
  16. </script>
  17. ${zhiqim_manager_breadcrumb("投诉单列表")}
  18. ${zhiqim_manager_content()}
  19. <#-- 导航 -->
  20. <div data-role="z-tabnav" class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
  21. <nav>
  22. <ul>
  23. <li class="z-active">投诉单列表</li>
  24. </ul>
  25. </nav>
  26. </div>
  27. <#-- 左侧功能 -->
  28. <#-- 查询条件 -->
  29. ${zhiqim_manager_title("查询条件")}
  30. <form name="theForm" action="/complainTotalOrderList.htm">
  31. <table class="z-table z-bordered z-pd6 z-bg-white">
  32. <tr class="z-h40">
  33. <td>订单编号:<input name="designId" class="${zmr_color_class} z-input z-w180" value="${designId}" maxlength="64" placeholder="订单编号"></td>
  34. <td>投诉单号:<input name="complainId" class="${zmr_color_class} z-input z-w180" value="${complainId}" maxlength="64" placeholder="投诉单号"></td>
  35. <td>责&nbsp;任&nbsp;人:
  36. <input name="undertakePerson" class="${zmr_color_class} z-input z-w180" value="${undertakePerson}" maxlength="64" placeholder="责任人">
  37. </td>
  38. <td>旺旺号:<input class="z-input ${zmr_color_class} z-w160" name="buyerNick" value="${buyerNick}" maxlength="32" placeholder="旺旺号"/></td>
  39. <tr>
  40. </tr class="z-h40">
  41. <td>
  42. 受理状态:<select name="complainStatus" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
  43. <option value="">全部</option>
  44. <#for item : ComplainConstants.getList()>
  45. <option value="${item.value()}" <#if complainStatus == item.value()>selected</#if>>${item.desc()}</option>
  46. </#for>
  47. </select>
  48. </td>
  49. <td>店铺名称:<select name="shopNick" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
  50. <option value="">全部</option>
  51. <#for item : shopNickList>
  52. <option value="${item}" <#if shopNick == item>selected</#if>>${item}</option>
  53. </#for>
  54. </select>
  55. </td>
  56. <td>
  57. 受理时间:<input id="startDate" name="startDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${startDate}">&nbsp;-
  58. <input id="endDate" name="endDate" class="z-input z-mg-l3 z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${endDate}">
  59. </td>
  60. <td><button class="z-button z-large z-w120 z-mg-r15 ${zmr_color_class}">查询</button><button class="z-button z-large" type="button" onclick="Z.FM.clearForm(this.form);">清空</button></td>
  61. </tr>
  62. </table>
  63. </form>
  64. <#-- 操作功能 -->
  65. <div class="z-w100p z-mg-t10 z-mg-b3">
  66. <button id="queryComplainDetail" class="z-button z-blue z-mg-r10" onclick="doQueryComplainDetail();"><i class="z-font z-modify"></i>查看投诉单</button>
  67. </div>
  68. <#-- 列表 -->
  69. <div class="z-overflow-auto z-bd-r">
  70. <table class="z-table z-bordered z-h40-tr z-pd5 zi-bd-r-none z-bg-white z-text-center" style="width:2110px">
  71. <tr bgcolor="${zmr_thead_bgcolor}">
  72. <td width="40">选择</td>
  73. <td width="150">订单编号</td>
  74. <td width="120">所属组织</td>
  75. <td width="130">旺旺号</td>
  76. <td width="120">店铺</td>
  77. <td width="110">责任人</td>
  78. <td width="110">责任组织</td>
  79. <td width="110">受理状态</td>
  80. <td width="100">受理时间</td>
  81. <td width="*" style="min-width:210px">产品</td>
  82. <td width="90">订单金额</td>
  83. <td width="150">投诉类型</td>
  84. <td width="80">店铺扣分</td>
  85. </tr>
  86. ${zhiqim_manager_tr_no_record(pageResult, 17, "暂时没有投诉单")}
  87. <#for item : pageResult.list()>
  88. <tr class="z-pointer" <#if item.getComplainStatus()== "40">style="color:#8a8a8a;"<#elseif item.getComplainStatus()== "20">style="color:#000000;"</#if> ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
  89. <td><input name="complainId" type="radio" data-role="z-radio" data-class="${zmr_color_class}" value="${item.getComplainId()}"></td>
  90. <td>${item.getDesignId()}<p <#if item.getComplainStatus()== "40">style="color:#000000;"<#else>class="z-text-red"</#if>>TS:${item.getComplainId()}</p></td>
  91. <td>${ZmrOrgDao.getOrgName(request,item.getOrgId())}</td>
  92. <td>${item.getBuyerNick()}</td>
  93. <td>${item.getShopNick()}</td>
  94. <td>${item.getUndertakePerson()}</td>
  95. <td>${CalculationUtil.operatorGetOrgName(item.getUndertakePerson())}</td>
  96. <td>${ComplainConstants.getStatus(item.getComplainStatus())}</td>
  97. <td>${Sqls.toDateTimeString(item.getComplainAddTime())}</td>
  98. <td>${item.getOrderText()}</td>
  99. <td>${Amounts.toYuanMustRadix(item.getAmount())}</td>
  100. <td>${item.getComplainType()}</td>
  101. <td>${item.getShopPunishScore()}分</td>
  102. </tr>
  103. </#for>
  104. </table>
  105. </div>
  106. ${zhiqim_manager_paging(pageResult, "/complainTotalOrderList.htm")}
  107. ${zhiqim_manager_content_end()}