Fix: 【商城小程序】待收货、待评价订单详情页—物流区域,没有显示最新一条物流信息
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
<view class="v12-align-center v12-mr-2">
|
||||
<image class="logo" :src="webUrl+'/orderIcon/car.png'" mode="" style="margin-right:0; width: 32rpx; height:32rpx"/>
|
||||
</view>
|
||||
<view class="v12-font-28">{{ logistics.reason }}</view>
|
||||
<view class="v12-font-28 v12-secondary-dark-text">{{ logistics.reason }}</view>
|
||||
</view>
|
||||
<view>
|
||||
<uni-icons type="right" size="20" color="#707070"></uni-icons>
|
||||
@@ -493,7 +493,6 @@ export default {
|
||||
// inject: ["app"],
|
||||
mounted: function () {
|
||||
this.id = this.$yroute.query.id;
|
||||
this.getExpressInfo()
|
||||
},
|
||||
methods: {
|
||||
copyClipboard,
|
||||
@@ -505,15 +504,16 @@ export default {
|
||||
};
|
||||
express(params)
|
||||
.then(res => {
|
||||
this.logistics = res.data
|
||||
this.logistics = res.data || {}
|
||||
console.log(this.logistics);
|
||||
})
|
||||
.catch(err => {
|
||||
uni.showToast({
|
||||
title:
|
||||
err.msg || err.response.data.msg || err.response.data.message,
|
||||
icon: "none",
|
||||
duration: 2000
|
||||
});
|
||||
// uni.showToast({
|
||||
// title:
|
||||
// err.msg || err.response.data.msg || err.response.data.message,
|
||||
// icon: "none",
|
||||
// duration: 2000
|
||||
// });
|
||||
});
|
||||
},
|
||||
goLogistics(order) {
|
||||
@@ -828,6 +828,7 @@ export default {
|
||||
this.system_store = res.data.systemStore || {};
|
||||
this.mapKey = res.data.mapKay;
|
||||
this.setOfflinePayStatus(this.orderInfo.offlinePayStatus);
|
||||
this.getExpressInfo()
|
||||
})
|
||||
.catch(err => {
|
||||
uni.showToast({
|
||||
|
||||
Reference in New Issue
Block a user