complainWantDealList.zml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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. <#-- 查询条件 -->
  36. ${zhiqim_manager_title("查询条件")}
  37. <form name="theForm" action="/complainWantDealList.htm">
  38. <table class="z-table z-bordered z-pd6 z-bg-white">
  39. <tr class="z-h40">
  40. <td>订单编号:<input name="designId" class="${zmr_color_class} z-input z-w180" value="${designId}" maxlength="64" placeholder="订单编号"></td>
  41. <td>投诉单号:<input name="complainId" class="${zmr_color_class} z-input z-w180" value="${complainId}" maxlength="64" placeholder="投诉单号"></td>
  42. <td>
  43. 受理状态:<select name="complainStatus" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
  44. <option value="">全部</option>
  45. <#for item : ComplainConstants.getList()>
  46. <option value="${item.value()}" <#if complainStatus == item.value()>selected</#if>>${item.desc()}</option>
  47. </#for>
  48. </select>
  49. </td>
  50. <td>旺旺号:<input class="z-input ${zmr_color_class} z-w160" name="buyerNick" value="${buyerNick}" maxlength="32" placeholder="旺旺号"/></td>
  51. <tr>
  52. </tr class="z-h40">
  53. <td>店铺名称:<select name="shopNick" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
  54. <option value="">全部</option>
  55. <#for item : shopNickList>
  56. <option value="${item}" <#if shopNick == item>selected</#if>>${item}</option>
  57. </#for>
  58. </select>
  59. </td>
  60. <td>
  61. 受理时间:<input id="startDate" name="startDate" class="z-input z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${startDate}">&nbsp;-
  62. <input id="endDate" name="endDate" class="z-input z-mg-l3 z-w90 ${zmr_color_class}" readonly="true" onfocus="Z.date(this);" value="${endDate}">
  63. </td>
  64. <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>
  65. </tr>
  66. </table>
  67. </form>
  68. <#-- 操作功能 -->
  69. <div class="z-w100p z-mg-t10 z-mg-b3">
  70. <button id="queryComplainDetail" class="z-button z-blue z-mg-r6" onclick="doQueryComplainDeal();"><i class="z-font z-modify"></i>投诉单处理</button>
  71. <button id="queryComplainDetail" class="z-button z-blue z-mg-r6" onclick="doQueryComplainDetail();"><i class="z-font z-modify"></i>查看投诉单</button>
  72. </div>
  73. <#-- 列表 -->
  74. <table class="z-table z-bordered z-h40-tr z-pd5 z-bg-white z-text-center" style="height:auto;">
  75. <tr bgcolor="${zmr_thead_bgcolor}">
  76. <td width="60">选择</td>
  77. <td width="150">订单编号</td>
  78. <td width="130">旺旺号</td>
  79. <td width="120">店铺</td>
  80. <td width="110">受理状态</td>
  81. <td width="100">受理时间</td>
  82. <td width="*" style="min-width:210px">产品</td>
  83. <td width="90">订单金额</td>
  84. <td width="150">投诉类型</td>
  85. </tr>
  86. ${zhiqim_manager_tr_no_record(pageResult, 17, "暂时没有待处理的投诉")}
  87. <#for item : pageResult.list()>
  88. <input id="buyerNick_${item.getComplainId()}" type="hidden" value="${item.getBuyerNick()}">
  89. <tr class="z-pointer <#if item.isSatrapAssist()>z-text-red</#if>" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
  90. <td><input name="complainId" type="radio" data-role="z-radio" data-class="${zmr_color_class}" value="${item.getComplainId()}"></td>
  91. <td>${item.getDesignId()}<p style="color:#000000">TS:${item.getComplainId()}</p></td>
  92. <td>${item.getBuyerNick()}</td>
  93. <td>${item.getShopNick()}</td>
  94. <td>${ComplainConstants.getStatus(item.getComplainStatus())}</td>
  95. <td>${Sqls.toDateTimeString(item.getComplainAddTime())}</td>
  96. <td>${item.getOrderText()}</td>
  97. <td>${Amounts.toYuanMustRadix(item.getAmount())}</td>
  98. <td>${item.getComplainType()}</td>
  99. </tr>
  100. </#for>
  101. ${zhiqim_manager_paging(pageResult, "/complainWantDealList.htm")}
  102. </table>
  103. ${zhiqim_manager_content_end()}
  104. <#-- 联系旺旺&联系QQ弹窗框 -->
  105. <iframe id="openFrm" class="z-hide" src="about:blank"></iframe>