|
@@ -59,7 +59,20 @@
|
|
|
|
|
|
<!-- 订单内容 -->
|
|
|
<view class="information">
|
|
|
- <view class="detailedTitle">订单内容</view>
|
|
|
+ <view class="detailedTitle ptzt">订单内容
|
|
|
+ <view class="groupStateBox " v-if="orderData.data.groupState==4">
|
|
|
+ <image src="../../static/img/cky.png" mode="" class="groupStateIcon"></image>
|
|
|
+ <view class="groupStateTxt">自动成团</view>
|
|
|
+ </view>
|
|
|
+ <view class="groupStateBox " v-if="orderData.data.groupState==3">
|
|
|
+ <image src="../../static/img/cky.png" mode="" class="groupStateIcon"></image>
|
|
|
+ <view class="groupStateTxt">拼团成功</view>
|
|
|
+ </view>
|
|
|
+ <view class="groupStateBox " v-if="orderData.data.groupState==1">
|
|
|
+ <image src="../../static/img/del.png" mode="" class="groupStateIcon"></image>
|
|
|
+ <view class="groupStateTxt">拼团失败</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
|
|
|
<view v-if="orderData.openSheetDetail.length>0" v-for="(item,index) in orderData.openSheetDetail"
|
|
|
:key="index">
|
|
@@ -74,28 +87,38 @@
|
|
|
<view class="salePrice"><span class="informationNum" >¥</span>{{item.salePrice}}</view>
|
|
|
</view>
|
|
|
|
|
|
- <view v-if="orderData.data.sheetState != 1 && orderData.data.sheetState != 4" class="line"></view>
|
|
|
- <view v-if="orderData.data.sheetState != 1 && orderData.data.sheetState != 4">
|
|
|
+ <view v-if="orderData.data.sheetState != 1 && orderData.data.sheetState != 4&& orderData.data.sheetState != 5" class="line"></view>
|
|
|
+ <view v-if="orderData.data.sheetState != 1 && orderData.data.sheetState != 4&& orderData.data.sheetState != 5">
|
|
|
<view class="goodsName2">
|
|
|
券码信息({{quanMaList.length?quanMaList.length:0}}张可用)
|
|
|
</view>
|
|
|
- <view class="detailedLine" v-for="(v,index) in orderData.OpenSheetQRCode">
|
|
|
-
|
|
|
- <view v-if="v.writeoffState==1" class="detailedName">
|
|
|
- <view class="redPoint"></view>
|
|
|
- <view class="code">{{v.qrCode}}</view>
|
|
|
- <view class="quanState">待使用</view>
|
|
|
-
|
|
|
- </view>
|
|
|
- <view v-if="v.writeoffState==3" class="detailedName">
|
|
|
- <view class="redPoint"></view>
|
|
|
- <view class="code old">{{v.qrCode}}</view>
|
|
|
- <view class="quanState2">已使用</view>
|
|
|
+ <view class="detailedLineBox" v-for="(v,index) in orderData.OpenSheetQRCode">
|
|
|
|
|
|
+ <view class="detailedLine">
|
|
|
+ <view v-if="v.writeoffState==1" class="detailedName">
|
|
|
+ <view class="redPoint"></view>
|
|
|
+ <view class="code">{{v.qrCode}}</view>
|
|
|
+ <view class="quanState">待使用</view>
|
|
|
+ </view>
|
|
|
+ <view v-if="v.writeoffState==3" class="detailedName">
|
|
|
+ <view class="redPoint"></view>
|
|
|
+ <view class="code old" >{{v.qrCode}}</view>
|
|
|
+ <view class="quanState2">已使用</view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ <image src="../../static/img/icon_erweima.png" mode="" style="width: 36rpx;height: 36rpx;"
|
|
|
+ v-if="v.writeoffState==1" @click="isShowMaSHow"></image>
|
|
|
</view>
|
|
|
-
|
|
|
- <image src="../../static/img/icon_erweima.png" mode="" style="width: 36rpx;height: 36rpx;"
|
|
|
- v-if="v.writeoffState==1" @click="isShowMaSHow"></image>
|
|
|
+
|
|
|
+ <view class="writeoffLineBox" v-if="v.writeoffState==3">
|
|
|
+ <view class="writeoffLine">
|
|
|
+ <view class="writeoffLineTxt">核销时间:{{v.writeoffTime}}</view>
|
|
|
+ <view class="writeoffLineTxt">核销人:{{v.writeoffName}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="writeoffLine">
|
|
|
+ <view class="writeoffLineTxt">核销门店:{{v.writeoffShopName?v.writeoffShopName:''}}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
@@ -166,7 +189,7 @@
|
|
|
</view>
|
|
|
|
|
|
<!-- 核销信息 -->
|
|
|
- <view class="information" v-if="orderData.data.sheetState == 3">
|
|
|
+ <view class="information writeoffXx" v-if="orderData.data.sheetState == 3">
|
|
|
<view class="detailedTitle">核销信息</view>
|
|
|
<view class="informationLine">
|
|
|
<view class="informationTxt">核销状态:</view>
|
|
@@ -177,11 +200,11 @@
|
|
|
|
|
|
<view class="informationLine">
|
|
|
<view class="informationTxt">核销时间:</view>
|
|
|
- <view class="informationNum">{{orderData.data.writeoffTime?orderData.data.writeoffTime:'-'}}</view>
|
|
|
+ <view class="informationNum">{{orderData.data.writeoffTime?orderData.data.writeoffTime:'-'}} {{orderData.data.writeoffName}}</view>
|
|
|
</view>
|
|
|
<view class="informationLine">
|
|
|
<view class="informationTxt">核销门店:</view>
|
|
|
- <view class="informationNum"></view>
|
|
|
+ <view class="informationNum">{{orderData.data.writeoffShopName?orderData.data.writeoffShopName:'-'}}</view>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
@@ -678,6 +701,21 @@
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
+ .ptzt{
|
|
|
+ display: flex;justify-content: space-between;
|
|
|
+ }
|
|
|
+ .groupStateBox{
|
|
|
+ display: flex;
|
|
|
+ }
|
|
|
+ .groupStateIcon{
|
|
|
+ width: 28rpx;height: 28rpx;
|
|
|
+ }
|
|
|
+ .groupStateTxt{
|
|
|
+ font-weight: 400;padding-left: 8rpx;
|
|
|
+ color: #3C3C3C;line-height: 28rpx;
|
|
|
+ font-size: 26rpx;
|
|
|
+ }
|
|
|
+
|
|
|
.box {
|
|
|
min-height: 100vh;
|
|
|
background: #F4F5F7;
|
|
@@ -1287,4 +1325,22 @@
|
|
|
line-height: 98rpx;
|
|
|
text-align: center;
|
|
|
}
|
|
|
+ .writeoffLine{
|
|
|
+ display: flex;justify-content: space-between;
|
|
|
+ color: #999999;font-size: 24rpx;
|
|
|
+ line-height: 33rpx;padding-top: 8rpx;
|
|
|
+ }
|
|
|
+ .writeoffLineBox{
|
|
|
+ padding: 0 20rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .detailedLineBox .detailedLine{
|
|
|
+ padding-bottom: 0rpx;
|
|
|
+ }
|
|
|
+ .writeoffXx .informationNum{
|
|
|
+ width: 500rpx;
|
|
|
+ }
|
|
|
+ .detailedLineBox{
|
|
|
+ padding-bottom: 10rpx;
|
|
|
+ }
|
|
|
</style>
|