dispatchLog.zml 4.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. ${zhiqim_manager_breadcrumb("派单日志")}
  2. ${zhiqim_manager_content()}
  3. <#-- 导航栏 -->
  4. <div class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
  5. <nav>
  6. <ul>
  7. <#if ZmrPathRule.check(request, "/waitDisOrder.htm")><li onclick="Z.L.href('waitDisOrder.htm');">待派订单</li></#if>
  8. <li class="z-active">派单日志</li>
  9. <#if ZmrPathRule.check(request, "/waitDisMerOrder.htm")><li onclick="Z.L.href('waitDisMerOrder.htm');">待分拣订单</li></#if>
  10. <#if ZmrPathRule.check(request, "/merDispatchLog.htm")><li onclick="Z.L.href('merDispatchLog.htm');">商户分拣日志</li></#if>
  11. <#if ZmrPathRule.check(request, "/waitDisDesignerGroupOrder.htm")><li onclick="Z.L.href('waitDisDesignerGroupOrder.htm');">新待派单订单</li></#if>
  12. <#if ZmrPathRule.check(request, "/designerGroupDispatchLog.htm")><li onclick="Z.L.href('designerGroupDispatchLog.htm');">新派单日志</li></#if>
  13. <#if ZmrPathRule.check(request, "/dispatchStat.htm")><li onclick="Z.L.href('dispatchStat.htm');">分拣统计</li></#if>
  14. <#if ZmrPathRule.check(request, "/dispatchWaitStat.htm")><li onclick="Z.L.href('dispatchWaitStat.htm');">待派统计</li></#if>
  15. </ul>
  16. <div class="z-float-left z-mg10 z-lh30">
  17. <form name="theForm" action="/dispatchLog.htm">
  18. <select name="disOrderStatus" class="z-float-left z-select ${zmr_color_class} z-w80 zi-bd-r-none">
  19. <option value="-1">全部</option>
  20. <option value="0" <#if disOrderStatus == 0>selected</#if>>已完成</option>
  21. <option value="1" <#if disOrderStatus == 1>selected</#if>>未完成</option>
  22. <option value="2" <#if disOrderStatus == 2>selected</#if>>已转让</option>
  23. <option value="3" <#if disOrderStatus == 3>selected</#if>>已退款</option>
  24. <option value="4" <#if disOrderStatus == 4>selected</#if>>已暂停</option>
  25. </select>
  26. <select name="industryId" class="z-float-left z-select ${zmr_color_class} z-w90 zi-bd-r-none">
  27. <option value="">选择行业</option>
  28. <#for item : Global.get(DesignIndustryCache.class).getIndustryList()>
  29. <option value="${item.getIndustryId()}" <#if Validates.isEqual(item.getIndustryId(), industryId)>selected</#if>>${item.getIndustryName()}</option>
  30. </#for>
  31. </select>
  32. <input class="z-float-left z-input ${zmr_color_class} z-w140 zi-bd-r-none" name="designId" value="${designId}" placeholder="订单号"/>
  33. <input class="z-float-left z-input ${zmr_color_class} z-w80 zi-bd-r-none" name="operatorCode" value="${operatorCode}" placeholder="设计师"/>
  34. <input class="z-float-left z-input z-input ${zmr_color_class} z-w90" name="destime" onfocus="Z.date(this);" value="${destime}" placeholder="派单日期"/>
  35. <button class="z-float-left z-button z-w80 zi-bd-rd0 z-blue"><i class="z-font z-query"></i>查询</button>&nbsp;&nbsp;
  36. <button class="z-float-left z-button z-mg-l6" type="button" onclick="Z.Forms.clearForm(this.form);">清空</button>
  37. </form>
  38. </div>
  39. </nav>
  40. </div>
  41. <table class="z-table z-bordered z-bg-white z-pd6">
  42. <tr>
  43. <td class="z-h40 z-text-left z-bold z-px14 z-bg-white" colspan="8">&nbsp;派单日志列表</td>
  44. </tr>
  45. <tr class="z-text-center z-h40" bgcolor="${zmr_thead_bgcolor}">
  46. <td width="10%">订单号</td>
  47. <td width="8%">设计师</td>
  48. <td width="12%">派单时间</td>
  49. <td width="8%">派单状态</td>
  50. <td width="8%">派单类型</td>
  51. <td width="8%">行业</td>
  52. <td width="25%">产品描述</td>
  53. <td width="*">操作描述</td>
  54. </tr>
  55. <#if pageResult.size() == 0>
  56. <tr valign="middle" class="z-text-center z-bg-white z-h40">
  57. <td colspan="8">暂不存在派单日志信息</td>
  58. </tr>
  59. </#if>
  60. <#var industryList = Global.get(DesignIndustryCache.class).getIndustryListAll()/>
  61. <#for item : pageResult.list()>
  62. <tr align="center" class="z-h40" ${zhiqim_manager_tr_onmouse()}>
  63. <td>${item.getDesignId()}</td>
  64. <td>${item.getOperatorCode()}</td>
  65. <td>${Sqls.toDateTimeString(item.getDesTime())}</td>
  66. <td>
  67. <#if item.getDisOrderStatus() ==0>订单完成</#if>
  68. <#if item.getDisOrderStatus() ==1><font color="red">订单未完成</font></#if>
  69. <#if item.getDisOrderStatus() ==2><font color="blue">订单转让</font></#if>
  70. <#if item.getDisOrderStatus() ==3><font color="gray">订单退款</font></#if>
  71. <#if item.getDisOrderStatus() ==4><font color="green">订单已暂停</font></#if>
  72. </td>
  73. <td>
  74. <#if item.getDisType()== 0>自动派单</#if>
  75. <#if item.getDisType()== 1>手工指单</#if>
  76. <#if item.getDisType()== 2>手动领单</#if>
  77. </td>
  78. <td>
  79. <#if Validates.isNotEmpty(industryList)>
  80. <#for industry : industryList>
  81. <#if item.getIndustryId()==industry.getIndustryId()>
  82. ${industry.getIndustryName()}
  83. </#if>
  84. </#for>
  85. </#if>
  86. </td>
  87. <td>${item.getOrderText()}</td>
  88. <td>${item.getDisDesc()}</td>
  89. </tr>
  90. </#for>
  91. </table>
  92. ${zhiqim_manager_paging(pageResult, "/dispatchLog.htm")}
  93. ${zhiqim_manager_content_end()}