1. AGENTS.md 更新 - water-docs: 新增 specs/ 与 docs/design/ 生命周期规则章节 - water-backend: 更新协作引用(建设期/建成后、evidence 模块化) 2. specs/ 重复合并 - 006-reminder-event-design 合并入 003-rev006-reminder-event-design - 001-rev004-accounting 删除冗余 data-model.md + contracts/ - 002-rev005-invoice-flow 删除冗余 data-model.md + contracts/ 3. evidence 按模块归档 - 35 个 REV-004 文件归入 evidence/rev004-accounting/ - 7 个通用 bugfix 文件归入 evidence/bugfix/ 和 bugfix/frontend/ - 新建 rev005-invoice/、rev006-reminder/、rev007-statistics/ 目录 4. guides/ 清理 - 14 个 REV004_*.md 移入 evidence/rev004-accounting/ 5. 遗留文件处理 - docs/research/ 归档到 Archive/06_Migration_Plans/ - backend-check detached worktrees 清理 6. 交叉引用修复 - 006-reminder-event-design → 003-rev006-reminder-event-design - docs/guides/REV004_ → docs/evidence/rev004-accounting/REV004_ 7. DB 设计文档修正(01_Database_Design.md) - biz_invoice 明确为开票配置表,非发票记录表 - 新增 biz_invoice_record 为发票申请/结果主表 - 新增 biz_charge_invoice_rel 账单-发票关联说明 - REV-005 承接口径表名全部修正 8. 发票审计证据 - 新增 evidence/rev005-invoice/2026-06-16-invoice-document-audit.md
2.7 KiB
2.7 KiB
REV004 accountProcess Real Wiring Cleanup Evidence (2026-06-05)
Scope
- Frontend repository:
/Volumes/Dpan/github/water-workspace/water-frontend - Pages/components:
src/views/accountProcess/accountLog/index.vuesrc/views/accountProcess/accountLog/components/RefundForm.vuesrc/views/accountProcess/accountLog/components/TransferPrestoreForm.vuesrc/views/accountProcess/soldAdjustment/index.vuesrc/views/accountProcess/unsoldAdjustment/components/UnsoldAdjustmentForm.vuesrc/views/accountProcess/unsoldAdjustment/components/PriceAdjustmentForm.vue
- API:
src/api/accountProcess/accountLog/index.ts
Interface Basis
GET /business/accounting-adjust/log-pageGET /business/accounting-adjust/log-statGET /business/accounting-adjust/log-processGET /business/accounting-adjust/log-attachmentsGET /business/accounting-adjust/log-exportPOST /business/accounting-adjust/log-refundPOST /business/accounting-adjust/log-prestoragePOST /business/accounting-adjust/log-revoke
Basis documents:
docs/evidence/rev004-accountlog-action-wiring-notes-2026-04-13.mddocs/evidence/rev004-accountprocess-interface-truth-matrix-2026-04-13.md
Verification
| Command | Result |
|---|---|
node --test tests/rev004/accountProcessRealWiring.test.mjs |
PASS (7/7) |
node --test tests/rev006/unsoldAdjustmentSubmitPayload.test.mjs tests/rev006/soldAdjustmentSubmit.test.mjs tests/rev006/badDebtBatchSubmitContext.test.mjs |
PASS (29/29) |
pnpm build:dev |
PASS |
Commits
5d00f526 test(accountprocess): cover remaining mock wiring gaps
e001f9c0 feat(accountprocess): add account log action APIs
b133fcc5 feat(accountprocess): wire account log refund action
bf763907 feat(accountprocess): wire account log prestore action
a48bb23c feat(accountprocess): wire account log page actions
012fba78 fix(accountprocess): use customer id in sold detail navigation
ebc7bfc3 fix(accountprocess): remove unsold adjustment demo defaults
7b10e414 fix(accountprocess): remove hardcoded price adjustment selectors
Result
- Account log secondary actions no longer show success without a backend call.
- Account log export, process, attachments, and revoke actions call formal account log APIs.
- Account log and sold adjustment customer links use the selected row
custId. - Unsold adjustment no longer seeds
111/11.1/0.9demo values. - Price adjustment no longer exposes hardcoded
112/测试2options.
Remaining Follow-up
src/views/accountProcess/index.vueremains a static REV-004 workspace/handoff dashboard backed byrev004.data.ts; this is not converted to a live dashboard in this cleanup.