|
@@ -53,8 +53,8 @@
|
|
<input name="userNickName" id="userNickName" value="${userNickName }" placeholder="微信昵称搜索" style="width: 150px" class="input-text" type="text">
|
|
<input name="userNickName" id="userNickName" value="${userNickName }" placeholder="微信昵称搜索" style="width: 150px" class="input-text" type="text">
|
|
|
|
|
|
<input id="beginDate" value="<fmt:formatDate value="${stayRecordedTime}" pattern="yyyy-MM-dd"/>" name="stayRecordedTime" class="input-text Wdate" placeholder="请选择入账日期" style="width: 150px;" type="text" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'2020-10-01'})" readonly>
|
|
<input id="beginDate" value="<fmt:formatDate value="${stayRecordedTime}" pattern="yyyy-MM-dd"/>" name="stayRecordedTime" class="input-text Wdate" placeholder="请选择入账日期" style="width: 150px;" type="text" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'2020-10-01'})" readonly>
|
|
- <input name="changeIntegralMin" id="changeIntegralMin" value="${changeIntegralMin }" placeholder="变动积分数量" style="width: 150px" class="input-text" type="text">-
|
|
|
|
- <input name="changeIntegralMax" id="changeIntegralMax" value="${changeIntegralMax }" placeholder="变动积分数量" style="width: 150px" class="input-text" type="text">
|
|
|
|
|
|
+ <input name="changeIntegralMin" id="changeIntegralMin" value="${changeIntegralMin }" placeholder="变动积分数量" style="width: 150px" class="input-text" type="text" onkeyup="value=value.replace(/[^\d]/g,'')">-
|
|
|
|
+ <input name="changeIntegralMax" id="changeIntegralMax" value="${changeIntegralMax }" placeholder="变动积分数量" style="width: 150px" class="input-text" type="text" onkeyup="value=value.replace(/[^\d]/g,'')">
|
|
|
|
|
|
<button name="" id="submitBtn" onclick="return dataCheck();" class="btn btn-success" type="submit">
|
|
<button name="" id="submitBtn" onclick="return dataCheck();" class="btn btn-success" type="submit">
|
|
<i class="Hui-iconfont"></i> 搜索
|
|
<i class="Hui-iconfont"></i> 搜索
|
|
@@ -112,7 +112,11 @@
|
|
<td>${infolist.userStayIntegral}</td>
|
|
<td>${infolist.userStayIntegral}</td>
|
|
<td>${infolist.userSurplusIntegral}</td>
|
|
<td>${infolist.userSurplusIntegral}</td>
|
|
<td><fmt:formatDate value="${infolist.stayCreateTime }" pattern="yyyy-MM-dd"/></td>
|
|
<td><fmt:formatDate value="${infolist.stayCreateTime }" pattern="yyyy-MM-dd"/></td>
|
|
- <td></td>
|
|
|
|
|
|
+ <td>
|
|
|
|
+ <c:if test="${infolist.stayStatus == 1 }">
|
|
|
|
+ <a id="updateId${infolist.stayId}" onclick="updateStatus(${infolist.stayId},4);">取消入账</a>
|
|
|
|
+ </c:if>
|
|
|
|
+ </td>
|
|
</c:forEach>
|
|
</c:forEach>
|
|
</c:if>
|
|
</c:if>
|
|
</tbody>
|
|
</tbody>
|
|
@@ -150,6 +154,29 @@
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
|
|
+ function updateStatus(id,status){
|
|
|
|
+ layer.confirm('确认要修改状态吗?',function(index){
|
|
|
|
+ $.ajax({
|
|
|
|
+ url: '${pageContext.request.contextPath }/admin/userIntegral/updatestayIntegralStatus',
|
|
|
|
+ type: "POST",
|
|
|
|
+ dataType: "json",
|
|
|
|
+ data: {stayId : id,stayStatus : status},
|
|
|
|
+ error:function(){
|
|
|
|
+ layer.msg(data.status,{icon: 5,time:2000});
|
|
|
|
+ },
|
|
|
|
+ success: function(data){
|
|
|
|
+ if(data.status){
|
|
|
|
+ layer.msg("取消成功",{icon: 1,time:2000});
|
|
|
|
+ $("#updateId"+id).hide();
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ }else{
|
|
|
|
+ layer.msg("取消失败",{icon: 2,time:2000});
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ })
|
|
|
|
+ }
|
|
</script>
|
|
</script>
|
|
</body>
|
|
</body>
|
|
</html>
|
|
</html>
|