|
@@ -410,7 +410,7 @@
|
|
<tr>
|
|
<tr>
|
|
<th>订单编号(ID)</th>
|
|
<th>订单编号(ID)</th>
|
|
<th colspan="3"> 供应商</th>
|
|
<th colspan="3"> 供应商</th>
|
|
-<%-- <th colspan="3">子订单佣金</th>--%>
|
|
|
|
|
|
+ <%-- <th colspan="3">子订单佣金</th>--%>
|
|
<th colspan="6">商品费</th>
|
|
<th colspan="6">商品费</th>
|
|
<th>应付税费</th>
|
|
<th>应付税费</th>
|
|
<th>供应商运费</th>
|
|
<th>供应商运费</th>
|
|
@@ -422,14 +422,15 @@
|
|
<tr>
|
|
<tr>
|
|
<td> ${s.orderNo}(${s.orderID})</td>
|
|
<td> ${s.orderNo}(${s.orderID})</td>
|
|
<td colspan="3">${s.shopName}</td>
|
|
<td colspan="3">${s.shopName}</td>
|
|
-<%-- <td colspan="3" class="payCm-t">子订单佣金</td>--%>
|
|
|
|
|
|
+ <%-- <td colspan="3" class="payCm-t">子订单佣金</td>--%>
|
|
<td colspan="6" class="product-fee">${s.shopProductAmount}</td>
|
|
<td colspan="6" class="product-fee">${s.shopProductAmount}</td>
|
|
|
|
|
|
<td class="taxes">
|
|
<td class="taxes">
|
|
<fmt:formatNumber value="${s.shopTaxFee}" type="number" pattern="#,##0.00"/>
|
|
<fmt:formatNumber value="${s.shopTaxFee}" type="number" pattern="#,##0.00"/>
|
|
</td>
|
|
</td>
|
|
|
|
|
|
- <td class="freight"><fmt:formatNumber value="${empty s.supplierFreight ? 0 : s.supplierFreight}" type="number"
|
|
|
|
|
|
+ <td class="freight"><fmt:formatNumber value="${empty s.supplierFreight ? 0 : s.supplierFreight}"
|
|
|
|
+ type="number"
|
|
pattern="#,##0.00"/></td>
|
|
pattern="#,##0.00"/></td>
|
|
|
|
|
|
<td>
|
|
<td>
|
|
@@ -574,7 +575,8 @@
|
|
<div>
|
|
<div>
|
|
<label style="font-weight: bold; font-size:18px">转账支付:</label>
|
|
<label style="font-weight: bold; font-size:18px">转账支付:</label>
|
|
<span id="transferPayFee" style="font-weight: bold; font-size:18px"><fmt:formatNumber
|
|
<span id="transferPayFee" style="font-weight: bold; font-size:18px"><fmt:formatNumber
|
|
- value="${cmPayShop.transferPayFee + cmPayShop.cmShopOtherFee}" pattern="#,##0.00"/> </span>
|
|
|
|
|
|
+ value="${cmPayShop.shopOrders[0].shopOtherFee + cmPayShop.shopOrders[0].cmShopOtherFee}"
|
|
|
|
+ pattern="#,##0.00"/> </span>
|
|
<label>付款银行:</label><span>
|
|
<label>付款银行:</label><span>
|
|
<select name="payType" style="width: 200px">
|
|
<select name="payType" style="width: 200px">
|
|
<option value="">请选择</option>
|
|
<option value="">请选择</option>
|
|
@@ -596,11 +598,12 @@
|
|
<span>${cmPayShop.shopOrders[0].cmShopOtherFee}</span>
|
|
<span>${cmPayShop.shopOrders[0].cmShopOtherFee}</span>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
- <label style="font-weight: bold; font-size:18px">转账支付:</label>
|
|
|
|
- <span id="" style="font-weight: bold; font-size:18px">
|
|
|
|
|
|
+ <label style="font-weight: bold; font-size:18px">转账支付:</label>
|
|
|
|
+ <span id="" style="font-weight: bold; font-size:18px">
|
|
<fmt:formatNumber
|
|
<fmt:formatNumber
|
|
- value="${cmPayShop.transferPayFee + cmPayShop.cmShopOtherFee}" pattern="#,##0.00"/> </span>
|
|
|
|
- <label>付款银行:</label><span>
|
|
|
|
|
|
+ value="${cmPayShop.shopOrders[0].shopOtherFee + cmPayShop.shopOrders[0].cmShopOtherFee}"
|
|
|
|
+ pattern="#,##0.00"/> </span>
|
|
|
|
+ <label>付款银行:</label><span>
|
|
<select name="cmOtherPayType" style="width: 200px">
|
|
<select name="cmOtherPayType" style="width: 200px">
|
|
<option value="">请选择</option>
|
|
<option value="">请选择</option>
|
|
<c:forEach items="${offlineCollections}" var="offlineCollections">
|
|
<c:forEach items="${offlineCollections}" var="offlineCollections">
|
|
@@ -609,44 +612,44 @@
|
|
</select>
|
|
</select>
|
|
</span>
|
|
</span>
|
|
|
|
|
|
- <label>付款时间:</label>
|
|
|
|
- <span>${cmPayShop.cmOtherPayTime}</span>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <label>付款时间:</label>
|
|
|
|
+ <span>${cmPayShop.cmOtherPayTime}</span>
|
|
|
|
+ </div>
|
|
|
|
|
|
-<%-- <div>--%>
|
|
|
|
-<%-- <label><em class="required">* </em>付款账号:</label>--%>
|
|
|
|
-<%-- <c:if test="${cmPayShop.cmOtherPayType eq '6'}">--%>
|
|
|
|
-<%-- 无--%>
|
|
|
|
-<%-- </c:if>--%>
|
|
|
|
-<%-- <c:if test="${cmPayShop.cmOtherPayType ne '6'}">--%>
|
|
|
|
-<%-- <span>户名:${cmPayShop.cmBankAccountName}</span>--%>
|
|
|
|
-<%-- <span>账号:${cmPayShop.cmBankAccount}</span>--%>
|
|
|
|
-<%-- <span>开户行:${cmPayShop.cmBankName}</span>--%>
|
|
|
|
-<%-- <span>账户类型:--%>
|
|
|
|
-<%-- <c:if test="${cmPayShop.cmType == '0'}">公帐</c:if>--%>
|
|
|
|
-<%-- <c:if test="${cmPayShop.cmType == '1'}">私帐</c:if>--%>
|
|
|
|
-<%-- </span>--%>
|
|
|
|
-<%-- </c:if>--%>
|
|
|
|
-<%-- </div>--%>
|
|
|
|
-<%-- <c:if test="${cmPayShop.cmOtherPayType ne '6'}">--%>
|
|
|
|
-<%-- <div>--%>
|
|
|
|
-<%-- <label style="font-weight: bold; font-size:18px">转账支付:</label>--%>
|
|
|
|
-<%-- <span id="transferAmount" style="font-weight: bold; font-size:18px"><fmt:formatNumber--%>
|
|
|
|
-<%-- value="${cmPayShop.cmShopOtherFee + cmPayShop.totalAmount}" pattern="#,##0.00"/></span>--%>
|
|
|
|
-<%-- <c:if test="${cmPayShop.status != '2'}">--%>
|
|
|
|
-<%-- <c:if test="${not empty cmPayShop.cmOtherPayType }">--%>
|
|
|
|
-<%-- <label>付款银行:</label>--%>
|
|
|
|
-<%-- <span id="payType">--%>
|
|
|
|
-<%-- ${cmPayShop.cmBankNameType}--%>
|
|
|
|
-<%-- </span>--%>
|
|
|
|
-<%-- </c:if>--%>
|
|
|
|
-<%-- <c:if test="${cmPayShop.status != '0'}">--%>
|
|
|
|
-<%-- <label>付款时间:</label>--%>
|
|
|
|
-<%-- <span>${cmPayShop.cmOtherPayTime}</span>--%>
|
|
|
|
-<%-- </c:if>--%>
|
|
|
|
-<%-- </c:if>--%>
|
|
|
|
-<%-- </div>--%>
|
|
|
|
-<%-- </c:if>--%>
|
|
|
|
|
|
+ <%-- <div>--%>
|
|
|
|
+ <%-- <label><em class="required">* </em>付款账号:</label>--%>
|
|
|
|
+ <%-- <c:if test="${cmPayShop.cmOtherPayType eq '6'}">--%>
|
|
|
|
+ <%-- 无--%>
|
|
|
|
+ <%-- </c:if>--%>
|
|
|
|
+ <%-- <c:if test="${cmPayShop.cmOtherPayType ne '6'}">--%>
|
|
|
|
+ <%-- <span>户名:${cmPayShop.cmBankAccountName}</span>--%>
|
|
|
|
+ <%-- <span>账号:${cmPayShop.cmBankAccount}</span>--%>
|
|
|
|
+ <%-- <span>开户行:${cmPayShop.cmBankName}</span>--%>
|
|
|
|
+ <%-- <span>账户类型:--%>
|
|
|
|
+ <%-- <c:if test="${cmPayShop.cmType == '0'}">公帐</c:if>--%>
|
|
|
|
+ <%-- <c:if test="${cmPayShop.cmType == '1'}">私帐</c:if>--%>
|
|
|
|
+ <%-- </span>--%>
|
|
|
|
+ <%-- </c:if>--%>
|
|
|
|
+ <%-- </div>--%>
|
|
|
|
+ <%-- <c:if test="${cmPayShop.cmOtherPayType ne '6'}">--%>
|
|
|
|
+ <%-- <div>--%>
|
|
|
|
+ <%-- <label style="font-weight: bold; font-size:18px">转账支付:</label>--%>
|
|
|
|
+ <%-- <span id="transferAmount" style="font-weight: bold; font-size:18px"><fmt:formatNumber--%>
|
|
|
|
+ <%-- value="${cmPayShop.cmShopOtherFee + cmPayShop.totalAmount}" pattern="#,##0.00"/></span>--%>
|
|
|
|
+ <%-- <c:if test="${cmPayShop.status != '2'}">--%>
|
|
|
|
+ <%-- <c:if test="${not empty cmPayShop.cmOtherPayType }">--%>
|
|
|
|
+ <%-- <label>付款银行:</label>--%>
|
|
|
|
+ <%-- <span id="payType">--%>
|
|
|
|
+ <%-- ${cmPayShop.cmBankNameType}--%>
|
|
|
|
+ <%-- </span>--%>
|
|
|
|
+ <%-- </c:if>--%>
|
|
|
|
+ <%-- <c:if test="${cmPayShop.status != '0'}">--%>
|
|
|
|
+ <%-- <label>付款时间:</label>--%>
|
|
|
|
+ <%-- <span>${cmPayShop.cmOtherPayTime}</span>--%>
|
|
|
|
+ <%-- </c:if>--%>
|
|
|
|
+ <%-- </c:if>--%>
|
|
|
|
+ <%-- </div>--%>
|
|
|
|
+ <%-- </c:if>--%>
|
|
</div>
|
|
</div>
|
|
<br/>
|
|
<br/>
|
|
<div class="process-details">
|
|
<div class="process-details">
|
|
@@ -757,8 +760,9 @@
|
|
}
|
|
}
|
|
|
|
|
|
$('.check-cfm-btn').on('click', function (e) {
|
|
$('.check-cfm-btn').on('click', function (e) {
|
|
- var payType = $('select[name="payType"]').val(),
|
|
|
|
- id = $('#id').val();
|
|
|
|
|
|
+ var payType = $('select[name="payType"]').val();
|
|
|
|
+ var cmPayType = $('select[name="cmPayType"]').val();
|
|
|
|
+ id = $('#id').val();
|
|
if ($(this).hasClass('check-blue-btn')) {
|
|
if ($(this).hasClass('check-blue-btn')) {
|
|
var textareaVal = $('#refuse-reasn').val();
|
|
var textareaVal = $('#refuse-reasn').val();
|
|
if (!textareaVal.trim()) {
|
|
if (!textareaVal.trim()) {
|
|
@@ -771,7 +775,7 @@
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
if (accessFlag) {
|
|
if (accessFlag) {
|
|
- window.location.href = '${ctx}/order/cmPayShop/checkPass?payType=' + payType + '&id=' + id;
|
|
|
|
|
|
+ window.location.href = '${ctx}/order/cmPayShop/checkPass?payType=' + payType + '&id=' + id + '$cmOtherPayType=' + cmPayType;
|
|
accessFlag = false;
|
|
accessFlag = false;
|
|
}
|
|
}
|
|
}
|
|
}
|