fix: 采购价格上限按数量计算总价 (#181)

This commit is contained in:
chengma
2026-08-12 14:43:18 +08:00
parent 8c7be7bd07
commit 253be7cb61
24 changed files with 203 additions and 106 deletions
+1
View File
@@ -19,6 +19,7 @@ class PurchasePageState:
goods_id: str
selected_options: Mapping[str, str] = field(default_factory=dict)
quantity: int = 0
# 当前页面显示的采购金额;最终确认页必须是订单总价,单位人民币分。
price_cent: int = 0
candidate_count: int = 1
in_stock: bool = True