|
|
@@ -101,15 +101,22 @@
|
|
|
</view>
|
|
|
|
|
|
|
|
|
- <view v-if="orderData.openSheetDetail.length>0" v-for="(item,index) in orderData.openSheetDetail" :key="index">
|
|
|
- <view class="informationLine2">
|
|
|
- <view class="goodsName">{{item.itemName}}</view>
|
|
|
- <view class="huodong" @click="goDetail(item.itemId)">
|
|
|
- <view class="goodsName3">活动详情</view>
|
|
|
- <image src="../../../static/img/little_rightArrow.png" mode="" style="width: 30rpx;height: 30rpx;"></image>
|
|
|
+ <view class="flex newGoodsLine" v-if="orderData.openSheetDetail.length>0" v-for="(item,index) in orderData.openSheetDetail" :key="index">
|
|
|
+ <view class="imgBox">
|
|
|
+ <image v-if="item.ImgUrl" :src="getNewValue(item.ImgUrl)" mode="" class="itemIMg"></image>
|
|
|
+ <image class="itemIMg" v-else src="../../../static/timg/noimg.png" mode=""></image>
|
|
|
+ </view>
|
|
|
+ <view class="informationLine22">
|
|
|
+ <view class="informationLine2">
|
|
|
+ <view class="goodsName">{{item.itemName}}</view>
|
|
|
+ <view class="huodong" @click="goDetail(item.itemId)">
|
|
|
+ <view class="goodsName3">活动详情</view>
|
|
|
+ <image src="../../../static/img/little_rightArrow.png" mode="" style="width: 30rpx;height: 30rpx;"></image>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
+ <view class="salePrice"><span class="informationNum">¥</span>{{orderData.data.payType==1? item.salePrice:0}}</view>
|
|
|
</view>
|
|
|
- <view class="salePrice"><span class="informationNum">¥</span>{{orderData.data.payType==1? item.salePrice:0}}</view>
|
|
|
+
|
|
|
</view>
|
|
|
|
|
|
<view v-if="orderData.data.sheetState != 1 && orderData.data.sheetState != 4&& orderData.data.sheetState != 5" class="line"></view>
|
|
|
@@ -583,6 +590,7 @@
|
|
|
xsShow:false,
|
|
|
sheetQRCodeList1:'',
|
|
|
shItem:'',
|
|
|
+ ImgUrl:'',
|
|
|
}
|
|
|
},
|
|
|
//0拼团取消1拼团失败 2拼团中3拼团成功4自动成团 groupState
|
|
|
@@ -616,9 +624,24 @@
|
|
|
|
|
|
|
|
|
},
|
|
|
-
|
|
|
+ computed:{
|
|
|
+ getNewValue(item) {
|
|
|
+ return item => {
|
|
|
+ var arr=item.split(",")
|
|
|
+ if(arr.length>1){
|
|
|
+ item=arr[0]
|
|
|
+ }else{
|
|
|
+ //item=item
|
|
|
+ }
|
|
|
+ return item
|
|
|
+ // 根据item做一些处理,返回新值
|
|
|
+ //return item.value + ' modified';
|
|
|
+ };
|
|
|
+ }
|
|
|
+ },
|
|
|
|
|
|
methods: {
|
|
|
+
|
|
|
getsheetQRCode(){
|
|
|
this.$http('openOrderManagement/sheetQRCodeList', {
|
|
|
type:1,
|
|
|
@@ -990,6 +1013,7 @@
|
|
|
}, 'GET').then(res => {
|
|
|
uni.hideLoading();
|
|
|
this.orderData = res.data;
|
|
|
+
|
|
|
if (this.quanMaList) {
|
|
|
this.quanMaList = [];
|
|
|
}
|
|
|
@@ -2172,4 +2196,22 @@ color: #764D49;font-size: 26rpx;padding-top:20rpx;
|
|
|
.writeoffXx .informationNum{
|
|
|
text-align: right;
|
|
|
}
|
|
|
+.itemIMg{
|
|
|
+ width: 128rpx;
|
|
|
+ height: 128rpx;border-radius: 10rpx;
|
|
|
+}
|
|
|
+.flex{
|
|
|
+ display: flex;
|
|
|
+}
|
|
|
+.informationLine2{
|
|
|
+ width: 520rpx;
|
|
|
+
|
|
|
+}
|
|
|
+.newGoodsLine{
|
|
|
+ padding: 20rpx;
|
|
|
+ padding-left: 0;
|
|
|
+}
|
|
|
+.informationLine22{
|
|
|
+ padding-left: 16rpx;
|
|
|
+}
|
|
|
</style>
|