Dateien
ziqim/Yangcai365_web/manage/zview/stat/design/timeoutDesignerComplete.zml
2025-02-20 14:59:35 +08:00

127 Zeilen
3.8 KiB
Plaintext

<style>
.z-text-ellipsis {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
display: inline;
}
.z-floater .z-content {
position: absolute;
top: 0;
left: 0;
min-width: 30px;
min-height: 25px;
padding: 6px;
font-size: 12px;
border: 2px solid #c6c6c6;
line-height: 25px;
text-align: center;
background: #fff;
}
</style>
<script>
Z.onload(function(){
doSwicthCompleteTimeoutOrderInfo(${designer});
});
var designer;
function doSwicthCompleteTimeoutOrderInfo(des){
designer = des;
doQueryCompleteTimeoutOrderInfo(1);
}
function doQueryCompleteTimeoutOrderInfo(page){
var ajax = new Z.Ajax();
ajax.setClassName("StatPresenter");
ajax.setMethodName("doQueryCompleteTimeoutOrderInfo");
ajax.addParam("page",page);
ajax.addParam("startDate", Z("#startDate").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>
<#if ZmrPathRule.check(request, "/timeoutDraftOrder.htm")><li onclick="Z.L.href('timeoutDraftOrder.htm');">初稿超时</li></#if>
<li class="z-active">定稿超时</li>
<#if ZmrPathRule.check(request, "/timeoutOrgComplete.htm")><li onclick="Z.Location.href('timeoutOrgComplete.htm');">组织定稿超时统计</li></#if>
</ul>
</nav>
</div>
<#-- 查询条件 -->
${zhiqim_manager_title("查询条件")}
<table class="z-table z-bordered z-pd6">
<tr>
<td colspan="2" class="z-bg-white z-h40">
<form name="theForm" action="timeoutDesignerComplete.htm">
<table class="z-table z-bordered z-pd6">
<tr class="z-h40 z-bg-white">
<td>下单日期:
<input name="startDate" id="startDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120" value="${startDate}"> -
<input name="endDate" id="endDate" onfocus="Z.date(this);" readonly class="z-input ${zmr_color_class} z-w120"value="${endDate}">
<button class="z-mg-l10 z-button ${zmr_color_class}">查询</button>
</td>
</table>
</form>
</td>
</tr>
<tr>
<td width="200" valign="top">
<table class="z-table z-bordered z-bg-white z-pd6 z-text-center">
<tr class="z-h40">
<td colspan="2" class="z-text-left z-bold z-px14" style="text-indent:5px;background-color: #efefef;">超时订单列表</td>
</tr>
<tr class="z-h40">
<td>设计师</td>
<td>超时订单</td>
</tr>
<#for item : timeoutMap.keySet()>
<tr class="z-h40" bgcolor="${zhiqim_manager_tr_bg(item_index)}" onclick="doSwicthCompleteTimeoutOrderInfo('${item}')">
<td>${item}</td>
<td>${timeoutMap.get(item)}</td>
</tr>
</#for>
<tr class="z-h40">
<td>总计</td>
<td>${timeoutOrderNumSum}</td>
</tr>
</table>
</td>
<td width="*" id="result" valign="top"></td>
</tr>
</table>