|
@@ -420,9 +420,12 @@
|
|
|
<th>付款状态</th>
|
|
|
<th>应付金额</th>
|
|
|
<th>已付金额</th>
|
|
|
+ <th>结算状态</th>
|
|
|
+ <th>应结金额</th>
|
|
|
+ <th>已结金额</th>
|
|
|
<th>退款状态</th>
|
|
|
<th>退款金额</th>
|
|
|
- <th colspan="2">机构</th>
|
|
|
+ <th>机构</th>
|
|
|
<th>优惠券</th>
|
|
|
<th>经理折扣</th>
|
|
|
<th>机构运费</th>
|
|
@@ -495,6 +498,22 @@
|
|
|
<fmt:formatNumber value="${s.paid}" type="number" pattern="#,##0.00"/>
|
|
|
</c:if>
|
|
|
</td>
|
|
|
+ <td>
|
|
|
+ <c:if test="${s.onlinePayFlag eq 0}">
|
|
|
+ <c:if test="${s.settleAmount<s.shouldPayShopAmount&&s.settleAmount>0}">部分结算</c:if>
|
|
|
+ <c:if test="${s.settleAmount=s.shouldPayShopAmount&&s.settleAmount>0}">已结算</c:if>
|
|
|
+ <c:if test="${s.settleAmount=0}">未结算</c:if>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${s.onlinePayFlag eq 1}">---</c:if>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <c:if test="${s.onlinePayFlag eq 0}"><fmt:formatNumber value="${s.shouldPayShopAmount}" type="number" pattern="#,##0.00"/></c:if>
|
|
|
+ <c:if test="${s.onlinePayFlag eq 1}">---</c:if>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <c:if test="${s.onlinePayFlag eq 0}"><fmt:formatNumber value="${s.settleAmount}" type="number" pattern="#,##0.00"/></c:if>
|
|
|
+ <c:if test="${s.onlinePayFlag eq 1}">---</c:if>
|
|
|
+ </td>
|
|
|
<td>
|
|
|
<c:if test="${s.refundType == 1}">
|
|
|
<font color="#ff8c00">部分退款</font>
|
|
@@ -507,7 +526,7 @@
|
|
|
</c:if>
|
|
|
</td>
|
|
|
<td><fmt:formatNumber value="${s.returnValue}" type="number" pattern="#,##0.00"/></td>
|
|
|
- <td colspan="2">
|
|
|
+ <td>
|
|
|
<c:if test="${s.organizeID == '1'}">
|
|
|
<span class="org-note">星范</span>
|
|
|
</c:if>
|
|
@@ -553,8 +572,8 @@
|
|
|
<th colspan="2">应付供应商</th>
|
|
|
<th colspan="3">应付税费</th>
|
|
|
<th>供应商运费</th>
|
|
|
- <th>付第三方</th>
|
|
|
- <th>成本类型</th>
|
|
|
+ <th colspan="2">付第三方</th>
|
|
|
+ <th colspan="2">成本类型</th>
|
|
|
</tr>
|
|
|
<tr class="t2">
|
|
|
<td colspan="3">${so.shopOrderNo}(${so.shopOrderID})</td>
|
|
@@ -586,8 +605,8 @@
|
|
|
pattern="#,##0.00"/></td>
|
|
|
<td class="product-freight"><fmt:formatNumber value="${so.shopPostFee}" type="number"
|
|
|
pattern="#,##0.00"/></td>
|
|
|
- <td><fmt:formatNumber value="${so.shopOtherFee}" type="number" pattern="#,##0.00"/></td>
|
|
|
- <td><c:if test="${empty so.costType || so.costType == '1'}">固定成本</c:if><c:if
|
|
|
+ <td colspan="2"><fmt:formatNumber value="${so.shopOtherFee}" type="number" pattern="#,##0.00"/></td>
|
|
|
+ <td colspan="2"><c:if test="${empty so.costType || so.costType == '1'}">固定成本</c:if><c:if
|
|
|
test="${so.costType == '2'}">比例成本</c:if></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
@@ -600,7 +619,7 @@
|
|
|
<th colspan="2">总价</th>
|
|
|
<th colspan="3">供应商税率 / 单税费 / 总税费</th>
|
|
|
<th>成本(单)</th>
|
|
|
- <th colspan="2">成本(总)</th>
|
|
|
+ <th colspan="4">成本(总)</th>
|
|
|
</tr>
|
|
|
<c:forEach items="${so.newOrderProducts}" var="p" varStatus="pIndex">
|
|
|
<tr class="pay-product-item">
|
|
@@ -651,7 +670,7 @@
|
|
|
</c:otherwise>
|
|
|
</c:choose></td>
|
|
|
<td><fmt:formatNumber value="${p.costPrice}" type="number" pattern="#,##0.00"/></td>
|
|
|
- <td colspan="2"><fmt:formatNumber
|
|
|
+ <td colspan="4"><fmt:formatNumber
|
|
|
value="${p.costPrice * (p.num + p.presentNum - p.returnedNum)}" type="number"
|
|
|
pattern="#,##0.00"/></td>
|
|
|
</tr>
|