| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- ${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>
- <li class="z-active">派单超时</li>
- <#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>
- <#-- 查询条件 -->
- ${zhiqim_manager_title("查询条件 <span style='color:red;'>此列表展示派单超时仍未派送订单(等待设计到正在设计)</span>")}
- <form name="theForm">
- <table class="z-table z-bordered z-pd6 z-bg-white">
- <tr class="z-h40">
- <td width="240">订单号:
- <input name="designId" class="${zmr_color_class} z-input z-w160 z-mg-l4" value="${designId}" maxlength="64" placeholder="订单号" >
- </td>
- <td width="240">旺旺号:
- <input name="buyerNick" class="${zmr_color_class} z-input z-w160 z-mg-l4" value="${buyerNick}" maxlength="64" placeholder="旺旺号" >
- </td>
- <td width="270">选择行业:
- <select name="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" 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="*"><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>
- <#-- 分页列表 -->
- <div class="z-mg-t20">
- <table class="z-table z-bordered z-bg-white z-text-center">
- <tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
- <td width="140">订单号</td>
- <td width="160">旺旺名</td>
- <td width="*">产品</td>
- <td width="150">组织</td>
- <td width="125">录单客服</td>
- <td width="155">分拣时间</td>
- <td width="140">进度备注</td>
- <td width="130">行业</td>
- <td width="140">超时时长</td>
- </tr>
- <#var typeMap = DesignTypeDao.mapAll()/>
- <#for item : pageResult.list()>
- <#var effectiveTime = Validates.isEmpty(typeMap) ? 0 : ( typeMap.containsKey(item.getTypeId()) ? typeMap.get(item.getTypeId()).getDispatchOrderEffectiveTime() : 0)/>
- <tr class="z-pointer z-h40" ${zhiqim_manager_tr_onmouse()} <#if item_index % 2 == 0>bgcolor="#f3fdfc"</#if>>
- <td>${item.getDesignId()}</td>
- <td>${item.getBuyerNick()}</td>
- <td>${item.getOrderText()}</td>
- <td>${ZmrOrgDao.getOrgName(request, item.getOrgId())}</td>
- <td>${item.getCreater()}</td>
- <td>${Sqls.toDateTimeString(item.getOrgReceiveTime())}</td>
- <td>${progressNoteMap.get(item.getDesignId())}</td>
- <td>${Global.get(DesignIndustryCache.class).getIndustryName(item.getIndustryId())}</td>
- <td><span class="z-text-red">${CalculationUtil.dateTimeTran(DateTimes.compareMinute(Sqls.nowTimestamp(), item.getOrgReceiveTime()) - effectiveTime)}</span></td>
- </tr>
- </#for>
- <#if pageResult.total() == 0>
- ${zhiqim_manager_no_record(10, "暂时没有派单超时订单信息")}
- </#if>
- </table>
- </div>
- ${zhiqim_manager_paging(pageResult, "timeoutDispatchOrder.htm")}
- ${zhiqim_manager_content_end()}
|