complainWantDealList.zml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. ${Scripts.src("/zinc/js/globalcomplain_2019010801.js")}
  2. <script>
  3. function doQueryComplainDeal(){
  4. var complainId = Z.FM.getChecked("complainId");
  5. if (Z.V.isEmpty(complainId))
  6. {
  7. Z.alert("请选择一条订单");
  8. return;
  9. }
  10. var dialog = new Z.Dialog();
  11. dialog.title = "投诉单号:"+complainId;
  12. dialog.url = "/complainDeal.htm?complainId="+complainId;
  13. dialog.width = 900;
  14. dialog.height = 500;
  15. dialog.execute();
  16. }
  17. function doQueryComplainDetail(){
  18. var complainId = Z.FM.getChecked("complainId");
  19. if (Z.V.isEmpty(complainId))
  20. {
  21. Z.alert("请选择一条订单");
  22. return;
  23. }
  24. var dialog = new Z.Dialog();
  25. dialog.title = "投诉单号:"+complainId;
  26. dialog.url = "/complainDetail.htm?complainId="+complainId;
  27. dialog.width = 1000;
  28. dialog.height = 500;
  29. dialog.execute();
  30. }
  31. </script>
  32. ${zhiqim_manager_breadcrumb("我的投诉")}
  33. ${zhiqim_manager_content()}
  34. <#-- 导航栏 -->
  35. <div class="z-tabnav-main z-blue z-mg-b20">
  36. <nav>
  37. <ul>
  38. <li onclick="Z.Location.href('designOrder.htm');">未完成订单</li>
  39. <li onclick="Z.Location.href('designOrderFinish.htm');">已完结订单</li>
  40. <li onclick="Z.Location.href('waitHandleAfterOrder.htm');">售后订单</li>
  41. <li class="z-active">投诉订单</li>
  42. </ul>
  43. </nav>
  44. </div>
  45. <#-- 左侧功能 -->
  46. <#-- 查询条件 -->
  47. ${zhiqim_manager_title("查询条件")}
  48. <form name="theForm" action="/complainWantDealList.htm">
  49. <table class="z-table z-bordered z-pd6 z-bg-white">
  50. <tr class="z-h40">
  51. <td>订单编号:<input name="designId" class="${zmr_color_class} z-input z-w180" value="${designId}" maxlength="64" placeholder="订单编号"></td>
  52. <td>投诉单号:<input name="complainId" class="${zmr_color_class} z-input z-w180" value="${complainId}" maxlength="64" placeholder="投诉单号"></td>
  53. <td>
  54. 受理状态:<select name="complainStatus" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
  55. <option value="">全部</option>
  56. <#for item : ComplainConstants.getList()>
  57. <option value="${item.value()}" <#if complainStatus == item.value()>selected</#if>>${item.desc()}</option>
  58. </#for>
  59. </select>
  60. </td>
  61. <td>旺旺号:<input class="z-input ${zmr_color_class} z-w160" name="buyerNick" value="${buyerNick}" maxlength="32" placeholder="旺旺号"/></td>
  62. <tr>
  63. </tr class="z-h40">
  64. <td>店铺名称:<select name="shopNick" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
  65. <option value="">全部</option>
  66. <#for item : shopNickList>
  67. <option value="${item}" <#if shopNick == item>selected</#if>>${item}</option>
  68. </#for>
  69. </select>
  70. </td>
  71. <td>
  72. 受理时间:<input id="startDate" name="startDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${startDate}">&nbsp;-
  73. <input id="endDate" name="endDate" class="z-input z-mg-l3 z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${endDate}">
  74. </td>
  75. <td colspan="2"><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>
  76. </tr>
  77. </table>
  78. </form>
  79. <#-- 操作功能 -->
  80. <div class="z-w100p z-mg-t10 z-mg-b3">
  81. <button id="queryComplainDetail" class="z-button z-blue z-mg-r6" onclick="doQueryComplainDeal();"><i class="z-font z-modify"></i>投诉单处理</button>
  82. <button id="queryComplainDetail" class="z-button z-blue z-mg-r6" onclick="doQueryComplainDetail();"><i class="z-font z-modify"></i>查看投诉单</button>
  83. </div>
  84. <#-- 列表 -->
  85. <table class="z-table z-bordered z-h40-tr z-pd5 z-bg-white z-text-center" style="height:auto;">
  86. <tr bgcolor="${zmr_thead_bgcolor}">
  87. <td width="60">选择</td>
  88. <td width="150">订单编号</td>
  89. <td width="130">旺旺号</td>
  90. <td width="120">店铺</td>
  91. <td width="110">受理状态</td>
  92. <td width="100">受理时间</td>
  93. <td width="*" style="min-width:210px">产品</td>
  94. <td width="90">订单金额</td>
  95. <td width="150">投诉类型</td>
  96. </tr>
  97. ${zhiqim_manager_tr_no_record(pageResult, 17, "暂时没有待处理的投诉")}
  98. <#for item : pageResult.list()>
  99. <input id="buyerNick_${item.getComplainId()}" type="hidden" value="${item.getBuyerNick()}">
  100. <tr class="z-pointer <#if item.isSatrapAssist()>z-text-red</#if>" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
  101. <td><input name="complainId" type="radio" data-role="z-radio" data-class="${zmr_color_class}" value="${item.getComplainId()}"></td>
  102. <td>${item.getDesignId()}<p style="color:#000000">TS:${item.getComplainId()}</p></td>
  103. <td>${item.getBuyerNick()}</td>
  104. <td>${item.getShopNick()}</td>
  105. <td>${ComplainConstants.getStatus(item.getComplainStatus())}</td>
  106. <td>${Sqls.toDateTimeString(item.getComplainAddTime())}</td>
  107. <td>${item.getOrderText()}</td>
  108. <td>${Amounts.toYuanMustRadix(item.getAmount())}</td>
  109. <td>${item.getComplainType()}</td>
  110. </tr>
  111. </#for>
  112. ${zhiqim_manager_paging(pageResult, "/complainWantDealList.htm")}
  113. </table>
  114. ${zhiqim_manager_content_end()}
  115. <#-- 联系旺旺&联系QQ弹窗框 -->
  116. <iframe id="openFrm" class="z-hide" src="about:blank"></iframe>