|
|
@@ -26,7 +26,7 @@ Draft
|
|
|
- [ ] 完善错误处理和用户反馈 `mini/src/pages/order-detail/index.tsx`
|
|
|
- [ ] 确保取消后页面状态正确更新 `mini/src/pages/order-detail/index.tsx`
|
|
|
- [ ] **添加取消原因输入功能** (AC: 3)
|
|
|
- - [ ] 创建取消原因输入组件 `mini/src/components/common/CancelReasonDialog/index.tsx`
|
|
|
+ - [ ] 创建取消原因输入组件 `mini/src/components/common/CancelReasonDialog/index.tsx` [使用shadcn/ui Dialog组件]
|
|
|
- [ ] 集成到OrderButtonBar和OrderDetailPage `mini/src/components/order/OrderButtonBar/index.tsx`, `mini/src/pages/order-detail/index.tsx`
|
|
|
- [ ] 添加取消原因验证 `mini/src/components/common/CancelReasonDialog/index.tsx`
|
|
|
- [ ] **完善错误处理和用户反馈** (AC: 4)
|