From c15546369cd60c383fece8cc2ad5ab4c71c59cff Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Fri, 14 Jun 2019 11:02:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98-=E5=8F=91=E7=A5=A8=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/trainings/pay.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);