This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
## ADDED Requirements
|
||||
|
||||
### Requirement: Agent Recharge Voucher Drag Upload
|
||||
|
||||
The system SHALL support drag-and-drop image selection for payment vouchers in the admin agent recharge creation dialog.
|
||||
|
||||
#### Scenario: Drag image into agent recharge voucher upload area
|
||||
|
||||
- **GIVEN** 用户正在后台“财务管理”中创建线下支付充值订单
|
||||
- **WHEN** 用户将一张符合要求的图片拖入支付凭证上传区
|
||||
- **THEN** 系统 MUST 接受该图片作为支付凭证待上传文件
|
||||
- **AND** 系统 MUST 继续沿用现有异步上传流程上传该文件
|
||||
- **AND** 上传完成后系统 MUST 保存返回的 `payment_voucher_key`
|
||||
|
||||
#### Scenario: Click-to-select still works for agent recharge voucher upload
|
||||
|
||||
- **GIVEN** 用户正在后台“财务管理”中创建线下支付充值订单
|
||||
- **WHEN** 用户点击支付凭证上传区选择一张符合要求的图片
|
||||
- **THEN** 系统 MUST 继续支持原有点击选择行为
|
||||
- **AND** 系统 MUST NOT 因新增拖拽能力破坏原有单文件限制、类型校验和大小校验
|
||||
@@ -0,0 +1,20 @@
|
||||
## ADDED Requirements
|
||||
|
||||
### Requirement: Recharge Voucher Drag Upload
|
||||
|
||||
The system SHALL support drag-and-drop image selection for payment vouchers in the admin recharge order creation dialog within asset information.
|
||||
|
||||
#### Scenario: Drag image into recharge voucher upload area
|
||||
|
||||
- **GIVEN** 用户正在后台“资产信息”中创建线下支付充值订单
|
||||
- **WHEN** 用户将一张符合要求的图片拖入支付凭证上传区
|
||||
- **THEN** 系统 MUST 接受该图片作为支付凭证待上传文件
|
||||
- **AND** 系统 MUST 继续沿用现有异步上传流程上传该文件
|
||||
- **AND** 上传完成后系统 MUST 保存返回的 `payment_voucher_key`
|
||||
|
||||
#### Scenario: Click-to-select still works for recharge voucher upload
|
||||
|
||||
- **GIVEN** 用户正在后台“资产信息”中创建线下支付充值订单
|
||||
- **WHEN** 用户点击支付凭证上传区选择一张符合要求的图片
|
||||
- **THEN** 系统 MUST 继续支持原有点击选择行为
|
||||
- **AND** 系统 MUST NOT 因新增拖拽能力破坏原有单文件限制、类型校验和大小校验
|
||||
@@ -0,0 +1,20 @@
|
||||
## ADDED Requirements
|
||||
|
||||
### Requirement: Order Voucher Drag Upload
|
||||
|
||||
The system SHALL support drag-and-drop image selection for payment vouchers in the admin order creation dialog.
|
||||
|
||||
#### Scenario: Drag image into order voucher upload area
|
||||
|
||||
- **GIVEN** 用户正在后台“订单管理”中创建线下支付订单
|
||||
- **WHEN** 用户将一张符合要求的图片拖入支付凭证上传区
|
||||
- **THEN** 系统 MUST 接受该图片作为支付凭证待上传文件
|
||||
- **AND** 系统 MUST 继续沿用现有异步上传流程上传该文件
|
||||
- **AND** 上传完成后系统 MUST 保存返回的 `payment_voucher_key`
|
||||
|
||||
#### Scenario: Click-to-select still works for order voucher upload
|
||||
|
||||
- **GIVEN** 用户正在后台“订单管理”中创建线下支付订单
|
||||
- **WHEN** 用户点击支付凭证上传区选择一张符合要求的图片
|
||||
- **THEN** 系统 MUST 继续支持原有点击选择行为
|
||||
- **AND** 系统 MUST NOT 因新增拖拽能力破坏原有单文件限制、类型校验和大小校验
|
||||
Reference in New Issue
Block a user