complainTotalOrderList.zml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. <select name="undertakePerson" class="z-select z-w180" data-role="z-select-search" data-class="${zmr_color_class}">
  37. <option value="all">全部</option>
  38. <#for item : ZmrOperatorDao.getOperatorAll(request)>
  39. <option value="${item.getOperatorCode()}" <#if item.getOperatorCode() == undertakePerson>selected</#if>>${item.getOperatorCode()}</option>
  40. </#for>
  41. </select>
  42. </td>
  43. <td>旺旺号:<input class="z-input ${zmr_color_class} z-w160" name="buyerNick" value="${buyerNick}" maxlength="32" placeholder="旺旺号"/></td>
  44. <tr>
  45. </tr class="z-h40">
  46. <td>
  47. 受理状态:<select name="complainStatus" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
  48. <option value="">全部</option>
  49. <#for item : ComplainConstants.getList()>
  50. <option value="${item.value()}" <#if complainStatus == item.value()>selected</#if>>${item.desc()}</option>
  51. </#for>
  52. </select>
  53. </td>
  54. <td>店铺名称:<select name="shopNick" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
  55. <option value="">全部</option>
  56. <#for item : shopNickList>
  57. <option value="${item}" <#if shopNick == item>selected</#if>>${item}</option>
  58. </#for>
  59. </select>
  60. </td>
  61. <td>
  62. 受理时间:<input id="startDate" name="startDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${startDate}">&nbsp;-
  63. <input id="endDate" name="endDate" class="z-input z-mg-l3 z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${endDate}">
  64. </td>
  65. <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>
  66. </tr>
  67. </table>
  68. </form>
  69. <#-- 操作功能 -->
  70. <div class="z-w100p z-mg-t10 z-mg-b3">
  71. <button id="queryComplainDetail" class="z-button z-blue z-mg-r10" onclick="doQueryComplainDetail();"><i class="z-font z-modify"></i>查看投诉单</button>
  72. </div>
  73. <#-- 列表 -->
  74. <div class="z-overflow-auto z-bd-r">
  75. <table class="z-table z-bordered z-h40-tr z-pd5 zi-bd-r-none z-bg-white z-text-center" style="width:2110px">
  76. <tr bgcolor="${zmr_thead_bgcolor}">
  77. <td width="60">选择</td>
  78. <td width="150">订单编号</td>
  79. <td width="120">所属组织</td>
  80. <td width="130">旺旺号</td>
  81. <td width="120">店铺</td>
  82. <td width="110">责任人</td>
  83. <td width="110">责任主管</td>
  84. <td width="110">责任组织</td>
  85. <td width="110">协助人</td>
  86. <td width="110">协助人主管</td>
  87. <td width="110">协助组织</td>
  88. <td width="110">受理状态</td>
  89. <td width="100">受理时间</td>
  90. <td width="*" style="min-width:210px">产品</td>
  91. <td width="90">订单金额</td>
  92. <td width="150">投诉类型</td>
  93. <td width="80">店铺扣分</td>
  94. </tr>
  95. ${zhiqim_manager_tr_no_record(pageResult, 17, "暂时没有投诉单")}
  96. <#for item : pageResult.list()>
  97. <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()}>
  98. <td><input name="complainId" type="radio" data-role="z-radio" data-class="${zmr_color_class}" value="${item.getComplainId()}"></td>
  99. <td>${item.getDesignId()}<p <#if item.getComplainStatus()== "40">style="color:#000000;"<#else>class="z-text-red"</#if>>TS:${item.getComplainId()}</p></td>
  100. <td>${ZmrOrgDao.getOrgName(request,item.getOrgId())}</td>
  101. <td>${item.getBuyerNick()}</td>
  102. <td>${item.getShopNick()}</td>
  103. <td>${item.getUndertakePerson()}</td>
  104. <td>${CalculationUtil.operatorGetDeptSatrap(item.getUndertakePerson())}</td>
  105. <td>${CalculationUtil.operatorGetOrgName(item.getUndertakePerson())}</td>
  106. <td><#if item.getAssistPerson()==null><#else>${item.getAssistPerson()}</#if></td>
  107. <td><#if item.getAssistPerson()==null><#else>${CalculationUtil.operatorGetDeptSatrap(item.getAssistPerson())}</#if></td>
  108. <td>${ZmrOrgDao.getOrgName(request, item.getAssistOrg())}</td>
  109. <td>${ComplainConstants.getStatus(item.getComplainStatus())}</td>
  110. <td>${Sqls.toDateTimeString(item.getComplainAddTime())}</td>
  111. <td>${item.getOrderText()}</td>
  112. <td>${Amounts.toYuanMustRadix(item.getAmount())}</td>
  113. <td>${item.getComplainType()}</td>
  114. <td>${item.getShopPunishScore()}分</td>
  115. </tr>
  116. </#for>
  117. </table>
  118. </div>
  119. ${zhiqim_manager_paging(pageResult, "/complainTotalOrderList.htm")}
  120. ${zhiqim_manager_content_end()}