From 3a7986e4f134a1e046877f102763590a2aa176f1 Mon Sep 17 00:00:00 2001 From: nanguaboss <602995148@qq.com> Date: Tue, 4 Aug 2026 00:16:57 +0800 Subject: [PATCH] =?UTF-8?q?v1.0.14:=20=E8=B4=A2=E5=8A=A1=E4=BF=A1=E6=81=AF?= =?UTF-8?q?Tab=E6=94=B9=E4=B8=BA=E5=B9=B4=E5=BA=A6=E8=B4=A2=E5=8A=A1?= =?UTF-8?q?=E6=98=8E=E7=BB=86=E5=88=97=E8=A1=A8(=E8=B4=A2=E5=B9=B4/?= =?UTF-8?q?=E5=91=98=E5=B7=A5=E6=95=B0=E7=AD=89=E5=88=97)=EF=BC=9B?= =?UTF-8?q?=E6=98=AF=E5=90=A6=E4=B8=8A=E5=B8=82/=E8=82=A1=E7=A5=A8?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=A7=BB=E5=85=A5=E8=B4=A2=E5=8A=A1Tab?= =?UTF-8?q?=E9=A1=B6=E9=83=A8=E7=8B=AC=E7=AB=8B=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/css/style.css | 24 ++++++++--------- static/js/company.js | 61 ++++++++++++++++++++++---------------------- static/js/config.js | 2 +- 3 files changed, 41 insertions(+), 46 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 6f9ea54..9546fac 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -494,23 +494,19 @@ table.grid .ops a:hover { text-decoration: underline; } max-height: 62vh; overflow-y: auto; } -.fin-year { - border: 1px solid #eef0f4; - border-radius: 6px; - padding: 10px 14px; - margin-bottom: 10px; - background: #fbfcfe; -} -.fin-year-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } -.fin-year-head b { font-size: 13px; color: #1e2a3a; font-weight: bold; } -.fin-year-head input { - width: 100px; +/* 年度财务明细表格 */ +.fin-tbl input { border: 1px solid #d9dee8; border-radius: 4px; - padding: 5px 8px; - font-size: 13px; - margin-left: 6px; + padding: 4px 6px; + font-size: 12px; + background: #fff; + width: 78px; } +.fin-tbl input[name="fin-fiscal_year"], +.fin-tbl input[name="fin-employee_count"] { width: 66px; } +.fin-tbl input[name="fin-financial_report_url"] { width: 150px; } +.fin-tbl input[name="fin-data_source"] { width: 88px; } .cert-row { display: flex; gap: 8px; margin-bottom: 8px; align-items: center; flex-wrap: wrap; } .cert-row select, .cert-row input { border: 1px solid #d9dee8; diff --git a/static/js/company.js b/static/js/company.js index bbd3a9c..c14f245 100644 --- a/static/js/company.js +++ b/static/js/company.js @@ -120,10 +120,6 @@ $(function () { '
' + ' ' + ' ' + - ' ' + - ' ' + ' ' + ''; @@ -136,15 +132,19 @@ $(function () { ' ' + ''; - // Tab2 财务信息:最新冗余字段 + 年度财务明细列表 + // Tab3 财务信息:顶部独立字段(是否上市/股票代码/最新员工/最新营收)+ 年度财务明细列表 var finRowsHtml = ''; if (!financials.length) { - finRowsHtml = finYearRowHtml(null); + finRowsHtml = finRowHtml(null); } else { - financials.forEach(function (f) { finRowsHtml += finYearRowHtml(f); }); + financials.forEach(function (f) { finRowsHtml += finRowHtml(f); }); } var finHtml = '| 财年 | 员工数 | 总营收(万元) | 净利润(万元) | 总资产(万元) | 总负债(万元) | 所有者权益(万元) | 毛利率(%) | 净利率(%) | 资产负债率(%) | 财务报表链接 | 数据来源 | 操作 |
|---|