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.