Files
ziqim/Yangcai365_web/manage/zview/dispatch/dispatchLog.zml
T
2025-02-20 14:59:35 +08:00

94 行
4.9 KiB
Plaintext

${zhiqim_manager_breadcrumb("派单日志")}
${zhiqim_manager_content()}
<#-- 导航栏 -->
<div class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
<nav>
<ul>
<#if ZmrPathRule.check(request, "/waitDisOrder.htm")><li onclick="Z.L.href('waitDisOrder.htm');">待派订单</li></#if>
<li class="z-active">派单日志</li>
<#if ZmrPathRule.check(request, "/waitDisMerOrder.htm")><li onclick="Z.L.href('waitDisMerOrder.htm');">待分拣订单</li></#if>
<#if ZmrPathRule.check(request, "/merDispatchLog.htm")><li onclick="Z.L.href('merDispatchLog.htm');">商户分拣日志</li></#if>
<#if ZmrPathRule.check(request, "/waitDisDesignerGroupOrder.htm")><li onclick="Z.L.href('waitDisDesignerGroupOrder.htm');">新待派单订单</li></#if>
<#if ZmrPathRule.check(request, "/designerGroupDispatchLog.htm")><li onclick="Z.L.href('designerGroupDispatchLog.htm');">新派单日志</li></#if>
<#if ZmrPathRule.check(request, "/dispatchStat.htm")><li onclick="Z.L.href('dispatchStat.htm');">分拣统计</li></#if>
<#if ZmrPathRule.check(request, "/dispatchWaitStat.htm")><li onclick="Z.L.href('dispatchWaitStat.htm');">待派统计</li></#if>
</ul>
<div class="z-float-left z-mg10 z-lh30">
<form name="theForm" action="/dispatchLog.htm">
<select name="disOrderStatus" class="z-float-left z-select ${zmr_color_class} z-w80 zi-bd-r-none">
<option value="-1">全部</option>
<option value="0" <#if disOrderStatus == 0>selected</#if>>已完成</option>
<option value="1" <#if disOrderStatus == 1>selected</#if>>未完成</option>
<option value="2" <#if disOrderStatus == 2>selected</#if>>已转让</option>
<option value="3" <#if disOrderStatus == 3>selected</#if>>已退款</option>
<option value="4" <#if disOrderStatus == 4>selected</#if>>已暂停</option>
</select>
<select name="industryId" class="z-float-left z-select ${zmr_color_class} z-w90 zi-bd-r-none">
<option value="">选择行业</option>
<#for item : Global.get(DesignIndustryCache.class).getIndustryList()>
<option value="${item.getIndustryId()}" <#if Validates.isEqual(item.getIndustryId(), industryId)>selected</#if>>${item.getIndustryName()}</option>
</#for>
</select>
<input class="z-float-left z-input ${zmr_color_class} z-w140 zi-bd-r-none" name="designId" value="${designId}" placeholder="订单号"/>
<input class="z-float-left z-input ${zmr_color_class} z-w80 zi-bd-r-none" name="operatorCode" value="${operatorCode}" placeholder="设计师"/>
<input class="z-float-left z-input z-input ${zmr_color_class} z-w90" name="destime" onfocus="Z.date(this);" value="${destime}" placeholder="派单日期"/>
<button class="z-float-left z-button z-w80 zi-bd-rd0 z-blue"><i class="z-font z-query"></i>查询</button>&nbsp;&nbsp;
<button class="z-float-left z-button z-mg-l6" type="button" onclick="Z.Forms.clearForm(this.form);">清空</button>
</form>
</div>
</nav>
</div>
<table class="z-table z-bordered z-bg-white z-pd6">
<tr>
<td class="z-h40 z-text-left z-bold z-px14 z-bg-white" colspan="8">&nbsp;派单日志列表</td>
</tr>
<tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}">
<td width="10%">订单号</td>
<td width="8%">设计师</td>
<td width="12%">派单时间</td>
<td width="8%">派单状态</td>
<td width="8%">派单类型</td>
<td width="8%">行业</td>
<td width="25%">产品描述</td>
<td width="*">操作描述</td>
</tr>
<#if pageResult.size() == 0>
<tr valign="middle" class="z-text-center z-bg-white z-h40">
<td colspan="8">暂不存在派单日志信息</td>
</tr>
</#if>
<#var industryList = Global.get(DesignIndustryCache.class).getIndustryListAll()/>
<#for item : pageResult.list()>
<tr align="center" class="z-h40" ${zhiqim_manager_tr_onmouse()}>
<td>${item.getDesignId()}</td>
<td>${item.getOperatorCode()}</td>
<td>${Sqls.toDateTimeString(item.getDesTime())}</td>
<td>
<#if item.getDisOrderStatus() ==0>订单完成</#if>
<#if item.getDisOrderStatus() ==1><font color="red">订单未完成</font></#if>
<#if item.getDisOrderStatus() ==2><font color="blue">订单转让</font></#if>
<#if item.getDisOrderStatus() ==3><font color="gray">订单退款</font></#if>
<#if item.getDisOrderStatus() ==4><font color="green">订单已暂停</font></#if>
</td>
<td>
<#if item.getDisType()== 0>自动派单</#if>
<#if item.getDisType()== 1>手工指单</#if>
<#if item.getDisType()== 2>手动领单</#if>
</td>
<td>
<#if Validates.isNotEmpty(industryList)>
<#for industry : industryList>
<#if item.getIndustryId()==industry.getIndustryId()>
${industry.getIndustryName()}
</#if>
</#for>
</#if>
</td>
<td>${item.getOrderText()}</td>
<td>${item.getDisDesc()}</td>
</tr>
</#for>
</table>
${zhiqim_manager_paging(pageResult, "/dispatchLog.htm")}
${zhiqim_manager_content_end()}