|
|
|
|
@ -256,18 +256,13 @@
|
|
|
|
|
companies.forEach(company => {
|
|
|
|
|
html += `
|
|
|
|
|
<div class="result-item">
|
|
|
|
|
<h3>${escapeHtml(company.enterpriseName || company.name || '')}</h3>
|
|
|
|
|
<h3>${escapeHtml(company.name || '')}</h3>
|
|
|
|
|
<div class="result-info">
|
|
|
|
|
${getInfoItem('统一社会信用代码', company.creditCode)}
|
|
|
|
|
${getInfoItem('法人代表', company.operName)}
|
|
|
|
|
${getInfoItem('注册状态', company.status)}
|
|
|
|
|
${getInfoItem('成立日期', company.startDate)}
|
|
|
|
|
${getInfoItem('注册资本', formatRegistAmount(company.registAmount, company.registCapiType))}
|
|
|
|
|
${getInfoItem('企业地址', company.address)}
|
|
|
|
|
${getInfoItem('所属城市', company.city)}
|
|
|
|
|
${getInfoItem('所属省份', company.province)}
|
|
|
|
|
${getInfoItem('企业类型', company.enterpriseType)}
|
|
|
|
|
${getInfoItem('经营范围', company.businessScope)}
|
|
|
|
|
${getInfoItem('密钥编号', company.keyNo)}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
`;
|
|
|
|
|
@ -288,10 +283,6 @@
|
|
|
|
|
`;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function formatRegistAmount(amount, type) {
|
|
|
|
|
if (!amount) return '';
|
|
|
|
|
return `${amount} ${type || ''}`;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function showError(message) {
|
|
|
|
|
const errorMsg = document.getElementById('errorMsg');
|
|
|
|
|
|