From f670c7196ad4dff61c7e19670889da321f57882b Mon Sep 17 00:00:00 2001 From: chenzhi Date: Tue, 16 Mar 2021 11:31:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/View/SubSpend/lists.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Application/Admin/View/SubSpend/lists.html b/Application/Admin/View/SubSpend/lists.html index c37277fc8..abbcbdbd7 100644 --- a/Application/Admin/View/SubSpend/lists.html +++ b/Application/Admin/View/SubSpend/lists.html @@ -560,7 +560,7 @@ } //执行 SPENDOP.publiucAjax("{:U('addSubSpendSet')}",{time:subtime},function(info){ - layer.alert(info); + layer.msg(info); SPENDOP.reload(); }); }) @@ -601,13 +601,17 @@ layer.msg('开始时间必须小于结束时间'); return false; } + if ((startNum - endNum) > 2592000) { + layer.msg('时间间隔不能超过31天,请重新选择日期'); + return false; + } if(endNum > lastSynTime) { layer.msg('重算结束时间必须在最后固定时间之前'); return false; } //执行 SPENDOP.publiucAjax("{:U('updateSubSpend')}",{begin:begin,end:end},function(info){ - layer.alert(info); + layer.msg(info); SPENDOP.reload(); }); })