[新增退款流程、查看物流]
This commit is contained in:
@@ -7,6 +7,7 @@ Page({
|
||||
data: {
|
||||
logisticArr : [],
|
||||
expressData : '',
|
||||
orderExpress: ''
|
||||
},
|
||||
|
||||
onLoad(options) {
|
||||
@@ -14,6 +15,7 @@ Page({
|
||||
newData = {}
|
||||
} = options;
|
||||
const data = JSON.parse(decodeURIComponent(newData));
|
||||
|
||||
this.setData({
|
||||
expressData: data
|
||||
})
|
||||
@@ -26,9 +28,10 @@ Page({
|
||||
|
||||
// 查看物流
|
||||
h5url() {
|
||||
wx.$api.order.kuaiDi({express_no: this.data.expressData.express_no}).then(res => {
|
||||
wx.$api.order.kuaiDi(this.data.expressData).then(res => {
|
||||
this.setData({
|
||||
logisticArr: res.data.data
|
||||
logisticArr : res.data.logistics,
|
||||
orderExpress: res.data.orderExpress
|
||||
})
|
||||
}).catch(err => {})
|
||||
// wx.request({
|
||||
|
||||
Reference in New Issue
Block a user