任务描述
需求描述
1. 需求概述
1.1. 背景
Cdiscount平台需手动创建退款单,比较繁琐
api接口:https://dev.cdiscount.com/marketplace/?page_id=130
2. 功能设计
2.1.生成退款单
2.1.1 需求说明
Cdiscount平台,当检测到订单状态为CancelledByCustomer的时候,在【客服系统-订单退款管理中】自动生成退款单,退款金额为订单金额
注:这里和之后说的判断订单状态,指的是OrderState
2.1.2 原型界面

2.1.1 客户订单增加提示
当订单状态为CancelledByCustomer时,在订单客户地址信息中,强制添加备注,显示“检测到平台订单状态:CancelledByCustomer”
2.1.2 原型界面

验收标准
暂无
相关用例
- #40044 【客户订单】Cdiscount平台ERP中间表映射,订单状态OrderState为CancelledByCustomer时,映射到erp
- #40045 【客户订单】Cdiscount平台ERP中间表映射,检测到订单状态变成CancelledByCustomer,自动向退款队列表自动插入一条数据
- #40046 【客户订单】Cdiscount平台新销售平台映射,订单状态OrderState为CancelledByCustomer时,映射到erp
- #40047 【客户订单】Cdiscount平台新销售平台映射,检测到订单状态变成CancelledByCustomer,自动向退款队列表自动插入一条数据
