toMonthDesign.zml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <script>
  2. Z.onload(function()
  3. {
  4. doQueryDesigner('${designer}');
  5. });
  6. var designer;
  7. function doQueryDesigner(designers)
  8. {
  9. designer = designers;
  10. doQueryDesignNotCompleteOrderInfo(1);
  11. }
  12. function doQueryDesignNotCompleteOrderInfo(page)
  13. {
  14. var ajax = new Z.Ajax();
  15. ajax.setClassName("StatPresenter");
  16. ajax.setMethodName("doQueryToMonthDesignInfo");
  17. ajax.addParam("page",page);
  18. ajax.addParam("startDate", Z("#startDate").val());
  19. ajax.addParam("endDate", Z("#endDate").val());
  20. ajax.addParam("designer", designer);
  21. ajax.setCallback("result");
  22. ajax.setLoading("result");
  23. ajax.execute();
  24. }
  25. function doProgressNote(id)
  26. {//进度备注
  27. var designId =id
  28. if (Z.V.isEmpty(designId))
  29. {
  30. designId = Z.FM.getChecked("designId");
  31. if (Z.V.isEmpty(designId))
  32. {
  33. Z.alert("请选择一条订单");
  34. return;
  35. }
  36. }
  37. var dialog = new Z.Dialog();
  38. dialog.title = "订单["+designId+"]进度备注";
  39. dialog.url = "/progressNote.htm?designId="+designId;
  40. dialog.width = 1000;
  41. dialog.height = 630;
  42. dialog.execute();
  43. }
  44. </script>
  45. ${zhiqim_manager_breadcrumb("设计师定稿率统计")}
  46. ${zhiqim_manager_content()}
  47. <#-- 导航栏 -->
  48. <div class="z-tabnav-main z-blue z-mg-b20">
  49. <nav>
  50. <ul>
  51. <li class="z-active">当月定稿统计</li>
  52. <li onclick="Z.Location.href('completeDesignRateStat.htm');">定稿率统计</li>
  53. <li onclick="Z.Location.href('timeoutDesignerComplete.htm');">定稿超时统计</li>
  54. <li onclick="Z.Location.href('designAfterStatistics.htm')">售后统计</li>
  55. </ul>
  56. </nav>
  57. </div>
  58. <table class="z-table z-bordered z-pd6">
  59. <tr>
  60. <td colspan="2">
  61. <form name="theForm" action="toMonthDesign.htm">
  62. <table class="z-table z-bordered z-pd6">
  63. <tr class="z-h40 z-bg-white">
  64. <td>接单日期:
  65. <input name="startDate" id="startDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120" value="${startDate}"> -
  66. <input name="endDate" id="endDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120"value="${endDate}">
  67. <button class="z-mg-l10 z-button ${zmr_color_class}">查询</button>
  68. </td>
  69. </table>
  70. </form>
  71. </td>
  72. </tr>
  73. <tr class="z-h40">
  74. <td width="420" valign="top">
  75. <table id="statTable" class="z-table z-bordered z-pd6 z-bg-white z-text-center">
  76. <tr class="z-h40">
  77. <td>设计师</td>
  78. <td>定稿量</td>
  79. </tr>
  80. <#for item : modelList>
  81. <tr class="z-h40" bgcolor="${zhiqim_manager_tr_bg(item_index)}" onclick="doQueryDesigner('${item.getDesigner()}');">
  82. <td>${item.getDesigner()}</td>
  83. <td>${item.getOrderEndNum()}</td>
  84. </#for>
  85. <#if modelList.size() == 0>
  86. ${zhiqim_manager_no_record(4, "暂时没有当月定稿率数据信息")}
  87. </#if>
  88. </table>
  89. </td>
  90. <td width="*" id="result" valign="top" id="result" ></td>
  91. </tr>
  92. </table>
  93. ${zhiqim_manager_content_end()}