作者 卢胜

订单优化

... ... @@ -16,7 +16,7 @@
<view class="right">
<text v-if="item.status==1">待支付</text>
<text v-if="item.status==2">待接收</text>
<text v-if="item.status==3">待买家确认</text>
<text v-if="item.status==3">待确认</text>
<text v-if="item.status==4">已收货</text>
<text v-if="item.status==5">平台裁决</text>
<text v-if="item.status==6">已完成</text>
... ... @@ -182,15 +182,9 @@
}
},
//状态筛选
reQest(s) {
if (s == 3) return true;
},
reChest(s) {
if (s == 3) return true;
},
reNest(s) {
},
},
}
</script>
... ...
... ... @@ -31,9 +31,12 @@
<view class="name">买方:{{item.buyer_name}}</view>
</view>
</view>
<view class="right" v-if="item.status==7">
<text style="font-size: 20rpx;">¥</text>30.88
<view style=" color: rgba(0,0,0,0.4);font-size: 24rpx;">
<view class="right" >
<text style="font-size: 20rpx;">¥</text>{{item.orderinfo.price}}
<view style=" color: rgba(0,0,0,0.4);font-size: 24rpx;" v-if="item.status==5">
审核中
</view>
<view style=" color: rgba(0,0,0,0.4);font-size: 24rpx;" v-if="item.status==7">
已退回
</view>
</view>
... ... @@ -41,7 +44,7 @@
<view class="line"></view>
<view class="botBtn flexA">
<view v-if="reseller(item.status)" class="flexC" @click.stop="openshowBuyer(item)">买家信息</view>
<view v-if="!item.license_preview" class="flexC" @click.stop="openimag(item.id,idx)">上传转赠证明</view>
<view v-if="!item.license_preview&&(item.status==2||item.status==3)" class="flexC" @click.stop="openimag(item.id,idx)">上传转赠证明</view>
<view v-if="reseller(item.status)" class="flexC" @click.stop="order_send(item.id,idx)">发货</view>
<view v-if="item.license_preview" class="flexC yellow" @click.stop="openshow(item.license_preview)">查看交易证明</view>
<view v-if="item.license_preview" class="flexC yellow" @click.stop="openimag(item.id,idx)">重新上传证明</view>
... ... @@ -159,11 +162,6 @@
reseller(s) {
if (s == 2) return true;
},
rechange(s) {
if (s == 3) return true;
if (s == 4) return true;
if (s == 6) return true;
},
openshowBuyer(item) {
this.showBuyer = true
this.code = item.buyer_name
... ...