加大订单PDF公司抬头并修复Win7打包环境复用

This commit is contained in:
reddaniel110
2026-09-17 14:27:11 +08:00
parent a86f0b0d5b
commit 000f4198a8
10 changed files with 184 additions and 33 deletions
+2 -2
View File
@@ -60,7 +60,7 @@ STATUS_WATERMARK = {
SEAL_COLOR = colors.HexColor("#C8102E")
SEAL_NUMBER = "3205070994140"
PDF_TEMPLATE_VERSION = "po-v4"
PDF_TEMPLATE_VERSION = "po-v5"
PDF_SEAL_SIZE = 32 * 1.3 * mm
@@ -278,7 +278,7 @@ def build_pdf(order, items, out_path, watermark=None):
styles = {
"title": ParagraphStyle("title", fontName=FONT_BOLD, fontSize=17, leading=22,
alignment=TA_CENTER),
"company": ParagraphStyle("company", fontName=FONT_BOLD, fontSize=12.5, leading=17,
"company": ParagraphStyle("company", fontName=FONT_BOLD, fontSize=20, leading=26,
alignment=TA_CENTER),
"cell": ParagraphStyle("cell", fontName=FONT_BODY, fontSize=8.6, leading=11.5,
alignment=TA_LEFT),