From 408c6db95513f5df007eeb1256416eeb6e6a39be Mon Sep 17 00:00:00 2001 From: dshclm <3321914460@qq.com> Date: Tue, 24 Sep 2024 16:59:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/templates/system/useIssued/edit.html | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/system/useIssued/edit.html b/ruoyi-admin/src/main/resources/templates/system/useIssued/edit.html index b468752..77e9854 100644 --- a/ruoyi-admin/src/main/resources/templates/system/useIssued/edit.html +++ b/ruoyi-admin/src/main/resources/templates/system/useIssued/edit.html @@ -37,9 +37,9 @@
- + - +
@@ -155,6 +155,13 @@ } }); }); + $('#mentsTime').parents(".row").hide(); + if ($("#expirationTime").val() !== '' && $("#expirationTime").val() == '2'){ + $('#mentsTime').parents(".row").hide(); + } + if ($("#expirationTime").val() == '1'){ + $('#mentsTime').parents(".row").show(); + } $('#expirationTime').change(function() { var selectedValue = $(this).val(); var mentsTimeDiv = $('#mentsTime').parents(".row"); @@ -164,6 +171,8 @@ } if (selectedValue === '2'){ mentsTimeDiv.hide(); + $('#laydate-startTime').val(''); + $('#laydate-endTime').val(''); } });