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(''); } });