|
@@ -112,7 +112,17 @@
|
|
.receipt-msg-wrapper {
|
|
.receipt-msg-wrapper {
|
|
display: block;
|
|
display: block;
|
|
}
|
|
}
|
|
- .weishaIcon {background:darkorange;color:white;margin:0 0px;padding:0 3px;font-style:normal;font-size: 12px; display:inline-block;border-radius:2px}
|
|
|
|
|
|
+
|
|
|
|
+ .weishaIcon {
|
|
|
|
+ background: darkorange;
|
|
|
|
+ color: white;
|
|
|
|
+ margin: 0 0px;
|
|
|
|
+ padding: 0 3px;
|
|
|
|
+ font-style: normal;
|
|
|
|
+ font-size: 12px;
|
|
|
|
+ display: inline-block;
|
|
|
|
+ border-radius: 2px
|
|
|
|
+ }
|
|
</style>
|
|
</style>
|
|
<script type="text/javascript">
|
|
<script type="text/javascript">
|
|
$(document).ready(function () {
|
|
$(document).ready(function () {
|
|
@@ -172,21 +182,21 @@
|
|
<span><label>收款时间:</label>${vo.receiptDate}</span>
|
|
<span><label>收款时间:</label>${vo.receiptDate}</span>
|
|
<span><label>收款状态:</label>
|
|
<span><label>收款状态:</label>
|
|
<c:if test="${vo.payWay ne 3}">
|
|
<c:if test="${vo.payWay ne 3}">
|
|
- <c:if test="${vo.receiptStatus == 1}">
|
|
|
|
- 待确认
|
|
|
|
- </c:if>
|
|
|
|
- <c:if test="${vo.receiptStatus == 2}">
|
|
|
|
- 已确认
|
|
|
|
- </c:if>
|
|
|
|
- <c:if test="${vo.receiptStatus == 3}">
|
|
|
|
- 审核通过
|
|
|
|
- </c:if>
|
|
|
|
- <c:if test="${vo.receiptStatus == 4}">
|
|
|
|
- 审核未通过
|
|
|
|
- </c:if>
|
|
|
|
- <c:if test="${vo.receiptStatus == 5}">
|
|
|
|
- <font color="red">收款撤销</font>
|
|
|
|
- </c:if>
|
|
|
|
|
|
+ <c:if test="${vo.receiptStatus == 1}">
|
|
|
|
+ 待确认
|
|
|
|
+ </c:if>
|
|
|
|
+ <c:if test="${vo.receiptStatus == 2}">
|
|
|
|
+ 已确认
|
|
|
|
+ </c:if>
|
|
|
|
+ <c:if test="${vo.receiptStatus == 3}">
|
|
|
|
+ 审核通过
|
|
|
|
+ </c:if>
|
|
|
|
+ <c:if test="${vo.receiptStatus == 4}">
|
|
|
|
+ 审核未通过
|
|
|
|
+ </c:if>
|
|
|
|
+ <c:if test="${vo.receiptStatus == 5}">
|
|
|
|
+ <font color="red">收款撤销</font>
|
|
|
|
+ </c:if>
|
|
</c:if>
|
|
</c:if>
|
|
<c:if test="${vo.payWay eq 3}">
|
|
<c:if test="${vo.payWay eq 3}">
|
|
----------
|
|
----------
|
|
@@ -209,7 +219,7 @@
|
|
</div>
|
|
</div>
|
|
</c:if>
|
|
</c:if>
|
|
</div>
|
|
</div>
|
|
- <c:if test="${vo.receiptType != 2}">
|
|
|
|
|
|
+ <c:if test="${vo.receiptType != 2 and vo.receiptType != 6}">
|
|
<h5>关联订单</h5>
|
|
<h5>关联订单</h5>
|
|
<div class="receipt-order-form">
|
|
<div class="receipt-order-form">
|
|
<c:forEach items="${vo.orderInfos}" var="orderInfo">
|
|
<c:forEach items="${vo.orderInfos}" var="orderInfo">
|
|
@@ -218,12 +228,16 @@
|
|
<div class="receipt-suborder-title">
|
|
<div class="receipt-suborder-title">
|
|
<span class="font-blue"><label>子订单编号:</label><a
|
|
<span class="font-blue"><label>子订单编号:</label><a
|
|
href="${ctx}/order/detail?id=${orderInfo.orderID}">${orderInfo.shopOrderNo}(${orderInfo.shopOrderID})</a></span>
|
|
href="${ctx}/order/detail?id=${orderInfo.orderID}">${orderInfo.shopOrderNo}(${orderInfo.shopOrderID})</a></span>
|
|
- <span><label>订单金额:</label>¥<fmt:formatNumber value="${orderInfo.shopOrderAmount}" pattern="#0.00"/></span>
|
|
|
|
|
|
+ <span><label>订单金额:</label>¥<fmt:formatNumber value="${orderInfo.shopOrderAmount}"
|
|
|
|
+ pattern="#0.00"/></span>
|
|
<span><label>供应商:</label>${orderInfo.shopName}</span>
|
|
<span><label>供应商:</label>${orderInfo.shopName}</span>
|
|
<c:if test="${vo.receiptType == 5}">
|
|
<c:if test="${vo.receiptType == 5}">
|
|
- <span><label>应付金额:</label>¥<fmt:formatNumber value="${orderInfo.shouldPayShopAmount}" pattern="#0.00"/></span>
|
|
|
|
- <span><label>已付金额:</label>¥<fmt:formatNumber value="${orderInfo.payedShopAmount}" pattern="#0.00"/></span>
|
|
|
|
- <span><label>已退金额:</label>¥<fmt:formatNumber value="${orderInfo.refundsAmount}" pattern="#0.00"/></span>
|
|
|
|
|
|
+ <span><label>应付金额:</label>¥<fmt:formatNumber value="${orderInfo.shouldPayShopAmount}"
|
|
|
|
+ pattern="#0.00"/></span>
|
|
|
|
+ <span><label>已付金额:</label>¥<fmt:formatNumber value="${orderInfo.payedShopAmount}"
|
|
|
|
+ pattern="#0.00"/></span>
|
|
|
|
+ <span><label>已退金额:</label>¥<fmt:formatNumber value="${orderInfo.refundsAmount}"
|
|
|
|
+ pattern="#0.00"/></span>
|
|
</c:if>
|
|
</c:if>
|
|
</div>
|
|
</div>
|
|
</c:if>
|
|
</c:if>
|
|
@@ -238,7 +252,8 @@
|
|
value="${empty orderInfo.receiptAmount ? 0 : orderInfo.receiptAmount}"
|
|
value="${empty orderInfo.receiptAmount ? 0 : orderInfo.receiptAmount}"
|
|
pattern="#0.00"/>
|
|
pattern="#0.00"/>
|
|
<span>
|
|
<span>
|
|
- <c:forEach items="${orderInfo.receiptRecordVo}" var="receiptRecord" varStatus="index">
|
|
|
|
|
|
+ <c:forEach items="${orderInfo.receiptRecordVo}" var="receiptRecord"
|
|
|
|
+ varStatus="index">
|
|
<c:if test="${receiptRecord.confirmType eq 1 || receiptRecord.confirmType eq 2 || receiptRecord.confirmType eq 3}">
|
|
<c:if test="${receiptRecord.confirmType eq 1 || receiptRecord.confirmType eq 2 || receiptRecord.confirmType eq 3}">
|
|
<label>抹平明细:</label>
|
|
<label>抹平明细:</label>
|
|
<c:if test="${receiptRecord.confirmType eq 1}">
|
|
<c:if test="${receiptRecord.confirmType eq 1}">
|
|
@@ -247,7 +262,9 @@
|
|
</c:if>
|
|
</c:if>
|
|
<c:if test="${!vo.receiptOrderFlag}">
|
|
<c:if test="${!vo.receiptOrderFlag}">
|
|
<font color="red">(少收抹平:
|
|
<font color="red">(少收抹平:
|
|
- ¥<fmt:formatNumber value="${orderInfo.payableAmount - (empty receiptRecord.orderReceivedAmount ? 0 : receiptRecord.orderReceivedAmount)}" pattern="#0.00"/>元)
|
|
|
|
|
|
+ ¥<fmt:formatNumber
|
|
|
|
+ value="${orderInfo.payableAmount - (empty receiptRecord.orderReceivedAmount ? 0 : receiptRecord.orderReceivedAmount)}"
|
|
|
|
+ pattern="#0.00"/>元)
|
|
</font>
|
|
</font>
|
|
</c:if>
|
|
</c:if>
|
|
</c:if>
|
|
</c:if>
|
|
@@ -257,7 +274,9 @@
|
|
</c:if>
|
|
</c:if>
|
|
<c:if test="${!vo.receiptOrderFlag}">
|
|
<c:if test="${!vo.receiptOrderFlag}">
|
|
<font color="red">(多收抹平:
|
|
<font color="red">(多收抹平:
|
|
- ¥<fmt:formatNumber value="${(empty receiptRecord.orderReceivedAmount ? 0 : receiptRecord.orderReceivedAmount) - orderInfo.payableAmount}" pattern="#0.00"/>元)
|
|
|
|
|
|
+ ¥<fmt:formatNumber
|
|
|
|
+ value="${(empty receiptRecord.orderReceivedAmount ? 0 : receiptRecord.orderReceivedAmount) - orderInfo.payableAmount}"
|
|
|
|
+ pattern="#0.00"/>元)
|
|
</font>
|
|
</font>
|
|
</c:if>
|
|
</c:if>
|
|
</c:if>
|
|
</c:if>
|
|
@@ -267,7 +286,9 @@
|
|
</c:if>
|
|
</c:if>
|
|
<c:if test="${!vo.receiptOrderFlag}">
|
|
<c:if test="${!vo.receiptOrderFlag}">
|
|
<font color="red">(多收退余额${receiptRecord.associationType eq 2 ? "(自动)" : ""}:
|
|
<font color="red">(多收退余额${receiptRecord.associationType eq 2 ? "(自动)" : ""}:
|
|
- ¥<fmt:formatNumber value="${(empty receiptRecord.returnBalanceAmount ? 0 : receiptRecord.returnBalanceAmount)}" pattern="#0.00"/>元)
|
|
|
|
|
|
+ ¥<fmt:formatNumber
|
|
|
|
+ value="${(empty receiptRecord.returnBalanceAmount ? 0 : receiptRecord.returnBalanceAmount)}"
|
|
|
|
+ pattern="#0.00"/>元)
|
|
</font>
|
|
</font>
|
|
</c:if>
|
|
</c:if>
|
|
</c:if>
|
|
</c:if>
|
|
@@ -289,8 +310,8 @@
|
|
<c:if test="${orderInfo.receiptStatus == 2}">部分收款</c:if>
|
|
<c:if test="${orderInfo.receiptStatus == 2}">部分收款</c:if>
|
|
<c:if test="${orderInfo.receiptStatus == 3}">已收款</c:if>
|
|
<c:if test="${orderInfo.receiptStatus == 3}">已收款</c:if>
|
|
</span>
|
|
</span>
|
|
- </div>
|
|
|
|
- <div class="receipt-order-row3">
|
|
|
|
|
|
+ </div>
|
|
|
|
+ <div class="receipt-order-row3">
|
|
<span><label>订单类型:</label><c:if test="${orderInfo.orderType == 0}">协销订单</c:if>
|
|
<span><label>订单类型:</label><c:if test="${orderInfo.orderType == 0}">协销订单</c:if>
|
|
<c:if test="${orderInfo.orderType == 1}">自主订单</c:if></span>
|
|
<c:if test="${orderInfo.orderType == 1}">自主订单</c:if></span>
|
|
<span><label>下单日期:</label>${orderInfo.orderTime}</span>
|
|
<span><label>下单日期:</label>${orderInfo.orderTime}</span>
|
|
@@ -326,39 +347,61 @@
|
|
</c:if>
|
|
</c:if>
|
|
<c:if test="${receiptRecord.payWay == 3}">
|
|
<c:if test="${receiptRecord.payWay == 3}">
|
|
<%--余额抵扣--%>
|
|
<%--余额抵扣--%>
|
|
- <span><a href="${ctx}/user/cmUserBalanceRecord/userBalanceRecord?userId=${orderInfo.userID}" style="text-decoration: underline">${fns:getPayTypeStr(receiptRecord.payType)}</a></span>
|
|
|
|
- <span><a href="${ctx}/user/cmUserBalanceRecord/userBalanceRecord?userId=${orderInfo.userID}" style="text-decoration: underline">${receiptRecord.receiptAmount}</a></span>
|
|
|
|
|
|
+ <span><a
|
|
|
|
+ href="${ctx}/user/cmUserBalanceRecord/userBalanceRecord?userId=${orderInfo.userID}"
|
|
|
|
+ style="text-decoration: underline">${fns:getPayTypeStr(receiptRecord.payType)}</a></span>
|
|
|
|
+ <span><a
|
|
|
|
+ href="${ctx}/user/cmUserBalanceRecord/userBalanceRecord?userId=${orderInfo.userID}"
|
|
|
|
+ style="text-decoration: underline">${receiptRecord.receiptAmount}</a></span>
|
|
</c:if>
|
|
</c:if>
|
|
<span>
|
|
<span>
|
|
<%-- 一款多单的时候直接显示再订单上即可,无需收款记录显示--%>
|
|
<%-- 一款多单的时候直接显示再订单上即可,无需收款记录显示--%>
|
|
<c:if test="${!vo.receiptOrderFlag}">
|
|
<c:if test="${!vo.receiptOrderFlag}">
|
|
- <c:if test="${receiptRecord.confirmType eq 1 || receiptRecord.confirmType eq 2 || receiptRecord.confirmType eq 3}">
|
|
|
|
- <label>抹平明细:</label>
|
|
|
|
- <c:if test="${receiptRecord.confirmType eq 1}">
|
|
|
|
|
|
+ <c:if test="${receiptRecord.confirmType eq 1 || receiptRecord.confirmType eq 2 || receiptRecord.confirmType eq 3}">
|
|
|
|
+ <label>抹平明细:</label>
|
|
|
|
+ <c:if test="${receiptRecord.confirmType eq 1}">
|
|
<font color="red">(少收抹平:
|
|
<font color="red">(少收抹平:
|
|
- ¥<fmt:formatNumber value="${orderInfo.payableAmount - (empty receiptRecord.orderReceivedAmount ? 0 : receiptRecord.orderReceivedAmount)}" pattern="#0.00"/>元)
|
|
|
|
|
|
+ ¥<fmt:formatNumber
|
|
|
|
+ value="${orderInfo.payableAmount - (empty receiptRecord.orderReceivedAmount ? 0 : receiptRecord.orderReceivedAmount)}"
|
|
|
|
+ pattern="#0.00"/>元)
|
|
</font>
|
|
</font>
|
|
- </c:if>
|
|
|
|
- <c:if test="${receiptRecord.confirmType eq 2}">
|
|
|
|
|
|
+ </c:if>
|
|
|
|
+ <c:if test="${receiptRecord.confirmType eq 2}">
|
|
<font color="red">(多收抹平:
|
|
<font color="red">(多收抹平:
|
|
- ¥<fmt:formatNumber value="${(empty receiptRecord.orderReceivedAmount ? 0 : receiptRecord.orderReceivedAmount) - orderInfo.payableAmount}" pattern="#0.00"/>元)
|
|
|
|
|
|
+ ¥<fmt:formatNumber
|
|
|
|
+ value="${(empty receiptRecord.orderReceivedAmount ? 0 : receiptRecord.orderReceivedAmount) - orderInfo.payableAmount}"
|
|
|
|
+ pattern="#0.00"/>元)
|
|
</font>
|
|
</font>
|
|
- </c:if>
|
|
|
|
- <c:if test="${receiptRecord.confirmType eq 3}">
|
|
|
|
|
|
+ </c:if>
|
|
|
|
+ <c:if test="${receiptRecord.confirmType eq 3}">
|
|
<font color="red">(多收退余额${receiptRecord.associationType eq 2 ? "(自动)" : ""}:
|
|
<font color="red">(多收退余额${receiptRecord.associationType eq 2 ? "(自动)" : ""}:
|
|
- ¥<fmt:formatNumber value="${(empty receiptRecord.returnBalanceAmount ? 0 : receiptRecord.returnBalanceAmount)}" pattern="#0.00"/>元)
|
|
|
|
|
|
+ ¥<fmt:formatNumber
|
|
|
|
+ value="${(empty receiptRecord.returnBalanceAmount ? 0 : receiptRecord.returnBalanceAmount)}"
|
|
|
|
+ pattern="#0.00"/>元)
|
|
</font>
|
|
</font>
|
|
- </c:if>
|
|
|
|
</c:if>
|
|
</c:if>
|
|
|
|
+ </c:if>
|
|
</c:if>
|
|
</c:if>
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</c:forEach>
|
|
</c:forEach>
|
|
</div>
|
|
</div>
|
|
- </div><br>
|
|
|
|
|
|
+ </div>
|
|
|
|
+ <br>
|
|
</c:forEach>
|
|
</c:forEach>
|
|
- </c:if>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
+ </c:if>
|
|
|
|
+ <c:if test="${vo.receiptType == 6}">
|
|
|
|
+ <h5>关联超级会员记录</h5>
|
|
|
|
+ <div class="receipt-order-form">
|
|
|
|
+ <div>
|
|
|
|
+ <c:if test="${not empty vo.vipInfo}">
|
|
|
|
+ <span>会员套餐:${vo.vipInfo.duration}个月</span>
|
|
|
|
+ <span>交易号:${vo.vipInfo.orderRequestNo}</span>
|
|
|
|
+ </c:if>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </c:if>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
<script>
|
|
(function () {
|
|
(function () {
|