This commit is contained in:
@@ -10,7 +10,8 @@
|
||||
|
||||
- 更新订单管理中的“创建订单”弹窗支付凭证上传区:
|
||||
- 支持拖拽图片上传
|
||||
- 保留现有单文件限制、图片类型校验、5MB 大小校验、异步上传和上传中禁提交流程
|
||||
- 保留现有单文件限制、图片类型校验、异步上传和上传中禁提交流程
|
||||
- 不再做前端文件大小限制
|
||||
- 更新资产信息中的“创建充值订单”弹窗支付凭证上传区:
|
||||
- 支持拖拽图片上传
|
||||
- 保留现有单文件限制、图片类型校验、5MB 大小校验、异步上传和上传中禁提交流程
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
### Requirement: Order Voucher Drag Upload
|
||||
|
||||
The system SHALL support drag-and-drop image selection for payment vouchers in the admin order creation dialog.
|
||||
The system SHALL support drag-and-drop selection of any browser-recognized image format for payment vouchers in the admin order creation dialog.
|
||||
|
||||
#### Scenario: Drag image into order voucher upload area
|
||||
|
||||
@@ -17,4 +17,11 @@ The system SHALL support drag-and-drop image selection for payment vouchers in t
|
||||
- **GIVEN** 用户正在后台“订单管理”中创建线下支付订单
|
||||
- **WHEN** 用户点击支付凭证上传区选择一张符合要求的图片
|
||||
- **THEN** 系统 MUST 继续支持原有点击选择行为
|
||||
- **AND** 系统 MUST NOT 因新增拖拽能力破坏原有单文件限制、类型校验和大小校验
|
||||
- **AND** 系统 MUST NOT 因新增拖拽能力破坏原有单文件限制和类型校验
|
||||
|
||||
#### Scenario: Upload any image format order payment voucher without frontend size limit
|
||||
|
||||
- **GIVEN** 用户正在后台“订单管理”中创建线下支付订单
|
||||
- **WHEN** 用户选择或拖入任意浏览器识别为图片类型的支付凭证
|
||||
- **THEN** 系统 MUST NOT reject the file based on frontend file size checks
|
||||
- **AND** 系统 MUST accept the file when its MIME type starts with `image/`
|
||||
|
||||
Reference in New Issue
Block a user