timeoutDesignerComplete.zml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <style>
  2. .z-text-ellipsis {
  3. text-overflow: ellipsis;
  4. overflow: hidden;
  5. white-space: nowrap;
  6. display: inline;
  7. }
  8. .z-floater .z-content {
  9. position: absolute;
  10. top: 0;
  11. left: 0;
  12. min-width: 30px;
  13. min-height: 25px;
  14. padding: 6px;
  15. font-size: 12px;
  16. border: 2px solid #c6c6c6;
  17. line-height: 25px;
  18. text-align: center;
  19. background: #fff;
  20. }
  21. </style>
  22. <script>
  23. Z.onload(function(){
  24. doSwicthCompleteTimeoutOrderInfo(${designer});
  25. });
  26. var designer;
  27. function doSwicthCompleteTimeoutOrderInfo(des){
  28. designer = des;
  29. doQueryCompleteTimeoutOrderInfo(1);
  30. }
  31. function doQueryCompleteTimeoutOrderInfo(page){
  32. var ajax = new Z.Ajax();
  33. ajax.setClassName("StatPresenter");
  34. ajax.setMethodName("doQueryCompleteTimeoutOrderInfo");
  35. ajax.addParam("page",page);
  36. ajax.addParam("startDate", Z("#startDate").val());
  37. ajax.addParam("endDate", Z("#endDate").val());
  38. ajax.addParam("designer", designer);
  39. ajax.setCallback("result");
  40. ajax.setLoading("result");
  41. ajax.execute();
  42. }
  43. function doProgressNote(id)
  44. {//进度备注
  45. var designId =id
  46. if (Z.V.isEmpty(designId))
  47. {
  48. designId = Z.FM.getChecked("designId");
  49. if (Z.V.isEmpty(designId))
  50. {
  51. Z.alert("请选择一条订单");
  52. return;
  53. }
  54. }
  55. var dialog = new Z.Dialog();
  56. dialog.title = "订单["+designId+"]进度备注";
  57. dialog.url = "/progressNote.htm?designId="+designId;
  58. dialog.width = 1000;
  59. dialog.height = 630;
  60. dialog.execute();
  61. }
  62. </script>
  63. ${zhiqim_manager_breadcrumb("设计师定稿超时")}
  64. ${zhiqim_manager_content()}
  65. <#-- 导航栏 -->
  66. <div class="z-tabnav-main z-blue z-mg-b20">
  67. <nav>
  68. <ul>
  69. <#if ZmrPathRule.check(request, "/timeoutMerDispatch.htm")><li onclick="Z.L.href('timeoutMerDispatch.htm');">分拣超时</li></#if>
  70. <#if ZmrPathRule.check(request, "/timeoutDispatchOrder.htm")><li onclick="Z.L.href('timeoutDispatchOrder.htm');">派单超时</li></#if>
  71. <#if ZmrPathRule.check(request, "/timeoutDraftOrder.htm")><li onclick="Z.L.href('timeoutDraftOrder.htm');">初稿超时</li></#if>
  72. <li class="z-active">定稿超时</li>
  73. <#if ZmrPathRule.check(request, "/timeoutOrgComplete.htm")><li onclick="Z.Location.href('timeoutOrgComplete.htm');">组织定稿超时统计</li></#if>
  74. </ul>
  75. </nav>
  76. </div>
  77. <#-- 查询条件 -->
  78. ${zhiqim_manager_title("查询条件")}
  79. <table class="z-table z-bordered z-pd6">
  80. <tr>
  81. <td colspan="2" class="z-bg-white z-h40">
  82. <form name="theForm" action="timeoutDesignerComplete.htm">
  83. <table class="z-table z-bordered z-pd6">
  84. <tr class="z-h40 z-bg-white">
  85. <td>下单日期:
  86. <input name="startDate" id="startDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120" value="${startDate}"> -
  87. <input name="endDate" id="endDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120"value="${endDate}">
  88. <button class="z-mg-l10 z-button ${zmr_color_class}">查询</button>
  89. </td>
  90. </table>
  91. </form>
  92. </td>
  93. </tr>
  94. <tr>
  95. <td width="200" valign="top">
  96. <table class="z-table z-bordered z-bg-white z-pd6 z-text-center">
  97. <tr class="z-h40">
  98. <td colspan="2" class="z-text-left z-bold z-px14" style="text-indent:5px;background-color: #efefef;">超时订单列表</td>
  99. </tr>
  100. <tr class="z-h40">
  101. <td>设计师</td>
  102. <td>超时订单</td>
  103. </tr>
  104. <#for item : timeoutMap.keySet()>
  105. <tr class="z-h40" bgcolor="${zhiqim_manager_tr_bg(item_index)}" onclick="doSwicthCompleteTimeoutOrderInfo('${item}')">
  106. <td>${item}</td>
  107. <td>${timeoutMap.get(item)}</td>
  108. </tr>
  109. </#for>
  110. <tr class="z-h40">
  111. <td>总计</td>
  112. <td>${timeoutOrderNumSum}</td>
  113. </tr>
  114. </table>
  115. </td>
  116. <td width="*" id="result" valign="top"></td>
  117. </tr>
  118. </table>