| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- <script>
- Z.onload(function()
- {
- doQueryDesigner('${designer}');
- });
- var designer;
- function doQueryDesigner(designers)
- {
- designer = designers;
- doQueryTimeoutDraftOrder(1);
- }
- function doQueryTimeoutDraftOrder(page)
- {
- var ajax = new Z.Ajax();
- ajax.setClassName("StatPresenter");
- ajax.setMethodName("doQueryTimeoutDraftOrder");
- ajax.addParam("page",page);
- ajax.addParam("beginDate", Z("#beginDate").val());
- ajax.addParam("endDate", Z("#endDate").val());
- ajax.addParam("designer", designer);
- ajax.setCallback("result");
- ajax.setLoading("result");
- ajax.execute();
- }
- function doProgressNote(id)
- {//进度备注
- var designId =id
- if (Z.V.isEmpty(designId))
- {
- designId = Z.FM.getChecked("designId");
- if (Z.V.isEmpty(designId))
- {
- Z.alert("请选择一条订单");
- return;
- }
- }
-
- var dialog = new Z.Dialog();
- dialog.title = "订单["+designId+"]进度备注";
- dialog.url = "/progressNote.htm?designId="+designId;
- dialog.width = 1000;
- dialog.height = 630;
- dialog.execute();
- }
- </script>
- ${zhiqim_manager_breadcrumb("初稿超时")}
- ${zhiqim_manager_content()}
- <#-- 导航栏 -->
- <div class="z-tabnav-main z-blue z-mg-b20">
- <nav>
- <ul>
- <#if ZmrPathRule.check(request, "/timeoutMerDispatch.htm")><li onclick="Z.L.href('timeoutMerDispatch.htm');">分拣超时</li></#if>
- <#if ZmrPathRule.check(request, "/timeoutDispatchOrder.htm")><li onclick="Z.L.href('timeoutDispatchOrder.htm');">派单超时</li></#if>
- <li class="z-active">初稿超时</li>
- <#if ZmrPathRule.check(request, "/timeoutDesignerComplete.htm")><li onclick="Z.Location.href('timeoutDesignerComplete.htm');">定稿超时</li></#if>
- <#if ZmrPathRule.check(request, "/timeoutOrgComplete.htm")><li onclick="Z.Location.href('timeoutOrgComplete.htm');">组织定稿超时统计</li></#if>
- </ul>
- </nav>
- </div>
- <table class="z-table z-bordered z-pd6">
- <tr>
- <td colspan="2">
- <#-- 查询条件 -->
- ${zhiqim_manager_title("查询条件 <span style='color:red;'>此列表展示初稿超时订单</span>")}
- <form name="theForm" action="timeoutDraftOrder.htm" id="timeoutDraftOrder">
- <table class="z-table z-bordered z-pd6 z-bg-white">
- <tr class="z-h40">
- <td width="345">
- 接单日期:<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>"> -
- <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>">
- </td>
- <#if isOrgRoot> <td width="250">
- 设计师:<input name="designer" class="${zmr_color_class} z-input z-w160 z-mg-l4" value="${designer}" maxlength="64" placeholder="设计师">
- </td></#if>
- <td width="*"><button class="z-button z-large z-w100 ${zmr_color_class}" >查询</button> <button class="z-button z-large" type="button" onclick="Z.Forms.clearForm(this.form)">清空</button></td>
- </tr>
- </table>
- </form>
- </td>
- </tr>
- <tr class="z-h40">
- <td width="330" valign="top">
- <table class="z-table z-bordered z-pd6 z-bg-white z-text-center">
- <tr class="z-h40">
- <td>设计师</td>
- <td>接单量</td>
- <td>超时量</td>
- <td>超时率</td>
- </tr>
- <#for item : pageResult.list()>
- <tr class="z-h40" bgcolor="${zhiqim_manager_tr_bg(item_index)}" onclick="doQueryDesigner('${item.getDesigner()}');">
- <td>${item.getDesigner()}</td>
- <td>${item.getOrdCount()}</td>
- <td>${item.getTimeoutOrdCount()}</td>
- <td>${CalculationUtil.calculatePercent(item.getTimeoutOrdCount(),item.getOrdCount())}</td>
- </tr>
- </#for>
- <#if pageResult.list().size() == 0>
- ${zhiqim_manager_no_record(4, "暂时没有初稿超时统计信息")}
- <#else>
- <tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
- <td>总计</td>
- <td>${ordSum}</td>
- <td>${timeoutOrdSum}</td>
- <td>${CalculationUtil.calculatePercent(timeoutOrdSum,ordSum)}</td>
- </tr>
- </#if>
- </table>
- ${zhiqim_manager_paging(pageResult, "/timeoutDraftOrder.htm")}
- </td>
- <td width="*" id="result" valign="top" id="result" ></td>
- </tr>
- </table>
- ${zhiqim_manager_content_end()}
|