|
@@ -186,7 +186,7 @@
|
|
|
<!-- </view> -->
|
|
|
</view>
|
|
|
|
|
|
- <view v-if="(orderInfo.hire_begin_time!=0&&orderInfo.hire_end_time!=0)||orderInfo.order_type!=3 ||orderInfo.order_status!=5||orderInfo.order_status!=6" class="return-info">
|
|
|
+ <view v-if="(orderInfo.hire_begin_time!=0&&orderInfo.hire_end_time!=0 && orderInfo.order_type!=3) && orderInfo.order_status!=5 && orderInfo.order_status!=6 " class="return-info">
|
|
|
<view class="return-top flex-row flex-between">
|
|
|
<view>{{ $t('取还时间') }}</view>
|
|
|
<view>
|
|
@@ -206,6 +206,15 @@
|
|
|
<view>{{tools.formatTimeDate(orderInfo.hire_end_time)}}</view> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
+
|
|
|
+ <view v-if="orderInfo.order_type == 3" class="return-info">
|
|
|
+ <view class="return-top flex-row flex-between">
|
|
|
+ <view>{{ $t('购买时间') }}</view>
|
|
|
+ </view>
|
|
|
+ <view class="return-bottom flex-row">
|
|
|
+ <view>{{dayjsFn(orderInfo.pay_time)}}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
|
|
|
|
|
|
<view v-if="orderInfo.order_status==2||orderInfo.order_status==3||orderInfo.order_status==4"
|
|
@@ -413,6 +422,9 @@
|
|
|
computed: {},
|
|
|
|
|
|
methods: {
|
|
|
+ dayjsFn(time){
|
|
|
+ return dayjs(time * 1000).format('YYYY-MM-DD HH:mm:ss')
|
|
|
+ },
|
|
|
getAddressName(latitude, longitude) {
|
|
|
const pData = {
|
|
|
lng: longitude,
|