From 8be3d1afdc122d08171fc51784a793cc4a3128ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Fri, 19 Jul 2019 10:00:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=BC=B9=E7=AA=97=E5=85=B3?= =?UTF-8?q?=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/managements/_reject_authorization_model.html.erb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/views/managements/_reject_authorization_model.html.erb b/app/views/managements/_reject_authorization_model.html.erb index 6adb6330..93389cd8 100644 --- a/app/views/managements/_reject_authorization_model.html.erb +++ b/app/views/managements/_reject_authorization_model.html.erb @@ -84,7 +84,6 @@ var error = modal.find(".error"); modal.on("click", "input[name='reasons[]']", function(){ - debugger var checkbox = $(this); if (checkbox.data("type") != "other") { return; } @@ -98,13 +97,11 @@ }); modal.on('click', '.submit-btn', function(){ - debugger if (!formValid()) { return; } form.submit(); }); var formValid = function () { - debugger error.html("").hide(); if (form.find("input[name='reasons[]']:checked").length == 0) { error.html("撤销原因不能为空,请完善后再确认提交").show(); @@ -120,7 +117,6 @@ }; var hideRejectModalFunc = function(){ - debugger applyIdInput.val(''); form.find("textarea[name='reject_description']").val(''); form.find("input[name='reasons[]']").each(function(){this.checked=false;}) @@ -129,7 +125,7 @@ modal.hide(); }; // 隐藏弹窗 - modal.on("click", '.mask', hideRejectModalFunc); + // modal.on("click", '.mask', hideRejectModalFunc); modal.on("click", '.cancel-btn', hideRejectModalFunc); })