diff --git a/js/wxscaninvoice/writing.js b/js/wxscaninvoice/writing.js index 3e0dda3..5c10c82 100644 --- a/js/wxscaninvoice/writing.js +++ b/js/wxscaninvoice/writing.js @@ -89,8 +89,14 @@ $(function () { setStorageMsg('bankName', titleInfo.gfyh); //开户银行 setStorageMsg('bankAccount', titleInfo.gfzh); //开户账号 } else { - $ttType.attr('data-id', "01"); - $ttType.val("单位") + // $ttType.attr('data-id', "01"); + // $ttType.val("单位") + $ttType.val("个人"); + $ttType.attr('data-id', "03"); + //个人时调整文字示例,头部文字调整为"身份证号码",头部文字后的*不可见,input中的placeholder改为"请输入身份证号码", + $('#title_nsrsbh').text("身份证号码"); + $('#title_nsrsbh_star').css('display', 'none'); + $('#taxpayerId').attr('placeholder', "请输入身份证号码"); } //发票类型