From 1032cd5134ab9217b0c5f79aa7d9a5fa3d8bd787 Mon Sep 17 00:00:00 2001 From: "zhaoxingchang.sd" Date: Thu, 24 Oct 2024 11:29:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E4=B8=BA=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E4=B8=AA=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/wxscaninvoice/writing.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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', "请输入身份证号码"); } //发票类型