feat: 订单售后
This commit is contained in:
@@ -343,7 +343,7 @@ export default {
|
||||
}
|
||||
|
||||
if ([ORDER_EVENT_TYPE.RETURN_ORDER, ORDER_EVENT_TYPE.EXCHANGE_ORDER].includes(action.orderType)) {
|
||||
this.submitAfterSale(order, action)
|
||||
this.goAfterSaleSelect(order)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -366,6 +366,15 @@ export default {
|
||||
})
|
||||
this.$router.push('/joyful-selection/payment')
|
||||
},
|
||||
goAfterSaleSelect(order) {
|
||||
this.$router.push({
|
||||
path: '/joyful-selection/after-sale/select',
|
||||
query: {
|
||||
mainOrderId: order.mainOrderId,
|
||||
orderId: order.orderId
|
||||
}
|
||||
})
|
||||
},
|
||||
async cancelMainOrder(order) {
|
||||
try {
|
||||
await Dialog.confirm({
|
||||
|
||||
Reference in New Issue
Block a user