Commit 2cce1bb2 authored by 黄奎's avatar 黄奎

Merge branch 'master' of http://gitlab.oytour.com/zk123/jz_travel

parents b444f6a8 d9f36992
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</view> </view>
</view> </view>
<view class="couponHeadRight"> <view class="couponHeadRight">
<text v-for="(item,index) in couponStateList" :key="index" :class="[msg.CouponsType==item.id?'active':'']" <text v-for="(item,index) in couponStateList" :key="index" :class="[checkStateType==item.id?'active':'']"
@click.stop="changeState(item)">{{ item.name }}</text> @click.stop="changeState(item)">{{ item.name }}</text>
</view> </view>
</view> </view>
...@@ -94,6 +94,7 @@ ...@@ -94,6 +94,7 @@
pageTitle: "我的优惠券", pageTitle: "我的优惠券",
showAuth: false, showAuth: false,
U: {}, U: {},
checkStateType:1,//状态选中
couponStateList: [{ couponStateList: [{
name: "全部", name: "全部",
id: 0, id: 0,
...@@ -252,6 +253,7 @@ ...@@ -252,6 +253,7 @@
}, },
//状态切换 //状态切换
changeState(item) { changeState(item) {
this.checkStateType=item.id;
if (item.id <= 2) { if (item.id <= 2) {
this.msg.CouponsType = item.id, this.msg.CouponsType = item.id,
this.msg.CouponStatus = 1; this.msg.CouponStatus = 1;
......
...@@ -394,12 +394,12 @@ ...@@ -394,12 +394,12 @@
{{ orderData.model.CreateDate.replace("T", " ") }} {{ orderData.model.CreateDate.replace("T", " ") }}
</view> </view>
</view> </view>
<view class="form-items"> <!-- <view class="form-items">
<view class="label">下单日期</view> <view class="label">下单日期</view>
<view class="jz_SureVal"> <view class="jz_SureVal">
{{ orderData.model.CreateDate.replace("T", " ") }} {{ orderData.model.CreateDate.replace("T", " ") }}
</view> </view>
</view> </view> -->
</view> </view>
<view class="empty-block"></view> <view class="empty-block"></view>
<view class="jz_form jz_MyGuestList" v-for="(subItem, subIndex) in orderData.model.GuestList" :key="subIndex"> <view class="jz_form jz_MyGuestList" v-for="(subItem, subIndex) in orderData.model.GuestList" :key="subIndex">
...@@ -440,7 +440,14 @@ ...@@ -440,7 +440,14 @@
<view class="label"> 在线支付 </view> <view class="label"> 在线支付 </view>
<view class="val f14 regular" style="text-align: right"> <view class="val f14 regular" style="text-align: right">
<text style="margin-right: 30rpx">{{ orderData.model.GuestNum }}</text> <text style="margin-right: 30rpx">{{ orderData.model.GuestNum }}</text>
<text class="red">{{ orderData.model.PreferPrice }}</text> <text class="red">
<template v-if=" orderData.model.DiscountMoney&&orderData.model.DiscountMoney>0">
{{ Number(orderData.model.PreferPrice) -Number(orderData.model.DiscountMoney)}}
</template>
<template v-else>
{{ orderData.model.PreferPrice }}
</template>
</text>
</view> </view>
</view> </view>
<view class="form-items" style="border-bottom: none"> <view class="form-items" style="border-bottom: none">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment