|
@@ -1,10 +1,13 @@
|
|
|
-<%@ page contentType="text/html;charset=UTF-8"%>
|
|
|
+<%@ page import="com.thinkgem.jeesite.common.config.Global" %>
|
|
|
+<%@ page contentType="text/html;charset=UTF-8" %>
|
|
|
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
|
|
|
<html>
|
|
|
<head>
|
|
|
<title>线下收款账号配置</title>
|
|
|
<meta name="decorator" content="default"/>
|
|
|
+ <style>
|
|
|
|
|
|
+ </style>
|
|
|
</head>
|
|
|
<body>
|
|
|
<ul class="nav nav-tabs">
|
|
@@ -16,7 +19,6 @@
|
|
|
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
|
|
|
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
|
|
|
<div class="ul-form">
|
|
|
-
|
|
|
<label>银行账号:</label>
|
|
|
<form:input path="bankAccount" htmlEscape="false" maxlength="20" class="input-medium"/>
|
|
|
<input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
|
|
@@ -24,58 +26,68 @@
|
|
|
<div class="clearfix"></div>
|
|
|
</div>
|
|
|
</form:form>
|
|
|
-<%--<sys:message content="${message}"/>--%>
|
|
|
- <table id="contentTable" class="table table-striped table-bordered table-condensed">
|
|
|
- <thead>
|
|
|
+<sys:message content="${message}"/>
|
|
|
+<table id="contentTable" class="table table-striped table-bordered table-condensed">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th>序号</th>
|
|
|
+ <th>银行账号</th>
|
|
|
+ <th>商城显示</th>
|
|
|
+ <th>创建时间</th>
|
|
|
+ <th>操作</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <c:forEach items="${page.list}" var="cmOfflineCollections" varStatus="Collections">
|
|
|
<tr>
|
|
|
- <th>序号</th>
|
|
|
- <th>银行账号</th>
|
|
|
- <th>商城显示</th>
|
|
|
- <th>创建时间</th>
|
|
|
- <th>操作</th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody>
|
|
|
- <c:forEach items="${page.list}" var="cmOfflineCollections" varStatus="Collections">
|
|
|
- <tr>
|
|
|
- <td>${Collections.index + 1}</td>
|
|
|
- <td>${cmOfflineCollections.bankAccount}</td>
|
|
|
- <td>
|
|
|
+ <td>${Collections.index + 1}</td>
|
|
|
+ <td>${cmOfflineCollections.bankAccount}</td>
|
|
|
+ <td>
|
|
|
+ <c:if test="${cmOfflineCollections.isDisplay == '1'}">
|
|
|
+ <img alt="启用" src="/static/images/yes.gif" width="15px" border="none" title="启用">
|
|
|
+ </c:if>
|
|
|
+ </td>
|
|
|
+ <td>${cmOfflineCollections.creationTime}</td>
|
|
|
+ <td>
|
|
|
+ <c:if test="${cmOfflineCollection.isDis == 1}">
|
|
|
+ <c:if test="${cmOfflineCollections.isDisplay == '1'}">
|
|
|
+ <a href="${ctx}/order/CmOfflineCollection/upNoBankDisplay?id=${cmOfflineCollections.id}"
|
|
|
+ onclick="return confirmx('确定取消该银行账号作为线下收款方式在商城进行展示吗?', this.href)">取消商城显示</a>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${cmOfflineCollections.isDisplay == '0'}">
|
|
|
+ <a style="color: #666666">设为商城显示</a>
|
|
|
+ </c:if>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${cmOfflineCollection.isDis == 0}">
|
|
|
<c:if test="${cmOfflineCollections.isDisplay == '1'}">
|
|
|
- <img alt="启用" src="/static/images/yes.gif" width="15px" border="none" title="启用">
|
|
|
+ <a href="${ctx}/order/CmOfflineCollection/upNoBankDisplay?id=${cmOfflineCollections.id}"
|
|
|
+ onclick="return confirmx('确定取消该银行账号作为线下收款方式在商城进行展示吗?', this.href)">取消商城显示</a>
|
|
|
</c:if>
|
|
|
- </td>
|
|
|
- <td>${cmOfflineCollections.creationTime}</td>
|
|
|
- <td>
|
|
|
- <c:if test="${cmOfflineCollection.isDis == 1}">
|
|
|
- <c:if test="${cmOfflineCollections.isDisplay == '1'}">
|
|
|
- <a href="${ctx}/order/CmOfflineCollection/upNoBankDisplay?id=${cmOfflineCollections.id}"
|
|
|
- onclick="return confirmx('确定取消该银行账号作为线下收款方式在商城进行展示吗?', this.href)">取消商城显示</a>
|
|
|
- </c:if>
|
|
|
- <c:if test="${cmOfflineCollections.isDisplay == '0'}">
|
|
|
- <a style="color: #666666">设为商城显示</a>
|
|
|
- </c:if>
|
|
|
- </c:if>
|
|
|
- <c:if test="${cmOfflineCollection.isDis == 0}">
|
|
|
- <c:if test="${cmOfflineCollections.isDisplay == '1'}">
|
|
|
- <a href="${ctx}/order/CmOfflineCollection/upNoBankDisplay?id=${cmOfflineCollections.id}"
|
|
|
- onclick="return confirmx('确定取消该银行账号作为线下收款方式在商城进行展示吗?', this.href)">取消商城显示</a>
|
|
|
- </c:if>
|
|
|
- <c:if test="${cmOfflineCollections.isDisplay == '0'}">
|
|
|
- <a href="${ctx}/order/CmOfflineCollection/upBankDisplay?id=${cmOfflineCollections.id}"
|
|
|
- onclick="return confirmx('确定将该银行账号作为线下收款方式在商城进行展示吗?', this.href)">设为商城显示</a>
|
|
|
- </c:if>
|
|
|
- </c:if>
|
|
|
- <%-- ${ctx}/order/cmRefundShop/toRefund?id=${cmRefundShop.id}--%>
|
|
|
- <a href="${ctx}/order/CmOfflineCollection/editBank?id=${cmOfflineCollections.id}">编辑</a>
|
|
|
- <a href="${ctx}/order/CmOfflineCollection/deleteBank?id=${cmOfflineCollections.id}"
|
|
|
- onclick="return confirmx('确定删除该银行账号吗?', this.href)">删除</a>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </c:forEach>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- <div class="pagination">${page}</div>
|
|
|
-</div>
|
|
|
+ <c:if test="${cmOfflineCollections.isDisplay == '0'}">
|
|
|
+ <a href="${ctx}/order/CmOfflineCollection/upBankDisplay?id=${cmOfflineCollections.id}"
|
|
|
+ onclick="return confirmx('确定将该银行账号作为线下收款方式在商城进行展示吗?', this.href)">设为商城显示</a>
|
|
|
+ </c:if>
|
|
|
+ </c:if>
|
|
|
+ <%-- ${ctx}/order/cmRefundShop/toRefund?id=${cmRefundShop.id}--%>
|
|
|
+ <a href="${ctx}/order/CmOfflineCollection/editBank?id=${cmOfflineCollections.id}">编辑</a>
|
|
|
+ <a href="${ctx}/order/CmOfflineCollection/deleteBank?id=${cmOfflineCollections.id}"
|
|
|
+ onclick="return confirmx('确定删除该银行账号吗?', this.href)">删除</a>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </c:forEach>
|
|
|
+ </tbody>
|
|
|
+</table>
|
|
|
+<div class="pagination">${page}</div>
|
|
|
+
|
|
|
+<% request.setAttribute("caimeiCore", Global.getConfig("caimei.core"));%>
|
|
|
+<script type="text/javascript">
|
|
|
+ function page(n, s) {
|
|
|
+ $("#pageNo").val(n);
|
|
|
+ $("#pageSize").val(s);
|
|
|
+ $("#searchForm").submit();
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+
|
|
|
+</script>
|
|
|
</body>
|
|
|
</html>
|