feat(suite): confirm planned generation cost

This commit is contained in:
chengma
2026-07-17 11:59:07 +08:00
parent 1ef5721a20
commit d5d991e844
6 changed files with 440 additions and 39 deletions
+3 -1
View File
@@ -3,7 +3,7 @@ id: T-651
title: 商品套图生成前的数量与预计扣点确认
phase: 7
deps: [T-650]
status: TODO
status: DONE
created: 2026-07-17
---
@@ -95,3 +95,5 @@ git diff --check
## 执行记录
- 2026-07-17:根据商品套图生成前的数量、逐图主图和预计扣点确认需求创建任务。待实现。
- 2026-07-17:开始复用 T-650 模型目录缓存实现常规套图生成的明细扣点确认。
- 2026-07-17:已实现常规套图生成的后台价格读取和二次确认:历史确认后按最终 `specs` 展示逐图主图说明、分类实际数量、总张数、比例及可确定的单张/总预估点数。计划变化、取消读取、切换或关闭任务均不会创建生图 job;单图重试和恢复保持原路径。验证:`py -3.10 -m unittest discover -s tests`(577 项通过)、`py -3.10 -m ruff check app tests main.py`、`py -3.10 -m compileall app main.py`、`git diff --check` 通过。