diff --git a/app/views/trainings/pay.html.erb b/app/views/trainings/pay.html.erb index 3293be93..ccc4f3eb 100644 --- a/app/views/trainings/pay.html.erb +++ b/app/views/trainings/pay.html.erb @@ -153,7 +153,7 @@ $(".billType li").on("click", function () { $(".billType li").removeClass("active"); $(this).addClass("active"); - //billTypeShowFun(parseInt($(this).index()),userInfo); + billTypeShowFun(parseInt($(this).index())); }) //关闭弹窗 $(".billClose").on("click", function () { @@ -297,7 +297,7 @@ $(".billType li").eq(index).addClass("active"); billTypeShowFun(index,userInfo); } - function billTypeShowFun(index,userInfo){ + function billTypeShowFun(index){ if (parseInt(index) == 0) { $(".needWrite").removeClass("none"); $(".billUnit").attr("placeholder", "请填写公司单位名称").val(userInfo.school);