| <!DOCTYPE HTML> | 
| <html xmlns:th="http://www.thymeleaf.org" xmlns:matrix="http://www.w3.org/1999/xhtml"> | 
| <head> | 
|     <meta charset="utf-8"> | 
|     <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> | 
|     <meta name="renderer" content="webkit|ie-comp|ie-stand"> | 
|     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | 
|     <meta name="viewport" | 
|           content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/> | 
|     <meta http-equiv="Cache-Control" content="no-siteapp"/> | 
|     <LINK rel="Bookmark" href="../images/favicon.ico"> | 
|     <!-- 本框架基本脚本和样式 --> | 
|     <script type="text/javascript" | 
|             th:src="@{/js/plugin/jquery-2.1.4.min.js}"></script> | 
|     <script type="text/javascript" | 
|             th:src="@{/js/systools/MBase.js}"></script> | 
|     <title></title> | 
| </head> | 
|   | 
| <div class="panel-body"> | 
|     <div class="form-group"> | 
|         <label class="col-sm-2 control-label">订单号</label> | 
|         <div class="col-sm-4"> | 
|             <span class="form-control-static" th:text="${order.orderNo}"></span> | 
|         </div> | 
|         <label class="col-sm-2 control-label">客户姓名</label> | 
|         <div class="col-sm-4"> | 
|             <span class="form-control-static" th:text="${order.vipName}"></span> | 
|         </div> | 
|     </div> | 
|     <br> | 
|     <div class="form-group"> | 
|         <label class="col-sm-2 control-label">订单总价</label> | 
|         <div class="col-sm-4"> | 
|             <span class="form-control-static" id="total" th:text="${order.total}"></span> | 
|         </div> | 
|         <label class="col-sm-2 control-label">实际支付金额</label> | 
|         <div class="col-sm-4"> | 
|             <span class="form-control-static">[[${order.actualPay}]]</span> | 
|         </div> | 
|     </div> | 
|     <br> | 
|     <div class="form-group"> | 
|         <label class="col-sm-2 control-label">折后价</label> | 
|         <div class="col-sm-4"> | 
|             <span class="form-control-static" id="zkTotal" th:text="${order.zkTotal}"></span> | 
|         </div> | 
|         <label class="col-sm-2 control-label">顾问姓名</label> | 
|         <div class="col-sm-4"> | 
|             <span class="form-control-static" th:text="${order.staffName}"></span> | 
|         </div> | 
|     </div> | 
|     <div class="form-group"> | 
|         <label class="col-sm-2 control-label">备注</label> | 
|         <div class="col-sm-8"> | 
|             <span class="form-control-static"   th:text="${order.remark}"></span> | 
|         </div> | 
|   | 
|     </div> | 
|   | 
| </div> | 
|   | 
|   | 
| <!-- 订单基本信息 start--> | 
| <div class="tab-content"> | 
|     <div class="col-sm-12 form-group"> | 
|         <div class="panel-body"> | 
|             <table class="table table-striped table-condensed  table-hover"> | 
|                 <thead> | 
|                 <tr> | 
|                     <th>序号</th> | 
|                     <th>商品名称</th> | 
|                     <th>单价</th> | 
|                     <th>购买数量</th> | 
|                     <th>折扣单价</th> | 
|                     <th>支付方式</th> | 
|                 </tr> | 
|                 </thead> | 
|                 <tbody id="tbody"> | 
|                 <tr th:each="item,count:${order.items }"> | 
|                     <td th:text="${count.index}+1"></td> | 
|                     <td><span th:text=" ${item.shoppingGoods.name }"></span> | 
|   | 
|                         <span th:if="${item.isFree eq '是' }" th:text="赠"></span> | 
|                     </td> | 
|                     <td th:text="${item.price }"></td> | 
|                     <td th:text="${item.count}"></td> | 
|                     <td th:text="${item.zkPrice}"></td> | 
|                     <td> | 
|                                 <span th:if="${item.payMethod eq '现金'}"> | 
|                                     现金 | 
|                                 </span> | 
|                         <th:block th:each="cardItem:${cards }"> | 
|                                     <span th:if="${cardItem.id eq item.payMethod }"> | 
|                                         [[${cardItem.cardName }]] | 
|                                         </span> | 
|                         </th:block> | 
|                     </td> | 
|                 </tr> | 
|                 </tbody> | 
|             </table> | 
|         </div> | 
|     </div> | 
| </div> | 
|   | 
|   | 
| </body> | 
| </html> |