|
@@ -52,9 +52,15 @@
|
|
.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 () {
|
|
|
|
+ $("#receiptType").mouseover(function(){
|
|
|
|
+ console.log( $("#receiptType").val())
|
|
|
|
+ $("#mark-info").show();
|
|
|
|
+ $("#receiptType").mouseout(function(){
|
|
|
|
+ $("#mark-info").hide();
|
|
|
|
+ });
|
|
|
|
+ });
|
|
|
|
+ });
|
|
$("#receipt").hover(function(){
|
|
$("#receipt").hover(function(){
|
|
console.log(1);
|
|
console.log(1);
|
|
$("#mark-info").show();
|
|
$("#mark-info").show();
|
|
@@ -84,20 +90,15 @@
|
|
obj.value = obj.value.replace(/[^\d]/g, ""); //清除"数字"以外的字符
|
|
obj.value = obj.value.replace(/[^\d]/g, ""); //清除"数字"以外的字符
|
|
}
|
|
}
|
|
|
|
|
|
- debugger
|
|
|
|
- function myClickshow(one){
|
|
|
|
- var event=document.getElementById("mark-info");
|
|
|
|
- event.style.display="block";
|
|
|
|
- }
|
|
|
|
- function myClickhide(one){
|
|
|
|
- var event=document.getElementById("mark-info");
|
|
|
|
- event.style.display="none";
|
|
|
|
- }
|
|
|
|
|
|
|
|
function changeReceiptType(){
|
|
function changeReceiptType(){
|
|
debugger
|
|
debugger
|
|
var receiptType = $("#receiptType").val();
|
|
var receiptType = $("#receiptType").val();
|
|
- alertx(receiptType)
|
|
|
|
|
|
+ if (receiptType == 2) {
|
|
|
|
+ $(".secondType").show();
|
|
|
|
+ } else {
|
|
|
|
+ $(".secondType").hide();
|
|
|
|
+ }
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
</head>
|
|
</head>
|
|
@@ -133,12 +134,15 @@
|
|
<form:options items="${fns:getDictList('receiptType')}" itemLabel="label" itemValue="value"
|
|
<form:options items="${fns:getDictList('receiptType')}" itemLabel="label" itemValue="value"
|
|
htmlEscape="false"/>
|
|
htmlEscape="false"/>
|
|
</form:select>
|
|
</form:select>
|
|
- <ul id="mark-info" style="display: none">
|
|
|
|
- <li>1</li>
|
|
|
|
- <li>1</li>
|
|
|
|
- <li>1</li>
|
|
|
|
- <li>1</li>
|
|
|
|
- </ul>
|
|
|
|
|
|
+ <label class="secondType" style="display: none">二级分类:</label>
|
|
|
|
+ <form:select path="newReceiptType" class="select-ele input-medium secondType" style="display: none">
|
|
|
|
+ <form:option value="" label="全部"/>
|
|
|
|
+ <form:option value="1" label="上架费"/>
|
|
|
|
+ <form:option value="2" label="订单返佣"/>
|
|
|
|
+ <form:option value="3" label="认证通会员"/>
|
|
|
|
+ <form:option value="4" label="认证通企划"/>
|
|
|
|
+ </form:select>
|
|
|
|
+
|
|
<label>收款状态:</label>
|
|
<label>收款状态:</label>
|
|
<form:select path="receiptStatus" class="select-ele input-medium">
|
|
<form:select path="receiptStatus" class="select-ele input-medium">
|
|
<form:option value="" label="全部"/>
|
|
<form:option value="" label="全部"/>
|
|
@@ -221,6 +225,7 @@
|
|
<td>${cmDiscernReceipt.receiptDate}</td>
|
|
<td>${cmDiscernReceipt.receiptDate}</td>
|
|
<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}">
|
|
<td>
|
|
<td>
|
|
<c:if test="${cmDiscernReceipt.payWay == '1'}">
|
|
<c:if test="${cmDiscernReceipt.payWay == '1'}">
|
|
线上
|
|
线上
|
|
@@ -235,9 +240,37 @@
|
|
---
|
|
---
|
|
</c:if>
|
|
</c:if>
|
|
</td>
|
|
</td>
|
|
- <td>${fns:getDictLabel(cmDiscernReceipt.receiptType, 'receiptType', null)}</td>
|
|
|
|
|
|
+ </c:if>
|
|
|
|
+ <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 != '1' && cmDiscernReceipt.payWay != '2'&& cmDiscernReceipt.payWay != '3'}">
|
|
|
|
+ ---
|
|
|
|
+ </c:if>
|
|
|
|
+ </td>
|
|
|
|
+ </c:if>
|
|
|
|
+ <td>
|
|
|
|
+ ${fns:getDictLabel(cmDiscernReceipt.receiptType, 'receiptType', null)}
|
|
|
|
+ <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.newReceiptType eq 4}">-认证通企划</c:if>
|
|
|
|
+ </td>
|
|
<td>${fns:getDictLabel(cmDiscernReceipt.payType, 'payType', null)}</td>
|
|
<td>${fns:getDictLabel(cmDiscernReceipt.payType, 'payType', null)}</td>
|
|
<td>
|
|
<td>
|
|
|
|
+ <c:if test="${cmDiscernReceipt.payWay == 2 && cmDiscernReceipt.newReceiptType == 3}">
|
|
|
|
+ <c:if test="${empty cmDiscernReceipt.receiptStatus}"><strong>____</strong></c:if>
|
|
|
|
+ <c:if test="${cmDiscernReceipt.receiptStatus == 1}"><strong>待确认</strong></c:if>
|
|
|
|
+ <c:if test="${cmDiscernReceipt.receiptStatus == 2}">已确认</c:if>
|
|
|
|
+ <c:if test="${cmDiscernReceipt.receiptStatus == 3}">审核通过</c:if>
|
|
|
|
+ <c:if test="${cmDiscernReceipt.receiptStatus == 4}"><font color="red">审核未通过</font></c:if>
|
|
|
|
+ <c:if test="${cmDiscernReceipt.receiptStatus == 5}"><font color="red">收款撤销</font></c:if>
|
|
|
|
+ </c:if>
|
|
<c:if test="${cmDiscernReceipt.payWay == 2}">
|
|
<c:if test="${cmDiscernReceipt.payWay == 2}">
|
|
<c:if test="${cmDiscernReceipt.receiptStatus == 1}"><strong>待确认</strong></c:if>
|
|
<c:if test="${cmDiscernReceipt.receiptStatus == 1}"><strong>待确认</strong></c:if>
|
|
<c:if test="${cmDiscernReceipt.receiptStatus == 2}">已确认</c:if>
|
|
<c:if test="${cmDiscernReceipt.receiptStatus == 2}">已确认</c:if>
|
|
@@ -269,14 +302,14 @@
|
|
<c:if test="${cmDiscernReceipt.receiptType == 8}">-----</c:if>
|
|
<c:if test="${cmDiscernReceipt.receiptType == 8}">-----</c:if>
|
|
</td>
|
|
</td>
|
|
<td>
|
|
<td>
|
|
- <c:if test="${cmDiscernReceipt.receiptType != 6}">${cmDiscernReceipt.orders}</c:if>
|
|
|
|
|
|
+ <c:if test="${cmDiscernReceipt.receiptType != 6}">${cmDiscernReceipt.shopOrderNo}</c:if>
|
|
<c:if test="${cmDiscernReceipt.receiptType == 6}">-----</c:if>
|
|
<c:if test="${cmDiscernReceipt.receiptType == 6}">-----</c:if>
|
|
<c:if test="${cmDiscernReceipt.receiptType == 7}">-----</c:if>
|
|
<c:if test="${cmDiscernReceipt.receiptType == 7}">-----</c:if>
|
|
<c:if test="${cmDiscernReceipt.receiptType == 8}">-----</c:if>
|
|
<c:if test="${cmDiscernReceipt.receiptType == 8}">-----</c:if>
|
|
</td>
|
|
</td>
|
|
<shiro:hasPermission name="order:cmDiscernReceipt:edit">
|
|
<shiro:hasPermission name="order:cmDiscernReceipt:edit">
|
|
<td>
|
|
<td>
|
|
- <a href="${ctx}/order/cmDiscernReceipt/detail?id=${cmDiscernReceipt.id}">查看详情</a>
|
|
|
|
|
|
+ <a href="${ctx}/order/cmDiscernReceipt/detail?checkMan=${cmDiscernReceipt.checkMan}&shopName=${cmDiscernReceipt.shopName}&id=${cmDiscernReceipt.id}">查看详情</a>
|
|
</td>
|
|
</td>
|
|
</shiro:hasPermission>
|
|
</shiro:hasPermission>
|
|
</tr>
|
|
</tr>
|