update
This commit is contained in:
@ -74,7 +74,8 @@ Page({
|
||||
this.setData({
|
||||
goods: goods,
|
||||
total: total,
|
||||
numAll: numAll
|
||||
numAll: numAll,
|
||||
logistics: goods.logistics ? JSON.parse(goods.logistics) : null
|
||||
})
|
||||
if (goods.status == 1) {
|
||||
this.setData({
|
||||
@ -150,7 +151,14 @@ Page({
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
//申请售后
|
||||
apply: function (e) {
|
||||
const { id, num, sq, packageId } = e.currentTarget.dataset
|
||||
console.log(packageId);
|
||||
wx.navigateTo({
|
||||
url: '/pages/my/applyAfter_sales/applyAfter_sales?id=' + id + '&num=' + num + '&sq=' + sq + "&packageId=" + packageId,
|
||||
})
|
||||
},
|
||||
countDown() {
|
||||
let leftoverDayI = this.data.leftoverDayI;
|
||||
let nowTime = new Date().getTime()
|
||||
@ -278,7 +286,7 @@ Page({
|
||||
},
|
||||
|
||||
// 评价订单
|
||||
rate(e){
|
||||
rate(e) {
|
||||
wx.navigateTo({
|
||||
url: '/pages/rate/rate',
|
||||
})
|
||||
@ -342,9 +350,9 @@ Page({
|
||||
})
|
||||
},
|
||||
viewLogisticsDetails(e) {
|
||||
const { logisticsNum, logisticsName } = e.currentTarget.dataset
|
||||
const { logistics, logisticsName, orderNumber } = e.currentTarget.dataset
|
||||
wx.navigateTo({
|
||||
url: `/pages/logistics_details/logistics_details?logisticsNum=${logisticsNum}&logisticsName=${logisticsName}`,
|
||||
url: `/pages/logistics_details/logistics_details?orderNumber=${orderNumber}&logistics=${logistics}&logisticsName=${logisticsName}`,
|
||||
})
|
||||
},
|
||||
/**
|
||||
|
Reference in New Issue
Block a user