fix: 提现审批
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 9m2s

This commit is contained in:
luo
2026-09-29 10:16:33 +08:00
parent 8229ad9248
commit 330affe0c9
9 changed files with 158 additions and 38 deletions

View File

@@ -24,7 +24,7 @@ The system SHALL provide a paginated list of all commission withdrawal requests
### Requirement: Withdrawal Request Approval
The system SHALL allow administrators to approve withdrawal requests.
The system SHALL allow administrators to approve withdrawal requests using the approval API contract. The administrator SHALL enter the remark manually, and the system SHALL submit the request's account name, account number, amount, and withdrawal method from the selected list item together with the manual payment type.
#### Scenario: Approve withdrawal request
@@ -32,6 +32,13 @@ The system SHALL allow administrators to approve withdrawal requests.
- **THEN** the system marks the request as approved
- **AND** updates the processor information and timestamp
#### Scenario: Submit approval details
- **WHEN** administrator confirms approval after optionally entering a remark
- **THEN** the system submits the selected request's account name, account number, amount, and withdrawal method with `payment_type` set to `manual`
- **AND** submits the manually entered remark
- **AND** refreshes the list after a successful response
### Requirement: Withdrawal Request Rejection
The system SHALL allow administrators to reject withdrawal requests with a reason.

View File

@@ -41,6 +41,7 @@
- [x] 5.6 Implement approve action with confirmation dialog
- [x] 5.7 Implement reject action with reason input dialog
- [x] 5.8 Add status badges using unified status components
- [x] 5.9 Submit approval request details from the selected list item and collect a manual remark
## 6. Withdrawal Settings Module