|
@@ -6,7 +6,7 @@
|
|
<view class="head">
|
|
<view class="head">
|
|
<text v-if="merchantType==10">{{FishJialeOcfg[infoMation.status]}}</text>
|
|
<text v-if="merchantType==10">{{FishJialeOcfg[infoMation.status]}}</text>
|
|
<text v-esle>{{FishJialeOcfg2[infoMation.orderStatus]}}</text>
|
|
<text v-esle>{{FishJialeOcfg2[infoMation.orderStatus]}}</text>
|
|
- <view class="time">
|
|
|
|
|
|
+ <view class="time" v-if="merchantType==4">
|
|
有效期:{{infoMation.activityStartTime&&infoMation.activityStartTime.substring(0,10)}}至{{infoMation.activityEndTime&&infoMation.activityEndTime.substring(0,10)}}
|
|
有效期:{{infoMation.activityStartTime&&infoMation.activityStartTime.substring(0,10)}}至{{infoMation.activityEndTime&&infoMation.activityEndTime.substring(0,10)}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -20,27 +20,29 @@
|
|
</view>
|
|
</view>
|
|
</view> -->
|
|
</view> -->
|
|
<view v-if="merchantType==10" class="dateAndType">
|
|
<view v-if="merchantType==10" class="dateAndType">
|
|
- <u-icon name="calendar" size="32" color="#272636"></u-icon>
|
|
|
|
|
|
+ <u-icon name="calendar" size="40" color="#272636" style="display: flex;align-items: center;"></u-icon>
|
|
<text>{{infoMation.payTime}}出发/{{infoMation.orderType==3?'拼船':'包船'}}</text>
|
|
<text>{{infoMation.payTime}}出发/{{infoMation.orderType==3?'拼船':'包船'}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="ticketInfo-hander">
|
|
<view class="ticketInfo-hander">
|
|
<view class="image">
|
|
<view class="image">
|
|
- <image :src="infoMation.productImg|delArr" mode="aspectFill"></image>
|
|
|
|
|
|
+ <image :src="infoMation.coverImg" mode="aspectFill"></image>
|
|
</view>
|
|
</view>
|
|
<view class="right">
|
|
<view class="right">
|
|
<view class="name">
|
|
<view class="name">
|
|
- {{infoMation.productName}}
|
|
|
|
|
|
+ {{infoMation.goodsName}}
|
|
</view>
|
|
</view>
|
|
<view class="tip">
|
|
<view class="tip">
|
|
- 周一至周日 · 无需预约
|
|
|
|
|
|
+ <text v-if='infoMation.orderType==3'>价格:¥{{infoMation.avePrice}}/人</text>
|
|
|
|
+ <text v-if='infoMation.orderType==2'>价格:¥{{infoMation.totalPrice}}/艘</text>
|
|
|
|
+ <text v-if='infoMation.orderType==1'>价格:¥{{infoMation.discountPrice}}/艘</text>
|
|
</view>
|
|
</view>
|
|
<view class="price">
|
|
<view class="price">
|
|
- <text>¥</text><text>{{infoMation.realityPay}}</text>
|
|
|
|
|
|
+ <text>数量:</text>X<text>{{infoMation.detailDto.length}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="foods">
|
|
|
|
|
|
+ <view class="foods" v-if="merchantType==4">
|
|
<view class="tit">
|
|
<view class="tit">
|
|
套餐明细
|
|
套餐明细
|
|
</view>
|
|
</view>
|
|
@@ -51,13 +53,13 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- 游客信息 -->
|
|
<!-- 游客信息 -->
|
|
- <view class="orderInfo " style="padding-bottom: 30rpx;">
|
|
|
|
|
|
+ <view class="orderInfo yk" style="padding-bottom: 30rpx;">
|
|
<view class="tit">游客信息</view>
|
|
<view class="tit">游客信息</view>
|
|
- <u-cell :border="false" v-for="(i,index) in infoMation.aa">
|
|
|
|
- <text slot="icon" class="txt">订单编号</text>
|
|
|
|
|
|
+ <u-cell :border="false" v-for="(i,index) in infoMation.detailDto">
|
|
|
|
+ <text slot="icon" class="txt">{{i.touristName}}</text>
|
|
>
|
|
>
|
|
- <text slot="title" class="val">{{infoMation.orderCode}}</text>
|
|
|
|
- <text slot="right-icon">复制</text>
|
|
|
|
|
|
+ <text slot="title" class="val">{{i.touristCode}}</text>
|
|
|
|
+ <text slot="right-icon">航班号:{{infoMation.boatNo||''}}</text>
|
|
</u-cell>
|
|
</u-cell>
|
|
</view>
|
|
</view>
|
|
<!-- 订单信息 -->
|
|
<!-- 订单信息 -->
|
|
@@ -102,17 +104,17 @@
|
|
<u-cell :border="false">
|
|
<u-cell :border="false">
|
|
<text slot="icon" class="txt">下单时间</text>
|
|
<text slot="icon" class="txt">下单时间</text>
|
|
>
|
|
>
|
|
- <text slot="title" class="val">{{infoMation.realityPay}}</text>
|
|
|
|
|
|
+ <text slot="title" class="val">{{infoMation.linkName}}</text>
|
|
</u-cell>
|
|
</u-cell>
|
|
<u-cell :border="false">
|
|
<u-cell :border="false">
|
|
<text slot="icon" class="txt">联系方式</text>
|
|
<text slot="icon" class="txt">联系方式</text>
|
|
>
|
|
>
|
|
- <text slot="title" class="val">{{infoMation.realityPay}}</text>
|
|
|
|
|
|
+ <text slot="title" class="val">{{infoMation.linkPhone}}</text>
|
|
</u-cell>
|
|
</u-cell>
|
|
<u-cell :border="false">
|
|
<u-cell :border="false">
|
|
<text slot="icon" class="txt">支付方式</text>
|
|
<text slot="icon" class="txt">支付方式</text>
|
|
>
|
|
>
|
|
- <text slot="title" class="val">{{infoMation.phone}}</text>
|
|
|
|
|
|
+ <text slot="title" class="val">{{infoMation.payType==1?'微信':'支付宝'}}</text>
|
|
</u-cell>
|
|
</u-cell>
|
|
<u-cell :border="false">
|
|
<u-cell :border="false">
|
|
<text slot="icon" class="txt">总计</text>
|
|
<text slot="icon" class="txt">总计</text>
|
|
@@ -124,7 +126,7 @@
|
|
</view>
|
|
</view>
|
|
<!-- 餐饮 -->
|
|
<!-- 餐饮 -->
|
|
<view class="btns" v-if="merchantType==4&&infoMation.orderStatus==4">
|
|
<view class="btns" v-if="merchantType==4&&infoMation.orderStatus==4">
|
|
- <view class="detail del" @tap="hexiao()" v-if="infoMation.orderStatus==4">
|
|
|
|
|
|
+ <view class="detail del" @tap="hexiao2()" v-if="infoMation.orderStatus==4">
|
|
核销订单
|
|
核销订单
|
|
</view>
|
|
</view>
|
|
<!-- <template v-else>
|
|
<!-- <template v-else>
|
|
@@ -198,6 +200,13 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ init(){
|
|
|
|
+ if (this.merchantType == 10) {
|
|
|
|
+ this.info()
|
|
|
|
+ } else {
|
|
|
|
+ this.info2()
|
|
|
|
+ }
|
|
|
|
+ },
|
|
//渔家乐
|
|
//渔家乐
|
|
info() {
|
|
info() {
|
|
this.$api.get('/api/fishering/personCenterOrderDetail/' + this.orderCode).then(res => {
|
|
this.$api.get('/api/fishering/personCenterOrderDetail/' + this.orderCode).then(res => {
|
|
@@ -237,10 +246,26 @@
|
|
})
|
|
})
|
|
// #endif
|
|
// #endif
|
|
},
|
|
},
|
|
|
|
+ hexiao() {
|
|
|
|
+ let that = this;
|
|
|
|
+ uni.showModal({
|
|
|
|
+ title: '提示',
|
|
|
|
+ content: '确定核销订单?',
|
|
|
|
+ success: function(res) {
|
|
|
|
+ if (res.confirm) {
|
|
|
|
+ that.$api.get('/scenic/order/orderWriteOff/'+this.infoMation.orderCode).then(res => {
|
|
|
|
+ if (res.data.code === 0) {
|
|
|
|
+ that.$showToast('订单已核销');
|
|
|
|
+ that.init();
|
|
|
|
+ } else that.$showToast(res.data.msg)
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ },
|
|
// 核销
|
|
// 核销
|
|
- hexiao(item) {
|
|
|
|
|
|
+ hexiao2() {
|
|
let that = this;
|
|
let that = this;
|
|
- if (this.merchantType == 10) {} else {}
|
|
|
|
uni.showModal({
|
|
uni.showModal({
|
|
title: '提示',
|
|
title: '提示',
|
|
content: '确定核销订单?',
|
|
content: '确定核销订单?',
|
|
@@ -387,6 +412,9 @@
|
|
font-weight: Regular;
|
|
font-weight: Regular;
|
|
margin: 0 20rpx 0 30rpx;
|
|
margin: 0 20rpx 0 30rpx;
|
|
}
|
|
}
|
|
|
|
+ &.yk{
|
|
|
|
+ .txt,.icon,.val {font-size: 30rpx;color: #333;}
|
|
|
|
+ }
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
@@ -408,6 +436,8 @@
|
|
color: #333333;
|
|
color: #333333;
|
|
line-height: 36rpx;
|
|
line-height: 36rpx;
|
|
margin-bottom: 48rpx;
|
|
margin-bottom: 48rpx;
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
}
|
|
}
|
|
|
|
|
|
.hander-titles {
|
|
.hander-titles {
|