From ce76d52a74d72870e71feebc0cf463c26692e2eb Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Fri, 7 Feb 2025 00:36:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../property/reportPayFeeDetail/reportPayFeeDetail.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/public/pages/property/reportPayFeeDetail/reportPayFeeDetail.js b/public/pages/property/reportPayFeeDetail/reportPayFeeDetail.js index 70b5d5a50..e0cbb869c 100644 --- a/public/pages/property/reportPayFeeDetail/reportPayFeeDetail.js +++ b/public/pages/property/reportPayFeeDetail/reportPayFeeDetail.js @@ -152,18 +152,12 @@ $('.feeStartTime').datetimepicker() .on('changeDate', function (ev) { var value = $(".feeStartTime").val(); - $that.reportPayFeeDetailInfo.conditions.startTime = value; + $that.reportPayFeeDetailInfo.conditions.feeStartTime = value; }); $('.feeEndTime').datetimepicker() .on('changeDate', function (ev) { var value = $(".feeEndTime").val(); - $that.reportPayFeeDetailInfo.conditions.endTime = value; - let start = Date.parse(new Date($that.reportPayFeeDetailInfo.conditions.startTime)) - let end = Date.parse(new Date($that.reportPayFeeDetailInfo.conditions.endTime)) - if (start - end >= 0) { - vc.toast("收费结束时间必须大于收费开始时间") - $that.reportPayFeeDetailInfo.conditions.endTime = ''; - } + $that.reportPayFeeDetailInfo.conditions.feeEndTime = value; }); //防止多次点击时间插件失去焦点 document.getElementsByClassName(' form-control startTime')[0].addEventListener('click', myfunc)