迭代 ONE-OS 多原型:加氢记录/订单同源对账、租赁明细校验与月度损益、车辆与台账增强;新增客户回款与加氢站统计;补齐业务逻辑与对象存储发布规范,同步原型导航。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
王冕
2026-07-16 09:00:13 +08:00
parent aa6b9a7683
commit 47c223a666
130 changed files with 17507 additions and 4461 deletions

View File

@@ -105,6 +105,18 @@ export default function MyApp() {
参考:`vehicle-management/index.tsx``lease-business-ledger/index.tsx`
## 业务逻辑文档化(强制)
实现**复杂判断逻辑**(多步判定、跨模块校验、状态/公式推导、导入保存规则等)时,必须与代码**同一轮**更新文档。详见 `rules/business-logic-documentation-guide.md`
```text
.spec/<logic-topic>.md # 完整规则(判定顺序、数据源、代码路径)
.spec/requirements-prd.md # 摘要 + 验收项
annotation-source.json # sync-annotation-directory.mjs 同步目录/字段标注
```
范例:`lease-business-detail/.spec/field-checks.md`
## 验收流程
运行原型验收脚本:
@@ -132,3 +144,4 @@ node scripts/check-app-ready.mjs /prototypes/[原型目录]
- [ ] 占位原型已更新为有意义的目录名和显示名。
- [ ] 新增依赖已写入 `package.json`
- [ ] `check-app-ready.mjs` 原型验收通过。
- [ ] 若含复杂业务逻辑:`.spec` 规格文 + PRD 摘要 + 标注目录已同步(见 `business-logic-documentation-guide.md`)。