Fix: 【商城小程序】待收货、待评价订单详情页—物流区域,没有显示最新一条物流信息

This commit is contained in:
linxi
2024-09-19 15:46:32 +08:00
parent 51ecf9b3b2
commit b899039b89
+4 -2
View File
@@ -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 v12-secondary-dark-text">{{ 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>
@@ -828,7 +828,9 @@ export default {
this.system_store = res.data.systemStore || {};
this.mapKey = res.data.mapKay;
this.setOfflinePayStatus(this.orderInfo.offlinePayStatus);
this.getExpressInfo()
if(this.orderInfo._status._type == 3 || (this.orderInfo._status._type == 2 && this.orderInfo.isTickets!==1)) {
this.getExpressInfo()
}
})
.catch(err => {
uni.showToast({