|
@@ -122,7 +122,7 @@
|
|
|
<%-- <span style="width: 100%; height: 0; border: #0d0d0d 1px dashed;"/><br/>--%>
|
|
|
<div class="flex-wrap">
|
|
|
<label class="control-label">近一个月购买额:</label>
|
|
|
- <form:select path="payTotalMonth" class="input-medium">
|
|
|
+ <form:select id="payTotalMonth" path="payTotalMonth" class="input-medium">
|
|
|
<form:option value="" label="请选择"/>
|
|
|
<form:option value="1" label="小于1万"/>
|
|
|
<form:option value="2" label="1万至10万"/>
|
|
@@ -130,7 +130,7 @@
|
|
|
<form:option value="4" label="大于100万"/>
|
|
|
</form:select>
|
|
|
<label class="control-label">近一个年购买额:</label>
|
|
|
- <form:select path="payTotalYear" class="input-medium">
|
|
|
+ <form:select id ="payTotalYear" path="payTotalYear" class="input-medium">
|
|
|
<form:option value="" label="请选择"/>
|
|
|
<form:option value="1" label="小于1万"/>
|
|
|
<form:option value="2" label="1万至10万"/>
|
|
@@ -139,14 +139,14 @@
|
|
|
</form:select>
|
|
|
<div class="item">
|
|
|
<label>自定义统计时间:</label>
|
|
|
- <form:input path="customStartTime" type="text" maxlength="20" class="input-mini Wdate" value="${customStartTime}"
|
|
|
+ <form:input id="customStartTime" path="customStartTime" type="text" maxlength="20" class="input-mini Wdate" value="${customStartTime}"
|
|
|
onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"/>
|
|
|
-
|
|
|
- <form:input path="customEndTime" type="text" maxlength="20" class="input-mini Wdate" value="${customEndTime}"
|
|
|
+ <form:input id="customEndTime" path="customEndTime" type="text" maxlength="20" class="input-mini Wdate" value="${customEndTime}"
|
|
|
onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"/>
|
|
|
</div>
|
|
|
<label class="control-label">总购买额:</label>
|
|
|
- <form:select path="payTotal" class="input-medium">
|
|
|
+ <form:select id="payTotal" path="payTotal" class="input-medium">
|
|
|
<form:option value="" label="请选择"/>
|
|
|
<form:option value="1" label="小于1万"/>
|
|
|
<form:option value="2" label="1万至10万"/>
|
|
@@ -155,7 +155,7 @@
|
|
|
</form:select>
|
|
|
</div>
|
|
|
<div class="item">
|
|
|
- <input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
|
|
|
+ <input id="btnSubmit" class="btn btn-primary" type="submit" value="查询" onclick="subClick()"/>
|
|
|
<input id="export" class="btn btn-primary" type="button" value="导出"/>
|
|
|
</div>
|
|
|
|
|
@@ -215,7 +215,7 @@
|
|
|
<c:if test="${clubList.firstClubType != null || clubList.firstClubType != ''}">
|
|
|
${clubList.firstClubType}
|
|
|
</c:if>
|
|
|
- <c:if test="${clubList.classify != null || clubList.classify != '' || clubList.classify ne null}">
|
|
|
+ <c:if test="${clubList.classify ne null}">
|
|
|
- ${clubList.classify}
|
|
|
</c:if>
|
|
|
<c:if test="${clubList.firstClubType == null and clubList.firstClubType == '' and clubList.classify == null and clubList.classify == ''}">
|
|
@@ -269,7 +269,32 @@
|
|
|
</table>
|
|
|
<div class="pagination">${page}</div>nixuel
|
|
|
<script type="text/javascript">
|
|
|
-
|
|
|
+function page(n,s) {
|
|
|
+ $('#pageNo').val(n);
|
|
|
+ $('#pageSize').val(s);
|
|
|
+ $('#searchForm').submit();
|
|
|
+ return false;
|
|
|
+}
|
|
|
+function subClick() {
|
|
|
+ const payTotalMonth = $('#payTotalMonth').val();
|
|
|
+ const payTotalYear = $('#payTotalYear').val();
|
|
|
+ const customStartTime = $('#customStartTime').val();
|
|
|
+ const customEndTime = $('#customEndTime').val();
|
|
|
+ const payTotal = $('#payTotal').val();
|
|
|
+ if ((customStartTime != null || customStartTime != '') && (customEndTime != null || customEndTime != '')) {
|
|
|
+ if (payTotalMonth != null || payTotalMonth != '') {
|
|
|
+ $.jBox.confirm("自定义统计时间不能与近一个月/近一年购买额联动查询", "提示");
|
|
|
+ }
|
|
|
+ if (payTotalYear != null || payTotalYear != '') {
|
|
|
+ $.jBox.confirm("自定义统计时间不能与近一个月/近一年购买额联动查询", "提示");
|
|
|
+ }
|
|
|
+ if (payTotal == null || payTotal == '') {
|
|
|
+ $.jBox.confirm("自定义统计时间需要与总购买额一起联动查询", "提示");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ $('#searchForm').submit();
|
|
|
+ return false;
|
|
|
+}
|
|
|
</script>
|
|
|
</body>
|
|
|
</html>
|