docs(rev004): record accountprocess real wiring evidence

This commit is contained in:
tangweijie 2026-06-05 14:46:34 +08:00
parent ad2fa59232
commit 3bc4e4184f

View File

@ -0,0 +1,63 @@
# 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.vue`
- `src/views/accountProcess/accountLog/components/RefundForm.vue`
- `src/views/accountProcess/accountLog/components/TransferPrestoreForm.vue`
- `src/views/accountProcess/soldAdjustment/index.vue`
- `src/views/accountProcess/unsoldAdjustment/components/UnsoldAdjustmentForm.vue`
- `src/views/accountProcess/unsoldAdjustment/components/PriceAdjustmentForm.vue`
- API:
- `src/api/accountProcess/accountLog/index.ts`
## Interface Basis
- `GET /business/accounting-adjust/log-page`
- `GET /business/accounting-adjust/log-stat`
- `GET /business/accounting-adjust/log-process`
- `GET /business/accounting-adjust/log-attachments`
- `GET /business/accounting-adjust/log-export`
- `POST /business/accounting-adjust/log-refund`
- `POST /business/accounting-adjust/log-prestorage`
- `POST /business/accounting-adjust/log-revoke`
Basis documents:
- `docs/evidence/rev004-accountlog-action-wiring-notes-2026-04-13.md`
- `docs/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.9` demo values.
- Price adjustment no longer exposes hardcoded `112` / `测试2` options.
## Remaining Follow-up
- `src/views/accountProcess/index.vue` remains a static REV-004 workspace/handoff dashboard backed by `rev004.data.ts`; this is not converted to a live dashboard in this cleanup.