[新增退款流程、查看物流]

This commit is contained in:
2023-11-01 17:08:36 +08:00
parent 9acf8137af
commit a3ee59adda
29 changed files with 1391 additions and 190 deletions

View File

@@ -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({