timeoutMerDispatch.zml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <script>
  2. Z.onload(function()
  3. {
  4. doQueryTimeoutMerDispatchOrder(1);
  5. });
  6. function doQueryTimeoutMerDispatchOrder(page)
  7. {
  8. var ajax = new Z.Ajax();
  9. ajax.setClassName("StatPresenter");
  10. ajax.setMethodName("doQueryTimeoutMerDispatchOrder");
  11. ajax.addParam("page",page);
  12. ajax.addParam("designId", Z("#designId").val());
  13. ajax.addParam("buyerNick", Z("#buyerNick").val());
  14. ajax.addParam("typeId", Z("#typeId").val());
  15. ajax.addParam("industryId", Z("#industryId").val());
  16. ajax.addParam("beginDate", Z("#beginDate").val());
  17. ajax.addParam("endDate", Z("#endDate").val());
  18. ajax.setCallback("result");
  19. ajax.setLoading("result");
  20. ajax.execute();
  21. }
  22. </script>
  23. ${zhiqim_manager_breadcrumb("分拣超时")}
  24. ${zhiqim_manager_content()}
  25. <#-- 导航栏 -->
  26. <div class="z-tabnav-main z-blue z-mg-b20">
  27. <nav>
  28. <ul>
  29. <li class="z-active">分拣超时</li>
  30. <#if ZmrPathRule.check(request, "/timeoutDispatchOrder.htm")><li onclick="Z.L.href('timeoutDispatchOrder.htm');">派单超时</li></#if>
  31. <#if ZmrPathRule.check(request, "/timeoutDraftOrder.htm")><li onclick="Z.L.href('timeoutDraftOrder.htm');">初稿超时</li></#if>
  32. <#if ZmrPathRule.check(request, "/timeoutDesignerComplete.htm")><li onclick="Z.Location.href('timeoutDesignerComplete.htm');">定稿超时</li></#if>
  33. <#if ZmrPathRule.check(request, "/timeoutOrgComplete.htm")><li onclick="Z.Location.href('timeoutOrgComplete.htm');">组织定稿超时统计</li></#if>
  34. </ul>
  35. </nav>
  36. </div>
  37. <table class="z-table z-bordered z-pd6">
  38. <tr>
  39. <td colspan="2">
  40. <#-- 查询条件 -->
  41. ${zhiqim_manager_title("查询条件&emsp;<span style='color:red;'>此列表展示分拣超时订单</span>")}
  42. <form name="theForm" action="timeoutMerDispatch.htm" id="timeoutMerDispatch">
  43. <table class="z-table z-bordered z-pd6 z-bg-white">
  44. <tr class="z-h40">
  45. <td width="240">订单号:
  46. <input name="designId" id="designId" class="${zmr_color_class} z-input z-w160 z-mg-l4" value="${designId}" maxlength="64" placeholder="订单号" >
  47. </td>
  48. <td width="240">旺旺号:
  49. <input name="buyerNick" id="buyerNick" class="${zmr_color_class} z-input z-w160 z-mg-l4" value="${buyerNick}" maxlength="64" placeholder="旺旺号" >
  50. </td>
  51. <td width="270">选择行业:
  52. <select name="industryId" id="industryId" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
  53. <option value="">全部</option>
  54. <#for item : Global.get(DesignIndustryCache.class).getIndustryList()>
  55. <option value="${item.getIndustryId()}" <#if item.getIndustryId() == industryId>selected</#if>>${item.getIndustryName()}</option>
  56. </#for>
  57. </select>
  58. </td>
  59. <td width="270">产品类型:<select name="typeId" id="typeId" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
  60. <option value="">全部</option>
  61. <#for item : DesignTypeDao.listAll()>
  62. <option value="${item.getTypeId()}" <#if typeId == item.getTypeId()>selected</#if>>${item.getTypeName()}</option>
  63. </#for>
  64. </select>
  65. </td>
  66. <td width="345">
  67. 创建日期:<input name="beginDate" id="beginDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120" value="<#if Validates.isNotEmpty(beginDate)>${beginDate}<#else>${DateTimes.getDateString()}</#if>"> -
  68. <input name="endDate" id="endDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120"value="<#if Validates.isNotEmpty(endDate)>${endDate}<#else>${DateTimes.getDateString()}</#if>">
  69. </td>
  70. <td width="*"><button class="z-button z-large z-w100 ${zmr_color_class}" >查询</button>&nbsp;&nbsp;&nbsp;&nbsp;<button class="z-button z-large" type="button" onclick="Z.Forms.clearForm(this.form)">清空</button></td>
  71. </tr>
  72. </table>
  73. </form>
  74. </td>
  75. </tr>
  76. <tr class="z-h40">
  77. <td width="350" valign="top">
  78. <table class="z-table z-bordered z-pd6 z-bg-white z-text-center">
  79. <tr class="z-h40">
  80. <td>订单量</td>
  81. <td>超时量</td>
  82. <td>超时率</td>
  83. </tr>
  84. <tr class="z-h40">
  85. <td>${ordCount}</td>
  86. <td>${timeoutOrdCount}</td>
  87. <td>${CalculationUtil.calculatePercent(timeoutOrdCount,ordCount)}</td>
  88. </tr>
  89. </table>
  90. </td>
  91. <td width="*" id="result" valign="top" id="result" ></td>
  92. </tr>
  93. </table>
  94. ${zhiqim_manager_content_end()}