|
@@ -0,0 +1,331 @@
|
|
|
+<%@ taglib prefix="from" uri="http://www.springframework.org/tags/form" %>
|
|
|
+<%@ taglib prefix="input" uri="/struts-tags" %>
|
|
|
+<%@ page contentType="text/html;charset=UTF-8" %>
|
|
|
+<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
|
|
|
+<html>
|
|
|
+<head>
|
|
|
+ <title>收退款记录</title>
|
|
|
+ <meta name="decorator" content="default"/>
|
|
|
+ <style>
|
|
|
+ .form-horizontal .controls {
|
|
|
+ margin-left: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .dateInput input {
|
|
|
+ width: 150px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .clause span {
|
|
|
+ margin-left: 30px;
|
|
|
+ }
|
|
|
+
|
|
|
+ #productTable th {
|
|
|
+ text-align: center;
|
|
|
+ white-space: nowrap;
|
|
|
+ }
|
|
|
+
|
|
|
+ #productTable td {
|
|
|
+ text-align: center;
|
|
|
+ white-space: nowrap;
|
|
|
+ }
|
|
|
+
|
|
|
+ .controls {
|
|
|
+ font-size: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .controls .conList {
|
|
|
+ display: inline-block;
|
|
|
+ margin-right: 15px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .conList .btn:nth-of-type(1) {
|
|
|
+ margin-left: 25px;
|
|
|
+ }
|
|
|
+
|
|
|
+ #refundTable th, #cmReturnedPurchaseTable th {
|
|
|
+ width: 20%;
|
|
|
+ }
|
|
|
+
|
|
|
+ .record-title {
|
|
|
+ height: 30px;
|
|
|
+ line-height: 30px;
|
|
|
+ padding-left: 8px;
|
|
|
+ }
|
|
|
+ .zeroCost .message{
|
|
|
+ display:none;
|
|
|
+ position:absolute;
|
|
|
+ background:#FFF;
|
|
|
+ white-space:nowrap;
|
|
|
+ border:1px solid black;
|
|
|
+
|
|
|
+ }
|
|
|
+ .zeroCost:hover .message{
|
|
|
+ display: inline-block;
|
|
|
+ color: black;
|
|
|
+ padding: 5px;
|
|
|
+ margin-left: 10px;
|
|
|
+ }
|
|
|
+ .weishaIcon {background:darkorange;color:white;margin:0 0px;padding:0 3px;font-style:normal;font-size: 12px; display:inline-block;border-radius:2px}
|
|
|
+ </style>
|
|
|
+ <script type="text/javascript">
|
|
|
+ $(document).ready(function () {
|
|
|
+ $("#name").focus();
|
|
|
+ $("#inputForm").validate({
|
|
|
+ submitHandler: function (form) {
|
|
|
+ loading('正在提交,请稍等...');
|
|
|
+ form.submit();
|
|
|
+ },
|
|
|
+ errorContainer: "#messageBox",
|
|
|
+ errorPlacement: function (error, element) {
|
|
|
+ $("#messageBox").text("输入有误,请先更正。");
|
|
|
+ if (element.is(":checkbox") || element.is(":radio") || element.parent().is(".input-append")) {
|
|
|
+ error.appendTo(element.parent().parent());
|
|
|
+ } else {
|
|
|
+ error.insertAfter(element);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ </script>
|
|
|
+</head>
|
|
|
+<body>
|
|
|
+<input type="hidden" id="product_index" value="${fn:length(order.orderProduct)}">
|
|
|
+<input type="hidden" id="ctx" value="${ctx}">
|
|
|
+<ul class="nav nav-tabs">
|
|
|
+ <c:if test="${from eq '1' or from eq '2'}">
|
|
|
+ <c:if test="${orderType eq 2}">
|
|
|
+ <li><a href="${ctx}/hehe/new/order/orderList">订单列表</a></li>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${orderType ne 2}">
|
|
|
+ <li><a href="${ctx}/order/orderList">订单列表</a></li>
|
|
|
+ </c:if>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${from eq '2'}">
|
|
|
+ <li><a href="${ctx}/order/detail?id=${orderID}">订单详情</a></li>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${from eq '3'}">
|
|
|
+ <li><a href="${ctx}/shopOrder/checkPaymentOrder">订单财务信息</a></li>
|
|
|
+ </c:if>
|
|
|
+ <li class="active"><a href="#">收退款记录</a></li>
|
|
|
+</ul>
|
|
|
+<br/>
|
|
|
+<table id="orderTable" class="table table-striped table-bordered table-condensed">
|
|
|
+ <thead>
|
|
|
+ </thead>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ 下单时间:${order.orderTime}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ 订单号(ID):${order.orderNo}(${order.orderID})
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <c:if test="${order.organizeID != 1}">
|
|
|
+ 订单类型:${fns:getDictLabel(order.orderType,'order_type' ,'' )}
|
|
|
+ <c:if test="${order.orderType eq 2}">
|
|
|
+ ${order.collageFlag eq 1?'拼团订单':'独立订单'}
|
|
|
+ </c:if>
|
|
|
+ </c:if>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <c:if test="${order.organizeID != 1}">
|
|
|
+ 订单来源:${fns:getDictLabel(order.orderSource,'bp_orderSource' ,'' )}
|
|
|
+ </c:if>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ 订单状态:
|
|
|
+ <c:if test="${ not empty order.status}">
|
|
|
+ ${fns:getNewOrderStatus(order.status)}
|
|
|
+ </c:if>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ 收款状态:<%--${fns:getDictLabel(order.receiptStatus,'receiptStatus' ,'' )}--%>
|
|
|
+ <c:if test="${order.receiptStatus == 1}">
|
|
|
+ <font color="red">待收款</font>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${order.receiptStatus == 2}">
|
|
|
+ <font color="#ff8c00">部分收款</font>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${order.receiptStatus == 3}">
|
|
|
+ <font color="green">已收款</font>
|
|
|
+ </c:if>
|
|
|
+ </td>
|
|
|
+ <c:if test="${order.orderType eq 2}">
|
|
|
+ <td>
|
|
|
+ 拼团状态:
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${order.collageFlag eq 1 && (order.status eq 31 || order.status eq 32 || order.status eq 33)}">
|
|
|
+ <font color="${order.collageStatus eq 1?'#00CC66':(order.collageStatus eq 2?'red':'')}">
|
|
|
+ ${order.collageStatus eq 1?'拼团中':(order.collageStatus eq 2?'已拼成':'-')}
|
|
|
+ </font>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ -
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </td>
|
|
|
+ </c:if>
|
|
|
+ <td>
|
|
|
+ 付款状态:<%--${fns:getDictLabel(order.payStatus,'payStatus' ,'' )}--%>
|
|
|
+ <c:if test="${order.payStatus == 1}">
|
|
|
+ <font color="red">待付款</font>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${order.payStatus == 2}">
|
|
|
+ <font color="#ff8c00">部分付款</font>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${order.payStatus == 3}">
|
|
|
+ <font color="green">已付款</font>
|
|
|
+ </c:if>
|
|
|
+
|
|
|
+ <c:if test="${order.zeroCostFlag eq 1}">
|
|
|
+ <a href="javascript:;" class="zeroCost"><span><img src="/static/images/info.jpg" style="width: 15px;margin-bottom: 4px"></span>
|
|
|
+ <div class="message">
|
|
|
+ <span>商品成本为0,直接置为已付款,无需付款供应商</span>
|
|
|
+ </div>
|
|
|
+ </a>
|
|
|
+ </c:if>
|
|
|
+ </td>
|
|
|
+ <c:if test="${order.onlinePayFlag == 0}">
|
|
|
+ <td>
|
|
|
+ 结算状态:
|
|
|
+ <c:if test="${order.settleStatus == 1}">
|
|
|
+ <font color="red">待结算</font>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${order.settleStatus == 2}">
|
|
|
+ <font color="#ff8c00">部分结算</font>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${order.settleStatus == 3}">
|
|
|
+ <font color="green">已结算</font>
|
|
|
+ </c:if>
|
|
|
+ </td>
|
|
|
+ </c:if>
|
|
|
+ <td>
|
|
|
+<%-- 退款(退货)状态:${fns:getDictLabel(order.refundType,'refundType' ,'' )}--%>
|
|
|
+ <c:if test="${order.refundType == 1}">
|
|
|
+ <font color="red">待发货</font>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${order.refundType == 2}">
|
|
|
+ <font color="#ff8c00">部分发货</font>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${order.refundType == 3}">
|
|
|
+ <font color="green">已发货</font>
|
|
|
+ </c:if>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ 机构:${order.bpOrderUserinfo.name}<c:if test="${order.organizeID == 3}"></c:if>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ 收货人:${order.bpOrderUserinfo.shouHuoRen}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ 手机:${order.bpOrderUserinfo.mobile}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ 地址:${order.bpOrderUserinfo.province}${order.bpOrderUserinfo.city}${order.bpOrderUserinfo.town}${order.bpOrderUserinfo.address}
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ 订单金额:¥${order.payTotalFee}
|
|
|
+ <c:if test="${not empty order.couponOrderRecord}">
|
|
|
+ <c:if test="${order.couponOrderRecord.couponType eq 0}">
|
|
|
+ <a href="${ctx}/coupon/cmCouponClub/couponDetails?userId=${order.userID}"><font color="red">(活动券抵扣¥${order.couponOrderRecord.couponAmount},满${order.couponOrderRecord.touchPrice}减${order.couponOrderRecord.couponAmount})</font></a>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${order.couponOrderRecord.couponType eq 1}">
|
|
|
+ <a href="${ctx}/coupon/cmCouponClub/couponDetails?userId=${order.userID}"><font color="red">(品类券抵扣¥${order.couponOrderRecord.couponAmount},满${order.couponOrderRecord.touchPrice}减${order.couponOrderRecord.couponAmount})</font></a>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${order.couponOrderRecord.couponType eq 2}">
|
|
|
+ <a href="${ctx}/coupon/cmCouponClub/couponDetails?userId=${order.userID}"><font color="red">(用户专享券抵扣¥${order.couponOrderRecord.couponAmount},满${order.couponOrderRecord.touchPrice}减${order.couponOrderRecord.couponAmount})</font></a>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${order.couponOrderRecord.couponType eq 3}">
|
|
|
+ <a href="${ctx}/coupon/cmCouponClub/couponDetails?userId=${order.userID}"><font color="red">(店铺券抵扣¥${order.couponOrderRecord.couponAmount},满${order.couponOrderRecord.touchPrice}减${order.couponOrderRecord.couponAmount})</font></a>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${order.couponOrderRecord.couponType eq 4}">
|
|
|
+ <a href="${ctx}/coupon/cmCouponClub/couponDetails?userId=${order.userID}"><font color="red">(新用户券抵扣¥${order.couponOrderRecord.couponAmount},满${order.couponOrderRecord.touchPrice}减${order.couponOrderRecord.couponAmount})</font></a>
|
|
|
+ </c:if>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${not empty order.heheCouponRecord}">
|
|
|
+ <a href="${ctx}/hehe/cmHeheCoupon/receiveDetails?userId=${order.userID}">
|
|
|
+ <font color="red">
|
|
|
+ (${order.heheCouponRecord.couponType eq 1 ? '活动':order.heheCouponRecord.couponType eq 2?'专享':order.heheCouponRecord.couponType eq 3?'新人':order.heheCouponRecord.couponType eq 4?'好友分享':order.heheCouponRecord.couponType eq 5?'好友消费':'消费分享'}券抵扣¥${order.heheCouponRecord.couponAmount},满${order.heheCouponRecord.touchPrice}减${order.heheCouponRecord.couponAmount})
|
|
|
+ </font>
|
|
|
+ </a>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${order.reductionAmount > 0}">
|
|
|
+ (分享减免¥${order.reductionAmount},满${order.reductionTouchPrice}减${order.reductionAmount})
|
|
|
+ </c:if>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ 应收总额:¥${order.payableAmount}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ 经理折扣:¥${order.discountFee}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ 运费:
|
|
|
+ <c:if test="${order.freePostFlag == 0}">
|
|
|
+ 包邮
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${order.freePostFlag == -1}">
|
|
|
+ 到付
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${order.freePostFlag == -2}">
|
|
|
+ 仪器到付-产品包邮
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${order.freePostFlag != -1 && order.freePostFlag != 0 && order.freePostFlag != -2}">
|
|
|
+ ¥<fmt:formatNumber value="${order.freight}" pattern="0.00"/>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${order.userBeans > 0}">
|
|
|
+ <font color="red">(采美豆抵用:${order.userBeans})</font>
|
|
|
+ </c:if>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td>优惠券:${order.couponAmount}</td>
|
|
|
+ <td>退款总额:¥${refundFee}</td>
|
|
|
+ <td COLSPAN="3">
|
|
|
+
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+</table>
|
|
|
+<c:if test="${not empty settleRecord}">
|
|
|
+ <div class="record-title">佣金结算记录:</div>
|
|
|
+ <table id="refundTable" class="table table-striped table-bordered table-condensed">
|
|
|
+ <tr>
|
|
|
+ <th class="table-order">序号</th>
|
|
|
+ <th class="table-id">子订单ID</th>
|
|
|
+ <th class="table-cell3">结算时间</th>
|
|
|
+ <th class="table-cell4">结算金额</th>
|
|
|
+ </tr>
|
|
|
+ <c:forEach items="${settleRecord}" var="settle" varStatus="s">
|
|
|
+ <tr>
|
|
|
+ <td>${s.index + 1}</td>
|
|
|
+ <td>${settle.shopOrderId}</td>
|
|
|
+ <td><fmt:formatDate value="${settle.settleTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
|
|
|
+ <td><fmt:formatNumber value="${settle.settleAmount}" type="currency"/></td>
|
|
|
+ </tr>
|
|
|
+ </c:forEach>
|
|
|
+ </table>
|
|
|
+</c:if>
|
|
|
+<c:if test="${empty settleRecord}">
|
|
|
+ <div class="record-title">佣金结算记录: 无</div>
|
|
|
+</c:if>
|
|
|
+
|
|
|
+<script type="text/javascript" src="${ctxStatic}/modules/bulkpurchase/loadAddress.js"></script>
|
|
|
+<script type="text/javascript" src="${ctxStatic}/modules/bulkpurchase/orderForm.js"></script>
|
|
|
+<script type="text/javascript" src="${ctxStatic}/modules/bulkpurchase/stages.js"></script>
|
|
|
+<script>
|
|
|
+ $(function () {
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
+</script>
|
|
|
+</body>
|
|
|
+</html>
|