|
@@ -25,7 +25,7 @@
|
|
|
<view class="get-time-view flex-row"
|
|
|
v-if="orderInfo.order_status == 8||orderInfo.order_status == 9">已取消</view>
|
|
|
<view class="get-time-view flex-row" v-if="orderInfo.order_status == 1 "><text>请于</text><text
|
|
|
- class="get-car-time">{{tools.formatTimeSecond( orderInfo.pick_up_time)}}</text><text>到门店取车</text>
|
|
|
+ class="get-car-time">{{tools.formatTimeSecond( orderInfo.pick_up_time)}}</text><text>到门店取车</text>
|
|
|
</view>
|
|
|
<view v-if="orderInfo.order_status == 10">已完结</view>
|
|
|
</block>
|
|
@@ -36,27 +36,28 @@
|
|
|
<view v-if="orderInfo.order_type != 3" class="flex-row flex-between">
|
|
|
<view class="money-item">
|
|
|
<view :class="orderInfo.order_status == 4?'red-status':''">
|
|
|
- <block v-if="orderInfo.hire_duration_time">{{orderInfo.hire_duration_time}}</block>
|
|
|
+ <block v-if="orderInfo.hire_duration_time&&orderInfo.hire_duration_time>0">{{orderInfo.hire_duration_time}}</block>
|
|
|
<block v-else>{{Number(orderInfo.hire_cycle) * (orderInfo.hire_duration)}}</block>
|
|
|
</view>
|
|
|
|
|
|
- <view>{{((orderInfo.order_status == 2) || orderInfo.order_status == 3)?'租期剩余':(orderInfo.order_status == 4 ? '逾期时长':'租借周期')}}·<text style="opacity: 0.4;">{{leaseUnits(orderInfo.hire_duration_unit)}}</text></view>
|
|
|
+ <view>{{(orderInfo.order_status == 2 || orderInfo.order_status == 3)?'租期剩余':(orderInfo.order_status == 4 ? '逾期时长':'租借周期')}}·<text style="opacity: 0.4;">{{leaseUnits(orderInfo.hire_duration_unit)}}</text></view>
|
|
|
|
|
|
<!-- <view v-if="(orderInfo.order_status == 2&&orderInfo.hire_type==2) || orderInfo.order_status == 3">
|
|
|
租期剩余·天</view>
|
|
|
<view v-else-if="orderInfo.order_status == 4 " class="red-status">逾期时长·天</view>
|
|
|
<view v-else>租借周期·天</view> -->
|
|
|
</view>
|
|
|
- <view v-if="orderInfo.order_status != 4" class="money-item">
|
|
|
+ <view v-if="orderInfo.order_status != 4||orderInfo.overdue_money==0" class="money-item">
|
|
|
<view>
|
|
|
- {{(orderInfo.hire_money + orderInfo.deposit / 100).toFixed(2)}}
|
|
|
+ {{((orderInfo.hire_money + orderInfo.deposit) / 100).toFixed(2)}}
|
|
|
</view>
|
|
|
<view>订单金额<text style="opacity: 0.4;">·$</text></view>
|
|
|
</view>
|
|
|
|
|
|
- <view v-if="orderInfo.order_status == 4" class="money-item">
|
|
|
+ <view v-if="orderInfo.order_status == 4&&orderInfo.overdue_money!=0" class="money-item">
|
|
|
<view style="color:#F95151" class="red-status">
|
|
|
{{(orderInfo.money / 100).toFixed(2)}}
|
|
|
+ <!-- {{(orderInfo.overdue_money / 100).toFixed(2)}} -->
|
|
|
</view>
|
|
|
<view style="color:#F95151">逾期金额·$</view>
|
|
|
</view>
|