Browse Source

fix site manage

organize
刘嘉炜 3 years ago
parent
commit
d632fee778
  1. 7
      src/components/site/order_modal/order_modal.vue
  2. 21
      src/subpackage/device/components/order/reservation_site_detail/reservation_site_detail.vue

7
src/components/site/order_modal/order_modal.vue

@ -66,7 +66,7 @@
<view class="om-name-line">
<view class="onl-view">预订信息</view>
</view>
<view class="om-info-line">
<view class="om-info-line" v-if="orderInfo.type == 'fixed_venue'">
<view class="oil-view">固定场名称</view>
<view class="oil-view">
<view class="ov-view">{{ orderInfo.fix_name || '-' }}</view>
@ -94,7 +94,7 @@
</view>
<view class="om-total" v-if="isShowTotalAmoutn" >实付款 {{ orderInfo.amount || '0' }}</view>
<!-- 管理员占用 -->
<view class="om-btns" v-if="orderInfo.type == 'take_up_venue'">
<view class="om-btns" v-if="orderInfo.type == 'take_up_venue'&&orderInfo.overdue != true">
<block v-if="orderInfo.pay_status == 0 || orderInfo.pay_status == 1">
<view class="ob-view" @click="toShare">分享给朋友</view>
<view class="ob-view red" @click="cancelOccupy">取消占用</view>
@ -113,7 +113,8 @@
<view class="om-btns" v-if="orderInfo.type == 'fixed_venue'">
<!-- 测试固定场地没有详情 -->
<view class="ob-view" v-if="orderInfo.pay_status != 0" @click="toOrderInfo">订单详情</view>
<view class="ob-view red" @click="fixedCancelOccupy" v-if="orderInfo.pay_status!=2">取消订场</view>
<!-- 20220309 测试&PM 直接不要取消订场是吧 -->
<!-- <view class="ob-view red" @click="fixedCancelOccupy" v-if="orderInfo.pay_status!=2&&orderInfo.overdue != true">取消订场</view> -->
<!-- <view class="ob-view red">退款</view> -->
</view>
</view>

21
src/subpackage/device/components/order/reservation_site_detail/reservation_site_detail.vue

@ -27,7 +27,7 @@
<view :class="['rl-code1', orderInfo.pay_status==2?'rl-code2':'', orderInfo.pay_status==3?'rl-code3':'', orderInfo.pay_status==4?'rl-code4':'']" >{{orderInfo.verify_code || '-'}}<text>({{zh_pay_status(orderInfo.pay_status)}})</text></view>
</view>
<!-- 已使用 -->
<block v-if="orderInfo.pay_status==2">
<block v-if="orderInfo.pay_status==2 || orderInfo.pay_status==8">
<view class="rb-line">
<view class="rl-view">核销方式</view>
<text class="rl-text">{{orderInfo.verify_desc || '-'}}</text>
@ -36,14 +36,17 @@
<view class="rl-view">核销时间</view>
<text class="rl-text">{{orderInfo.verify_time || '-'}}</text>
</view>
<view class="rb-line">
<view class="rl-view">离场方式</view>
<text class="rl-text">{{orderInfo.verify_leave_desc || '-'}}</text>
</view>
<view class="rb-line">
<view class="rl-view">离场时间</view>
<text class="rl-text">{{orderInfo.verify_leave_time || '-'}}</text>
</view>
<block v-if="orderInfo.pay_status==2">
<view class="rb-line">
<view class="rl-view">离场方式</view>
<text class="rl-text">{{orderInfo.verify_leave_desc || '-'}}</text>
</view>
<view class="rb-line">
<view class="rl-view">离场时间</view>
<text class="rl-text">{{orderInfo.verify_leave_time || '-'}}</text>
</view>
</block>
</block>
</view>
<view class="rs-box">

Loading…
Cancel
Save