changes 表格报告格式修改
This commit is contained in:
parent
c6efd763b6
commit
3107a6f95a
|
@ -70,7 +70,6 @@ def func(schemas: ReportSchemas.ReportData):
|
|||
pic = table.cell(current_row, r_i).paragraphs[0].add_run().add_picture(pic_path)
|
||||
pic.width = Inches(0.9)
|
||||
pic.height = Inches(0.9)
|
||||
|
||||
else:
|
||||
table.cell(current_row, r_i).text = str(brand_data[brand_index][r_i])
|
||||
for section in table.cell(current_row, r_i).paragraphs:
|
||||
|
|
|
@ -56,6 +56,7 @@ class ReportData(BaseModel):
|
|||
申明日期: str
|
||||
所属国民经济行业: str
|
||||
企业中文名称: str
|
||||
英文名称: str
|
||||
工商注册号: str
|
||||
组织机构代码: str
|
||||
统一社会信用代码: str
|
||||
|
|
Loading…
Reference in New Issue