支付-发票类型

dev_trainings
caishi 6 years ago
parent 8b27e66fc3
commit c15546369c

@ -153,7 +153,7 @@
$(".billType li").on("click", function () { $(".billType li").on("click", function () {
$(".billType li").removeClass("active"); $(".billType li").removeClass("active");
$(this).addClass("active"); $(this).addClass("active");
//billTypeShowFun(parseInt($(this).index()),userInfo); billTypeShowFun(parseInt($(this).index()));
}) })
//关闭弹窗 //关闭弹窗
$(".billClose").on("click", function () { $(".billClose").on("click", function () {
@ -297,7 +297,7 @@
$(".billType li").eq(index).addClass("active"); $(".billType li").eq(index).addClass("active");
billTypeShowFun(index,userInfo); billTypeShowFun(index,userInfo);
} }
function billTypeShowFun(index,userInfo){ function billTypeShowFun(index){
if (parseInt(index) == 0) { if (parseInt(index) == 0) {
$(".needWrite").removeClass("none"); $(".needWrite").removeClass("none");
$(".billUnit").attr("placeholder", "请填写公司单位名称").val(userInfo.school); $(".billUnit").attr("placeholder", "请填写公司单位名称").val(userInfo.school);

Loading…
Cancel
Save