zhijiezhao 7 months ago
parent
commit
bed321adb0
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/main/webapp/WEB-INF/views/modules/order/shopOrderDetail.jsp

+ 5 - 1
src/main/webapp/WEB-INF/views/modules/order/shopOrderDetail.jsp

@@ -312,7 +312,11 @@
     </div>
     </div>
 
 
     <div>
     <div>
-        <span>待收金额:<fmt:formatNumber value="${order.restAmount}" type="currency"/></span>
+        <span>待收金额:<fmt:formatNumber value="${order.restAmount}" type="currency"/>
+        <c:if test="${not empty order.couponAmount and order.couponAmount > 0}"> <span style="color:red;">(优惠券:${order.couponAmount})</span> </c:if>
+        <c:if test="${not empty order.promotionFullReduction and order.promotionFullReduction > 0}"> <span style="color:red;">(促销满减:${order.promotionFullReduction})</span> </c:if>
+        <c:if test="${not empty order.presentNum and order.presentNum > 0}"> <span style="color:red;">(赠品数:${order.presentNum})</span> </c:if>
+        </span>
     </div>
     </div>
     <c:if test="${not empty order.note}">
     <c:if test="${not empty order.note}">
         <div>
         <div>