Authored by 郭成尧

no-verify-buyerTaxNumber

... ... @@ -109,7 +109,7 @@ function confirmAction() {
tip.show('发票抬头不得超过30个汉字');
$company.focus();
return false;
} else if (title === '单位' && !/(^\d{15}$)|(^\d{17}([0-9]|X)$)/.test(buyerTaxNumber)) {
} else if (title === '单位' && !buyerTaxNumber) {
tip.show('请输入正确的15位或18位纳税人识别号');
$company.focus();
return false;
... ...