99 行
4.4 KiB
Plaintext
99 行
4.4 KiB
Plaintext
<script>
|
|
Z.onload(function()
|
|
{
|
|
doQueryTimeoutMerDispatchOrder(1);
|
|
});
|
|
|
|
|
|
function doQueryTimeoutMerDispatchOrder(page)
|
|
{
|
|
var ajax = new Z.Ajax();
|
|
ajax.setClassName("StatPresenter");
|
|
ajax.setMethodName("doQueryTimeoutMerDispatchOrder");
|
|
ajax.addParam("page",page);
|
|
ajax.addParam("designId", Z("#designId").val());
|
|
ajax.addParam("buyerNick", Z("#buyerNick").val());
|
|
ajax.addParam("typeId", Z("#typeId").val());
|
|
ajax.addParam("industryId", Z("#industryId").val());
|
|
ajax.addParam("beginDate", Z("#beginDate").val());
|
|
ajax.addParam("endDate", Z("#endDate").val());
|
|
ajax.setCallback("result");
|
|
ajax.setLoading("result");
|
|
ajax.execute();
|
|
}
|
|
</script>
|
|
|
|
${zhiqim_manager_breadcrumb("分拣超时")}
|
|
${zhiqim_manager_content()}
|
|
|
|
<#-- 导航栏 -->
|
|
<div class="z-tabnav-main z-blue z-mg-b20">
|
|
<nav>
|
|
<ul>
|
|
<li class="z-active">分拣超时</li>
|
|
<#if ZmrPathRule.check(request, "/timeoutDispatchOrder.htm")><li onclick="Z.L.href('timeoutDispatchOrder.htm');">派单超时</li></#if>
|
|
<#if ZmrPathRule.check(request, "/timeoutDraftOrder.htm")><li onclick="Z.L.href('timeoutDraftOrder.htm');">初稿超时</li></#if>
|
|
<#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="timeoutMerDispatch.htm" id="timeoutMerDispatch">
|
|
<table class="z-table z-bordered z-pd6 z-bg-white">
|
|
<tr class="z-h40">
|
|
<td width="240">订单号:
|
|
<input name="designId" id="designId" class="${zmr_color_class} z-input z-w160 z-mg-l4" value="${designId}" maxlength="64" placeholder="订单号" >
|
|
</td>
|
|
<td width="240">旺旺号:
|
|
<input name="buyerNick" id="buyerNick" class="${zmr_color_class} z-input z-w160 z-mg-l4" value="${buyerNick}" maxlength="64" placeholder="旺旺号" >
|
|
</td>
|
|
<td width="270">选择行业:
|
|
<select name="industryId" id="industryId" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
|
|
<option value="">全部</option>
|
|
<#for item : Global.get(DesignIndustryCache.class).getIndustryList()>
|
|
<option value="${item.getIndustryId()}" <#if item.getIndustryId() == industryId>selected</#if>>${item.getIndustryName()}</option>
|
|
</#for>
|
|
</select>
|
|
</td>
|
|
<td width="270">产品类型:<select name="typeId" id="typeId" class="z-select z-w180" data-role="z-select" data-class="${zmr_color_class}">
|
|
<option value="">全部</option>
|
|
<#for item : DesignTypeDao.listAll()>
|
|
<option value="${item.getTypeId()}" <#if typeId == item.getTypeId()>selected</#if>>${item.getTypeName()}</option>
|
|
</#for>
|
|
</select>
|
|
</td>
|
|
<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>
|
|
<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="350" 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>
|
|
</tr>
|
|
<tr class="z-h40">
|
|
<td>${ordCount}</td>
|
|
<td>${timeoutOrdCount}</td>
|
|
<td>${CalculationUtil.calculatePercent(timeoutOrdCount,ordCount)}</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td width="*" id="result" valign="top" id="result" ></td>
|
|
</tr>
|
|
</table>
|
|
${zhiqim_manager_content_end()} |