Commit 577489f7 authored by youjie's avatar youjie

聚合订单

parent 00af0c04
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
} }
</style> </style>
<template> <template>
<view class="" <view class="" v-if="datas"
:class="[type?'cancelProgress':'']"> :class="[type?'cancelProgress':'']">
<view class="showModalCenter"> <view class="showModalCenter">
<view class="showModalCTitle column"> <view class="showModalCTitle column">
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
</template> </template>
<template v-else> <template v-else>
<template v-if="order.AfterSalesOrderStatus==1">等待审批</template> <template v-if="order.AfterSalesOrderStatus==1">等待审批</template>
<template v-if="order.AfterSalesOrderStatus==2">款中</template> <template v-if="order.AfterSalesOrderStatus==2">退款中</template>
<template v-if="order.AfterSalesOrderStatus==3">完成</template> <template v-if="order.AfterSalesOrderStatus==3">完成</template>
</template> </template>
</text> </text>
...@@ -233,11 +233,26 @@ ...@@ -233,11 +233,26 @@
</view> </view>
<view class="text-center cities-name" @click="requeryHandle" v-if="order.OrderStatus!=1&&order.OrderStatus!=2" style="background-color: #1d1d20;border-radius: 10rpx;height: 80rpx; line-height: 80rpx;color:#EEF1F4">再次预定</view> <view class="text-center cities-name" @click="requeryHandle" v-if="order.OrderStatus!=1&&order.OrderStatus!=2" style="background-color: #1d1d20;border-radius: 10rpx;height: 80rpx; line-height: 80rpx;color:#EEF1F4">再次预定</view>
<view class="row" v-if="order.OrderStatus==2">
<view class="col" style="color: #9999A5;">
<text class="small">已支付:¥ </text>
<text style="font-size: 40rpx;font-weight: bold;color:#ff3166;">
{{order.TotalPrice-Number(order.PreferentialPrice)}}
</text>
</view>
<view style="font-size: 22rpx;">
<view class="text-right">
如有变更,请联系:
</view>
<view class="">
{{erpBaseInfo.emName}}/{{erpBaseInfo.imAccount}}
</view>
</view>
</view>
<!-- #endif --> <!-- #endif -->
<!-- #ifdef MP-AG --> <!-- #ifdef MP-AG -->
<view class="text-center cities-name" @click="cancelVisible=true" v-if="order.status==0" style="background-color: #1d1d20;border-radius: 10rpx;height: 80rpx; line-height: 80rpx;color:#EEF1F4">取消订单</view> <view class="text-center cities-name" @click="cancelVisible=true" v-if="order.status==0" style="background-color: #1d1d20;border-radius: 10rpx;height: 80rpx; line-height: 80rpx;color:#EEF1F4">取消订单</view>
<view class="text-center cities-name" @click="requeryHandle" v-if="order.status==2" style="background-color: #1d1d20;border-radius: 10rpx;height: 80rpx; line-height: 80rpx;color:#EEF1F4">再次预定</view> <view class="text-center cities-name" @click="requeryHandle" v-if="order.status==2" style="background-color: #1d1d20;border-radius: 10rpx;height: 80rpx; line-height: 80rpx;color:#EEF1F4">再次预定</view>
<!-- #endif -->
<view class="row" v-if="order.ResultPrice && order.status==1"> <view class="row" v-if="order.ResultPrice && order.status==1">
<view class="col" style="color: #9999A5;"> <view class="col" style="color: #9999A5;">
<text class="small">已支付:¥ </text> <text class="small">已支付:¥ </text>
...@@ -254,6 +269,8 @@ ...@@ -254,6 +269,8 @@
</view> </view>
</view> </view>
</view> </view>
<!-- #endif -->
</view> </view>
<u-popup mode="bottom" border-radius="20" :popup="false" v-model="flightVisible" :maskCloseAble="true" length="auto" :safeAreaInsetBottom="true" @close="popupClose" :z-index="9999"> <u-popup mode="bottom" border-radius="20" :popup="false" v-model="flightVisible" :maskCloseAble="true" length="auto" :safeAreaInsetBottom="true" @close="popupClose" :z-index="9999">
<view style="padding:30rpx;min-height: 60vh;"> <view style="padding:30rpx;min-height: 60vh;">
...@@ -346,6 +363,7 @@ ...@@ -346,6 +363,7 @@
OrderTypeStr: '', OrderTypeStr: '',
OrderNo: '', OrderNo: '',
showModal: false, showModal: false,
erpBaseInfo: null,
} }
}, },
computed:{ computed:{
...@@ -376,6 +394,7 @@ ...@@ -376,6 +394,7 @@
}, },
}, },
onLoad(options) { onLoad(options) {
this.erpBaseInfo = uni.getStorageSync("b2b_user").erpBaseInfo
if(options.OrderNo||(options.id&&options.OrderTypeStr)){ if(options.OrderNo||(options.id&&options.OrderTypeStr)){
this.id = options.id this.id = options.id
this.order.status = options.status?options.status:1 this.order.status = options.status?options.status:1
......
...@@ -927,7 +927,7 @@ ...@@ -927,7 +927,7 @@
this.showPayBtn = false; this.showPayBtn = false;
}else if(status==5&&this.orderData.AfterSalesOrderStatus==2){ }else if(status==5&&this.orderData.AfterSalesOrderStatus==2){
this.orderStatus.code = 0; this.orderStatus.code = 0;
this.orderStatus.text = "款中"; this.orderStatus.text = "退款中";
this.showPayBtn = false; this.showPayBtn = false;
}else if(status==5&&this.orderData.AfterSalesOrderStatus==3){ }else if(status==5&&this.orderData.AfterSalesOrderStatus==3){
this.orderStatus.code = -1; this.orderStatus.code = -1;
......
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