|
@@ -46,10 +46,21 @@
|
|
.check-btn-wrapper input:last-child {
|
|
.check-btn-wrapper input:last-child {
|
|
margin-left: 10px;
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
|
|
+
|
|
.select-ele input-medium:hover .options {
|
|
.select-ele input-medium:hover .options {
|
|
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 () {
|
|
@@ -60,12 +71,12 @@
|
|
$(".secondType").hide();
|
|
$(".secondType").hide();
|
|
}
|
|
}
|
|
});
|
|
});
|
|
- $("#receipt").hover(function(){
|
|
|
|
- console.log(1);
|
|
|
|
- $("#mark-info").show();
|
|
|
|
- },function(){
|
|
|
|
- $("#mark-info").hide();
|
|
|
|
- })
|
|
|
|
|
|
+ $("#receipt").hover(function () {
|
|
|
|
+ console.log(1);
|
|
|
|
+ $("#mark-info").show();
|
|
|
|
+ }, function () {
|
|
|
|
+ $("#mark-info").hide();
|
|
|
|
+ })
|
|
|
|
|
|
function page(n, s) {
|
|
function page(n, s) {
|
|
$("#pageNo").val(n);
|
|
$("#pageNo").val(n);
|
|
@@ -90,9 +101,9 @@
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
- function changeReceiptType(){
|
|
|
|
|
|
+ function changeReceiptType() {
|
|
var receiptType = $("#receiptType").val();
|
|
var receiptType = $("#receiptType").val();
|
|
- var newReceiptType=$("#newReceiptType");
|
|
|
|
|
|
+ var newReceiptType = $("#newReceiptType");
|
|
if (receiptType == 2) {
|
|
if (receiptType == 2) {
|
|
$(".secondType").show();
|
|
$(".secondType").show();
|
|
} else {
|
|
} else {
|
|
@@ -117,7 +128,8 @@
|
|
<label>收款ID:</label>
|
|
<label>收款ID:</label>
|
|
<form:input path="id" htmlEscape="false" maxlength="20" class="input-medium" onchange="onlynum(this)"/>
|
|
<form:input path="id" htmlEscape="false" maxlength="20" class="input-medium" onchange="onlynum(this)"/>
|
|
<label>子订单ID:</label>
|
|
<label>子订单ID:</label>
|
|
- <form:input path="shopOrderId" htmlEscape="false" maxlength="20" class="input-medium" onchange="onlynum(this)"/>
|
|
|
|
|
|
+ <form:input path="shopOrderId" htmlEscape="false" maxlength="20" class="input-medium"
|
|
|
|
+ onchange="onlynum(this)"/>
|
|
<label>子订单编号:</label>
|
|
<label>子订单编号:</label>
|
|
<form:input path="shopOrderNo" htmlEscape="false" maxlength="50" class="input-medium"/>
|
|
<form:input path="shopOrderNo" htmlEscape="false" maxlength="50" class="input-medium"/>
|
|
<label>机构名称:</label>
|
|
<label>机构名称:</label>
|
|
@@ -157,19 +169,19 @@
|
|
<label>收款账号:</label>
|
|
<label>收款账号:</label>
|
|
<form:select path="payType" class="select-ele input-medium">
|
|
<form:select path="payType" class="select-ele input-medium">
|
|
<form:option value="" label="全部"/>
|
|
<form:option value="" label="全部"/>
|
|
-<%-- <c:forEach items="${offlineCollections}" var="offlineCollections" varStatus="index">--%>
|
|
|
|
- <form:options items="${cmReceiTypes}" itemLabel="type" itemValue="id"
|
|
|
|
- htmlEscape="false"/>
|
|
|
|
-<%-- </c:forEach>--%>
|
|
|
|
|
|
+ <%-- <c:forEach items="${offlineCollections}" var="offlineCollections" varStatus="index">--%>
|
|
|
|
+ <form:options items="${cmReceiTypes}" itemLabel="type" itemValue="id"
|
|
|
|
+ htmlEscape="false"/>
|
|
|
|
+ <%-- </c:forEach>--%>
|
|
</form:select>
|
|
</form:select>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div>
|
|
-<%-- <label>收款进度:</label>--%>
|
|
|
|
-<%-- <form:select path="receiptProgress" class="select-ele input-medium">--%>
|
|
|
|
-<%-- <form:option value="" label="全部"/>--%>
|
|
|
|
-<%-- <form:options items="${fns:getDictList('receiptProgress')}" itemLabel="label" itemValue="value"--%>
|
|
|
|
-<%-- htmlEscape="false"/>--%>
|
|
|
|
-<%-- </form:select>--%>
|
|
|
|
|
|
+ <%-- <label>收款进度:</label>--%>
|
|
|
|
+ <%-- <form:select path="receiptProgress" class="select-ele input-medium">--%>
|
|
|
|
+ <%-- <form:option value="" label="全部"/>--%>
|
|
|
|
+ <%-- <form:options items="${fns:getDictList('receiptProgress')}" itemLabel="label" itemValue="value"--%>
|
|
|
|
+ <%-- htmlEscape="false"/>--%>
|
|
|
|
+ <%-- </form:select>--%>
|
|
<label>订单类型:</label>
|
|
<label>订单类型:</label>
|
|
<form:select path="receiptOrderType" class="select-ele input-medium">
|
|
<form:select path="receiptOrderType" class="select-ele input-medium">
|
|
<form:option value="" label="全部"/>
|
|
<form:option value="" label="全部"/>
|
|
@@ -233,20 +245,20 @@
|
|
<td><fmt:formatNumber type="number" pattern="#,##0.00"
|
|
<td><fmt:formatNumber type="number" pattern="#,##0.00"
|
|
value="${cmDiscernReceipt.receiptAmount}"/></td>
|
|
value="${cmDiscernReceipt.receiptAmount}"/></td>
|
|
<c:if test="${cmDiscernReceipt.receiptType != 2}">
|
|
<c:if test="${cmDiscernReceipt.receiptType != 2}">
|
|
- <td>
|
|
|
|
- <c:if test="${cmDiscernReceipt.payWay == '1'}">
|
|
|
|
- 线上
|
|
|
|
- </c:if>
|
|
|
|
- <c:if test="${cmDiscernReceipt.payWay == '2'}">
|
|
|
|
- 线下
|
|
|
|
- </c:if>
|
|
|
|
- <c:if test="${cmDiscernReceipt.payWay == '3'}">
|
|
|
|
- 余额抵扣
|
|
|
|
- </c:if>
|
|
|
|
- <c:if test="${cmDiscernReceipt.payWay != '1' && cmDiscernReceipt.payWay != '2'&& cmDiscernReceipt.payWay != '3'}">
|
|
|
|
- ---
|
|
|
|
- </c:if>
|
|
|
|
- </td>
|
|
|
|
|
|
+ <td>
|
|
|
|
+ <c:if test="${cmDiscernReceipt.payWay == '1'}">
|
|
|
|
+ 线上
|
|
|
|
+ </c:if>
|
|
|
|
+ <c:if test="${cmDiscernReceipt.payWay == '2'}">
|
|
|
|
+ 线下
|
|
|
|
+ </c:if>
|
|
|
|
+ <c:if test="${cmDiscernReceipt.payWay == '3'}">
|
|
|
|
+ 余额抵扣
|
|
|
|
+ </c:if>
|
|
|
|
+ <c:if test="${cmDiscernReceipt.payWay != '1' && cmDiscernReceipt.payWay != '2'&& cmDiscernReceipt.payWay != '3'}">
|
|
|
|
+ ---
|
|
|
|
+ </c:if>
|
|
|
|
+ </td>
|
|
</c:if>
|
|
</c:if>
|
|
<c:if test="${cmDiscernReceipt.receiptType == 2}">
|
|
<c:if test="${cmDiscernReceipt.receiptType == 2}">
|
|
<td>
|
|
<td>
|
|
@@ -263,21 +275,21 @@
|
|
</c:if>
|
|
</c:if>
|
|
<td>
|
|
<td>
|
|
${fns:getDictLabel(cmDiscernReceipt.receiptType, 'receiptType', null)}
|
|
${fns:getDictLabel(cmDiscernReceipt.receiptType, 'receiptType', null)}
|
|
- <c:if test="${cmDiscernReceipt.receiptType eq 2 or cmDiscernReceipt.receiptType eq 9}">
|
|
|
|
- <c:if test="${cmDiscernReceipt.newReceiptType eq 1}">-上架费</c:if>
|
|
|
|
- <c:if test="${cmDiscernReceipt.newReceiptType eq 2}">-服务返佣</c:if>
|
|
|
|
- <c:if test="${cmDiscernReceipt.newReceiptType eq 3}">-认证通会员</c:if>
|
|
|
|
- <c:if test="${cmDiscernReceipt.receiptType eq 9}">认证通会员</c:if>
|
|
|
|
- <c:if test="${cmDiscernReceipt.newReceiptType eq 4}">-认证通企划</c:if>
|
|
|
|
- <c:if test="${cmDiscernReceipt.newReceiptType eq 5}">-其他</c:if>
|
|
|
|
- </c:if>
|
|
|
|
|
|
+ <c:if test="${cmDiscernReceipt.receiptType eq 2 or cmDiscernReceipt.receiptType eq 9}">
|
|
|
|
+ <c:if test="${cmDiscernReceipt.newReceiptType eq 1}">-上架费</c:if>
|
|
|
|
+ <c:if test="${cmDiscernReceipt.newReceiptType eq 2}">-服务返佣</c:if>
|
|
|
|
+ <c:if test="${cmDiscernReceipt.newReceiptType eq 3}">-认证通会员</c:if>
|
|
|
|
+ <c:if test="${cmDiscernReceipt.receiptType eq 9}">认证通会员</c:if>
|
|
|
|
+ <c:if test="${cmDiscernReceipt.newReceiptType eq 4}">-认证通企划</c:if>
|
|
|
|
+ <c:if test="${cmDiscernReceipt.newReceiptType eq 5}">-其他</c:if>
|
|
|
|
+ </c:if>
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
<c:if test="${cmDiscernReceipt.organizeID == 1||cmDiscernReceipt.organizeID == 4}">
|
|
<c:if test="${cmDiscernReceipt.organizeID == 1||cmDiscernReceipt.organizeID == 4}">
|
|
- 线下凭证
|
|
|
|
|
|
+ 线下凭证
|
|
</c:if>
|
|
</c:if>
|
|
<c:if test="${!(cmDiscernReceipt.organizeID == 1||cmDiscernReceipt.organizeID == 4)}">
|
|
<c:if test="${!(cmDiscernReceipt.organizeID == 1||cmDiscernReceipt.organizeID == 4)}">
|
|
- ${cmDiscernReceipt.bankNameType}
|
|
|
|
|
|
+ ${cmDiscernReceipt.bankNameType}
|
|
</c:if>
|
|
</c:if>
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
@@ -308,6 +320,9 @@
|
|
<c:if test="${cmDiscernReceipt.payWay == '1' && empty cmDiscernReceipt.shopName}">
|
|
<c:if test="${cmDiscernReceipt.payWay == '1' && empty cmDiscernReceipt.shopName}">
|
|
采美
|
|
采美
|
|
</c:if>
|
|
</c:if>
|
|
|
|
+ <c:if test="${cmDiscernReceipt.payWay == '2' && (cmDiscernReceipt.receiptType== 10 || cmDiscernReceipt.receiptType== 11)}">
|
|
|
|
+ 采美
|
|
|
|
+ </c:if>
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
<c:if test="${cmDiscernReceipt.organizeID == 1}">
|
|
<c:if test="${cmDiscernReceipt.organizeID == 1}">
|
|
@@ -329,21 +344,21 @@
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
${cmDiscernReceipt.orderType}
|
|
${cmDiscernReceipt.orderType}
|
|
-<%-- <c:if test="${cmDiscernReceipt.receiptType != 6}">${cmDiscernReceipt.orderType}</c:if>--%>
|
|
|
|
-<%-- <c:if test="${cmDiscernReceipt.receiptType == 6}">-----</c:if>--%>
|
|
|
|
-<%-- <c:if test="${cmDiscernReceipt.receiptType == 7}">-----</c:if>--%>
|
|
|
|
-<%-- <c:if test="${cmDiscernReceipt.receiptType == 8}">-----</c:if>--%>
|
|
|
|
|
|
+ <%-- <c:if test="${cmDiscernReceipt.receiptType != 6}">${cmDiscernReceipt.orderType}</c:if>--%>
|
|
|
|
+ <%-- <c:if test="${cmDiscernReceipt.receiptType == 6}">-----</c:if>--%>
|
|
|
|
+ <%-- <c:if test="${cmDiscernReceipt.receiptType == 7}">-----</c:if>--%>
|
|
|
|
+ <%-- <c:if test="${cmDiscernReceipt.receiptType == 8}">-----</c:if>--%>
|
|
</td>
|
|
</td>
|
|
- <td> <%-- <a href="${ctx}/order/detail?id=${cmDiscernReceipt.orderID}">${cmDiscernReceipt.shopOrderNo}(${cmDiscernReceipt.orderID})</a>--%>
|
|
|
|
-<%-- <c:if test="${cmDiscernReceipt.newReceiptType eq 2 && not empty cmDiscernReceipt.shopOrderNo}"><a href="${ctx}/order/detail?id=${cmDiscernReceipt.orderID}">${cmDiscernReceipt.shopOrderNo}(${cmDiscernReceipt.shopOrderId})</a></c:if>--%>
|
|
|
|
-<%-- <c:if test="${cmDiscernReceipt.receiptType != 6}">${cmDiscernReceipt.orders}</c:if>--%>
|
|
|
|
-<%-- <c:if test="${cmDiscernReceipt.receiptType == 6}">-----</c:if>--%>
|
|
|
|
-<%-- <c:if test="${cmDiscernReceipt.receiptType == 7}">-----</c:if>--%>
|
|
|
|
|
|
+ <td> <%-- <a href="${ctx}/order/detail?id=${cmDiscernReceipt.orderID}">${cmDiscernReceipt.shopOrderNo}(${cmDiscernReceipt.orderID})</a>--%>
|
|
|
|
+ <%-- <c:if test="${cmDiscernReceipt.newReceiptType eq 2 && not empty cmDiscernReceipt.shopOrderNo}"><a href="${ctx}/order/detail?id=${cmDiscernReceipt.orderID}">${cmDiscernReceipt.shopOrderNo}(${cmDiscernReceipt.shopOrderId})</a></c:if>--%>
|
|
|
|
+ <%-- <c:if test="${cmDiscernReceipt.receiptType != 6}">${cmDiscernReceipt.orders}</c:if>--%>
|
|
|
|
+ <%-- <c:if test="${cmDiscernReceipt.receiptType == 6}">-----</c:if>--%>
|
|
|
|
+ <%-- <c:if test="${cmDiscernReceipt.receiptType == 7}">-----</c:if>--%>
|
|
${cmDiscernReceipt.orders}
|
|
${cmDiscernReceipt.orders}
|
|
- <%--<c:if test="${cmDiscernReceipt.shopOrderId == null}">-----</c:if>
|
|
|
|
- <c:if test="${cmDiscernReceipt.shopOrderId != null}">
|
|
|
|
- <a href="${ctx}/order/detail?id=${cmDiscernReceipt.orderID}&shopOrderID=${cmDiscernReceipt.shopOrderId}">子订单${cmDiscernReceipt.shopOrderNo}(${cmDiscernReceipt.shopOrderId})</a>
|
|
|
|
- </c:if>--%>
|
|
|
|
|
|
+ <%--<c:if test="${cmDiscernReceipt.shopOrderId == null}">-----</c:if>
|
|
|
|
+ <c:if test="${cmDiscernReceipt.shopOrderId != null}">
|
|
|
|
+ <a href="${ctx}/order/detail?id=${cmDiscernReceipt.orderID}&shopOrderID=${cmDiscernReceipt.shopOrderId}">子订单${cmDiscernReceipt.shopOrderNo}(${cmDiscernReceipt.shopOrderId})</a>
|
|
|
|
+ </c:if>--%>
|
|
</td>
|
|
</td>
|
|
<shiro:hasPermission name="order:cmDiscernReceipt:edit">
|
|
<shiro:hasPermission name="order:cmDiscernReceipt:edit">
|
|
<td>
|
|
<td>
|