新增退货流程

This commit is contained in:
唐明明
2023-08-28 17:51:33 +08:00
parent d9f7a0e1ef
commit 308aeeafb5
24 changed files with 380 additions and 21 deletions

View File

@@ -60,8 +60,14 @@ Page({
* 支付订单
*/
payClick(e) {
let { item } = e.currentTarget.dataset
let data = {
order_id : item.order_id,
order_no : item.order_no,
order_type : item.order_type
}
wx.navigateTo({
url: '/pages/pay/index?order_no=' + e.currentTarget.dataset.order_no + '&total=' + e.currentTarget.dataset.total
url: '/pages/pay/index?params=' + encodeURIComponent(JSON.stringify(data))
})
},
@@ -137,5 +143,14 @@ Page({
// 获取订单列表
this.listInfo(pageNumber);
}
},
/**
* 申请售后
*/
signRefund(e){
let { order_no } = e.currentTarget.dataset
wx.navigateTo({
url: "/pages/refund/aftersale/aftersale?id=" + order_no,
})
}
})