From 1b82ac44dc55da55b06f778020413896bd9056cd Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期一, 13 十月 2025 10:32:14 +0800 Subject: [PATCH] bug修改 --- cloud-server-management/src/main/webapp/WEB-INF/view/system/tCompetitionAudit/TCompetition_edit.html | 29 ++++++++++++++++++++++++++--- 1 files changed, 26 insertions(+), 3 deletions(-) diff --git a/cloud-server-management/src/main/webapp/WEB-INF/view/system/tCompetitionAudit/TCompetition_edit.html b/cloud-server-management/src/main/webapp/WEB-INF/view/system/tCompetitionAudit/TCompetition_edit.html index d23468f..d7566ff 100644 --- a/cloud-server-management/src/main/webapp/WEB-INF/view/system/tCompetitionAudit/TCompetition_edit.html +++ b/cloud-server-management/src/main/webapp/WEB-INF/view/system/tCompetitionAudit/TCompetition_edit.html @@ -225,17 +225,40 @@ } } - if($("#q1").val()>0 && $("#type").val()==2){ + if(Number($("#q1").val())>0){ $("#payType1").show(); $("input[id='t1']").attr("checked", "checked") + }else{ + console.log("看看现金") + console.log($("#q1").val()); + $("#payType1").hide(); + var checkbox = document.getElementById("t1"); + // 取消选中 + checkbox.checked = false; } - if($("#q2").val()>0 && $("#type").val()==2){ + + if(Number($("#q2").val())>0 ){ + $("#payType2").show(); $("input[id='t2']").attr("checked", "checked") + }else{ + console.log("看看玩湃比") + console.log($("#q2").val()); + $("#payType2").hide(); + var checkbox = document.getElementById("t2"); + // 取消选中 + checkbox.checked = false; } - if($("#q3").val()>0 && $("#type").val()==2){ + if(Number($("#q3").val())>0 ){ $("#payType3").show(); $("input[id='t3']").attr("checked", "checked") + }else{ + console.log("看看课时") + console.log($("#q3").val()); + var checkbox = document.getElementById("t3"); + // 取消选中 + checkbox.checked = false; + $("#payType3").hide(); } } -- Gitblit v1.7.1