behaviorNewOrder.jsp 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. <%@ page import="java.util.Date" %>
  2. <%@ page contentType="text/html;charset=UTF-8" %>
  3. <%@ include file="/WEB-INF/views/include/taglib.jsp" %>
  4. <html>
  5. <head>
  6. <title>订单信息</title>
  7. <meta name="decorator" content="default"/>
  8. <style type="text/css">
  9. .table th{text-align:center}
  10. .table td{text-align:center}
  11. .data-title{width:100%;display:table}
  12. .data-title ul li{word-break:break-all;display:table-cell;width:100px;border:1px solid #000;text-align:center;height:35px;vertical-align:middle;border-right:0;border-bottom:0}
  13. .data-title ul{margin-bottom:0 !important;display:table-row}
  14. .data-title ul li:last-of-type{width:120px;border-right:1px solid #000000}
  15. .data-title ul:last-of-type li{border-bottom:1px solid #000000}
  16. .data-title ul li:nth-child(6){width:80px}
  17. .spileOrder li:nth-of-type(1){position:relative}
  18. .san{width:10px;height:10px;border-top:2px solid #000;border-right:2px solid #000;transform:rotate(45deg);position:absolute;right:-2px;top:50%;margin-top:-5px;cursor:pointer}
  19. .red-waring{margin:0 !important;background-color:#f3f3f3 !important}
  20. .red-waring li{border-color:red !important}
  21. #biao1{position:absolute;left:-9999px;top:-9999px;z-index:-99;width:1px;height:1px}
  22. #searchForm{line-height:40px}
  23. #searchForm .ul-form{overflow:visible}
  24. #searchForm{white-space:nowrap}
  25. #searchForm label{margin-top:15px}
  26. .ul-form{white-space:nowrap;margin-left:-10px !important}
  27. .ul-form label{width:90px;text-align:right}
  28. #btnSubmit{width:128px;margin-left:152px}
  29. .select-ele{width:177px}
  30. </style>
  31. <script type="text/javascript">
  32. </script>
  33. </head>
  34. <body>
  35. <textarea cols="20" rows="10" id="biao1"></textarea>
  36. <ul class="nav nav-tabs">
  37. <c:if test="${cmBehaviorRecord.behaviorType eq '2'}">
  38. <li><a href="${ctx}/user/behavior/record/list?behaviorType=${cmBehaviorRecord.behaviorType}">ROSS页面统计</a></li>
  39. </c:if>
  40. <c:if test="${cmBehaviorRecord.behaviorType eq '1'}">
  41. <li><a href="${ctx}/user/behavior/record/list?behaviorType=${cmBehaviorRecord.behaviorType}">用户行为记录</a></li>
  42. </c:if>
  43. <li class="active"><a href="${ctx}/user/behavior/record/recordList?IP=${cmBehaviorRecord.IP}&accessDate=${cmBehaviorRecord.accessDate}&userID=${cmBehaviorRecord.userID}&clubID=${cmBehaviorRecord.clubID}&companyType=${cmBehaviorRecord.companyType}&behaviorType=${cmBehaviorRecord.behaviorType}">查看详情</a></li>
  44. </ul>
  45. <sys:message content="${message}"/>
  46. <form:form id="searchForm" modelAttribute="cmBehaviorRecord" action="${ctx}/user/behavior/record/behaviorReport?IP=${cmBehaviorRecord.IP}&accessDate=${cmBehaviorRecord.accessDate}&userID=${cmBehaviorRecord.userID}&clubID=${cmBehaviorRecord.clubID}&companyType=${cmBehaviorRecord.companyType}&behaviorType=${cmBehaviorRecord.behaviorType}" method="post" class="breadcrumb form-search">
  47. <input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
  48. <input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
  49. <div class="ul-form">
  50. <ul class="nav nav-tabs">
  51. <li><a href="${ctx}/user/behavior/record/recordList?IP=${cmBehaviorRecord.IP}&accessDate=${cmBehaviorRecord.accessDate}&userID=${cmBehaviorRecord.userID}&clubID=${cmBehaviorRecord.clubID}&companyType=${cmBehaviorRecord.companyType}&behaviorType=${cmBehaviorRecord.behaviorType}">访问详情</a></li>
  52. <li><a href="${ctx}/user/behavior/record/recordAgency?IP=${cmBehaviorRecord.IP}&accessDate=${cmBehaviorRecord.accessDate}&userID=${cmBehaviorRecord.userID}&clubID=${cmBehaviorRecord.clubID}&companyType=${cmBehaviorRecord.companyType}&behaviorType=${cmBehaviorRecord.behaviorType}">机构信息</a></li>
  53. <li><a href="${ctx}/user/behavior/record/behaviorRemarks?IP=${cmBehaviorRecord.IP}&accessDate=${cmBehaviorRecord.accessDate}&userID=${cmBehaviorRecord.userID}&clubID=${cmBehaviorRecord.clubID}&companyType=${cmBehaviorRecord.companyType}&behaviorType=${cmBehaviorRecord.behaviorType}">咨询记录</a></li>
  54. <li><a href="${ctx}/user/behavior/record/behaviorReport?IP=${cmBehaviorRecord.IP}&accessDate=${cmBehaviorRecord.accessDate}&userID=${cmBehaviorRecord.userID}&clubID=${cmBehaviorRecord.clubID}&companyType=${cmBehaviorRecord.companyType}&behaviorType=${cmBehaviorRecord.behaviorType}">报备记录</a></li>
  55. <li class="active"><a href="${ctx}/user/behavior/record/behaviorNewOrder?IP=${cmBehaviorRecord.IP}&accessDate=${cmBehaviorRecord.accessDate}&userID=${cmBehaviorRecord.userID}&clubID=${cmBehaviorRecord.clubID}&companyType=${cmBehaviorRecord.companyType}&behaviorType=${cmBehaviorRecord.behaviorType}">订单信息</a></li>
  56. </ul>
  57. </div>
  58. </form:form>
  59. <div class="data-title">
  60. <ul>
  61. <li>订单ID</li>
  62. <li>订单编号</li>
  63. <li>订单类型</li>
  64. <li>返佣订单</li>
  65. <%-- <li>二手订单</li>--%>
  66. <li>机构</li>
  67. <li>收货人</li>
  68. <li>订单来源</li>
  69. <li>订单状态</li>
  70. <li>收款状态</li>
  71. <li>付款状态</li>
  72. <li>发货状态</li>
  73. <li>退款状态</li>
  74. <li>待审核退款</li>
  75. <li>订单金额</li>
  76. <li>返佣服务费</li>
  77. <li>下单时间</li>
  78. <li>确认时间</li>
  79. <li>操作</li>
  80. </ul>
  81. <c:forEach items="${page.list}" var="order">
  82. <%--颜色区分分期不分期订单以及终止订单--%>
  83. <ul class="spileOrder" data-id="${order.orderNo}">
  84. <li>${order.orderID}</li>
  85. <li style="position: relative">${order.orderNo}
  86. </li>
  87. <li>
  88. <c:if test="${order.orderType == 1}">
  89. 自主订单
  90. </c:if>
  91. <c:if test="${order.orderType == 0}">
  92. 协销订单
  93. <c:if test="${not empty order.spName}">
  94. <br>${fns:appendLast1('(',order.spName,')')}
  95. </c:if>
  96. </c:if>
  97. </li>
  98. <li>
  99. <c:if test="${order.rebateOrder == '0'}">
  100. </c:if>
  101. <c:if test="${order.rebateOrder ne '0'}">
  102. </c:if>
  103. </li>
  104. <%-- <li>--%>
  105. <%-- <c:if test="${order.secondHandOrderFlag == '1'}">--%>
  106. <%-- 是--%>
  107. <%-- </c:if>--%>
  108. <%-- <c:if test="${order.secondHandOrderFlag ne '1'}">--%>
  109. <%-- 否--%>
  110. <%-- </c:if>--%>
  111. <%-- </li>--%>
  112. <li>
  113. <c:if test="${order.organizeID == 1}">
  114. <span class="org-note">星范</span>
  115. </c:if>
  116. ${order.buyer}
  117. </li>
  118. <li>${order.receiver}</li>
  119. <li>${fns:getDictLabel(order.orderSource,"bp_orderSource","" )}</li>
  120. <li class="sd-li">
  121. <c:if test="${order.status eq 11 || order.status eq 12 || order.status eq 13 ||order.status eq 21 ||order.status eq 22 ||
  122. order.status eq 23 || order.status eq 31 ||order.status eq 32 ||order.status eq 33}">
  123. 交易中<br>(${fns:getDictLabel(order.status,"order_detail_status","" )})
  124. </c:if>
  125. <c:if test="${order.status eq 0 || order.status eq 4 || order.status eq 5 || order.status eq 6 || order.status eq 7}">${fns:getDictLabel(order.status,"order_detail_status","" )}</c:if>
  126. </li>
  127. <li>
  128. <c:if test="${order.receiptStatus == 1}">
  129. <font color="red">待收款</font>
  130. </c:if>
  131. <c:if test="${order.receiptStatus == 2}">
  132. <font color="#ff8c00">部分收款</font>
  133. </c:if>
  134. <c:if test="${order.receiptStatus == 3}">
  135. <font color="green">已收款</font>
  136. </c:if>
  137. <br>
  138. <%--抹平明细--%>
  139. <c:if test="${order.confirmType eq 1}">
  140. <c:if test="${order.receiptOrderFlag}">
  141. 一款多单:少收抹平金额未知
  142. </c:if>
  143. <c:if test="${!order.receiptOrderFlag}">
  144. <font>少收抹平:<br>
  145. ¥<fmt:formatNumber
  146. value="${order.payableAmount - (empty order.orderReceivedAmount ? 0 : order.orderReceivedAmount)}"
  147. pattern="#0.00"/>
  148. </font>
  149. </c:if>
  150. </c:if>
  151. <c:if test="${order.confirmType eq 2}">
  152. <c:if test="${order.receiptOrderFlag}">
  153. 一款多单:多收抹平金额未知
  154. </c:if>
  155. <c:if test="${!order.receiptOrderFlag}">
  156. <font>多收抹平:<br>
  157. ¥<fmt:formatNumber
  158. value="${(empty order.orderReceivedAmount ? 0 : order.orderReceivedAmount) - order.payableAmount}"
  159. pattern="#0.00"/>
  160. </font>
  161. </c:if>
  162. </c:if>
  163. <c:if test="${order.confirmType eq 3}">
  164. <c:if test="${order.receiptOrderFlag}">
  165. 一款多单:多收退余额
  166. </c:if>
  167. <c:if test="${!order.receiptOrderFlag}">
  168. <font>多收退余额&nbsp;&nbsp;${order.associationType eq 2 ? "(自动)" : ""}:<br>
  169. ¥<fmt:formatNumber
  170. value="${(empty order.returnBalanceAmount ? 0 : order.returnBalanceAmount)}"
  171. pattern="#0.00"/>
  172. </font>
  173. </c:if>
  174. </c:if>
  175. </li>
  176. <li>
  177. <c:if test="${order.payStatus == 1}">
  178. <font color="red">待付款</font>
  179. </c:if>
  180. <c:if test="${order.payStatus == 2}">
  181. <font color="#ff8c00">部分付款</font>
  182. </c:if>
  183. <c:if test="${order.payStatus == 3}">
  184. <font color="green">已付款</font>
  185. </c:if>
  186. </li>
  187. <li>
  188. <c:if test="${order.sendOutStatus == 1}">
  189. <font color="red">待发货</font>
  190. </c:if>
  191. <c:if test="${order.sendOutStatus == 2}">
  192. <font color="#ff8c00">部分发货</font>
  193. </c:if>
  194. <c:if test="${order.sendOutStatus == 3}">
  195. <font color="green">已发货</font>
  196. </c:if>
  197. </li>
  198. <li>
  199. <c:if test="${order.refundType == 1}">
  200. <font>部分退款</font>
  201. </c:if>
  202. <c:if test="${order.refundType == 2}">
  203. <font>已退款</font>
  204. </c:if>
  205. <c:if test="${order.refundType ne 1 and order.refundType ne 2 }">
  206. <font>无退款</font>
  207. </c:if>
  208. </li>
  209. <li>
  210. <c:if test="${order.returnedPurchaseStatus == 1}">
  211. <a href="${ctx}/bulkpurchase/cmRefundsProduct/toRecturnRecordByOrderID.rpc?orderID=${order.orderID}">
  212. </a>
  213. </c:if>
  214. <c:if test="${order.returnedPurchaseStatus == 0}">
  215. </c:if>
  216. </li>
  217. <li> <%-- 订单金额 --%>
  218. <fmt:formatNumber value="${order.payTotalFee}" type="currency"/>
  219. </li>
  220. <li> <%-- 返佣服务费 --%>
  221. <c:if test="${not empty order.rebateFee}">
  222. <fmt:formatNumber value="${order.rebateFee}" type="currency"/>
  223. </c:if>
  224. <c:if test="${empty order.rebateFee}">
  225. ---
  226. </c:if>
  227. </li>
  228. <li>${order.orderTime}</li>
  229. <li>
  230. <c:if test="${empty order.confirmTime}">
  231. ---
  232. </c:if>
  233. <c:if test="${not empty order.confirmTime}">
  234. ${order.confirmTime}
  235. </c:if>
  236. </li>
  237. <li class="operation-wrap">
  238. <a href="${ctx}/order/detail?id=${order.orderID}">查看详情</a>
  239. </li>
  240. </ul>
  241. </c:forEach>
  242. </div>
  243. <div class="pagination">${page}</div>
  244. <c:if test="${empty page.list}">
  245. <p style="text-align: center;"><font color="#1e90ff">暂无订单信息……</font></p>
  246. </c:if>
  247. <script type="text/javascript">
  248. function page(n,s){
  249. $("#pageNo").val(n);
  250. $("#pageSize").val(s);
  251. $("#searchForm").submit();
  252. return false;
  253. }
  254. </script>
  255. </body>
  256. </html>