|
|
|
@ -11,9 +11,11 @@ const routerType = window.localStorage.getItem("routerType"); //1 不使用公 |
|
|
|
|
let items = []; |
|
|
|
|
let cpLock = ""; |
|
|
|
|
const $ttType = $('#tt_type'); |
|
|
|
|
const $email = $('#email'); |
|
|
|
|
const $fpType = $('#fp_type'); |
|
|
|
|
const $titleName = $("#titleName"); |
|
|
|
|
var $taxpayerId = $("#taxpayerId"); |
|
|
|
|
|
|
|
|
|
$(function () { |
|
|
|
|
//logo配置
|
|
|
|
|
const prePath = '../../image/wxscaninvoice/'; |
|
|
|
@ -47,15 +49,17 @@ $(function () { |
|
|
|
|
const getLastTaxpyerId = sessionStorage.getItem('goTaxpayerId'); |
|
|
|
|
const getLastTelephone = sessionStorage.getItem('goTelephone'); |
|
|
|
|
const getLastEmail = sessionStorage.getItem('goEmail'); |
|
|
|
|
// console.log(strIsNull(titleInfo.ghfqylx))
|
|
|
|
|
// console.log(titleInfo.ghfqylx)
|
|
|
|
|
if (!strIsNull(titleInfo)) { |
|
|
|
|
if (strIsNull(titleInfo.ghfqylx) || titleInfo.ghfqylx === "01" || getLastTtType === "单位") { |
|
|
|
|
if ( titleInfo.ghfqylx === "01" || getLastTtType === "单位") { |
|
|
|
|
$ttType.val("单位"); |
|
|
|
|
$ttType.attr('data-id', "01"); |
|
|
|
|
//单位时调整文字示例,头部文字调整为"纳税人识别号",头部文字后的*可见,input中的placeholder改为"请输入纳税人识别号",
|
|
|
|
|
$('#title_nsrsbh').text("纳税人识别号"); |
|
|
|
|
$('#title_nsrsbh_star').css('display', 'block'); |
|
|
|
|
$('#taxpayerId').attr('placeholder', "请输入纳税人识别号"); |
|
|
|
|
} else if (titleInfo.ghfqylx === "03" || getLastTtType === "个人") { |
|
|
|
|
} else if (strIsNull(titleInfo.ghfqylx) ||titleInfo.ghfqylx === "03" || getLastTtType === "个人") { |
|
|
|
|
$ttType.val("个人"); |
|
|
|
|
$ttType.attr('data-id', "03"); |
|
|
|
|
//个人时调整文字示例,头部文字调整为"身份证号码",头部文字后的*不可见,input中的placeholder改为"请输入身份证号码",
|
|
|
|
|