订单列表修改

This commit is contained in:
1154079537 2024-04-28 17:42:20 +08:00
parent 1e7a8f76d1
commit ae3a666040
1 changed files with 33 additions and 11 deletions

View File

@ -107,14 +107,28 @@
<view class="item">
<view class="order-num acea-row row-middle">
暂存单号{{ item.order_sn }}
<text class="time">暂存时间{{ item.c_time }}</text>
<text class="time">暂存时间{{ item.c_time }}</text>
<text class="fk_status" v-if="item.order_status == 0">未支付</text>
<text class="fk_status" v-if="item.order_status == 1">待核销</text>
<text class="fk_status" v-if="item.order_status == 2">待发货</text>
<text class="fk_status" v-if="item.order_status == 3">待收货</text>
<text class="fk_status" v-if="item.order_status == 4">待评价</text>
<text class="fk_status" v-if="item.order_status == 5">交易完成</text>
<text class="fk_status" v-if="item.order_status == 6">退款</text>
<text class="fk_status" v-if="item.order_status == 1">
<view>待核销</view>
<view style="color: #FFE4BF;" v-if="!!item.refund_order_id && item.refund_status != -1 && item.refund_status != 3">退款中</view>
</text>
<text class="fk_status" v-if="item.order_status == 2">
<view>待发货</view>
<view style="color: #FFE4BF;" v-if="!!item.refund_order_id && item.refund_status != -1 && item.refund_status != 3">退款中</view>
</text>
<text class="fk_status" v-if="item.order_status == 3">
<view>待收货</view>
<view style="color: #FFE4BF;" v-if="!!item.refund_order_id && item.refund_status != -1 && item.refund_status != 3">退款中</view>
</text>
<text class="fk_status" v-if="item.order_status == 4">
<view>待评价</view>
<view style="color: #FFE4BF;" v-if="!!item.refund_order_id && item.refund_status != -1 && item.refund_status != 3">退款中</view>
</text>
<text class="fk_status" v-if="item.order_status == 5">
<view>交易完成</view>
<view style="color: #FFE4BF;" v-if="!!item.refund_order_id && item.refund_status != -1 && item.refund_status != 3">退款中</view>
</text>
</view>
<view class="pos-order-goods" v-for="(val, key) in item.storeOrder.orderProduct" :key="key"
@click="toDetail(item)">
@ -141,6 +155,15 @@
</view>
</view>
<view class="public-total" >
{{ item.total_num }}件商品
<span v-if="item.order_status < 1"></span>
<span v-else></span>
支付
<span class="money" style="margin-right: 30rpx;">{{ item.pay_price }}</span> (邮费
¥{{ item.pay_postage}})
</view>
<view class="operation acea-row row-between-wrapper">
<view class="more"></view>
<view class="acea-row row-middle">
@ -148,8 +171,7 @@
<view class="bnt bnt_color" v-if="item.order_status == 1" @click="toDetail(item)">去核销</view>
<view class="bnt bnt_color" v-if="item.order_status == 2" @click="toPostagequ(item)">去发货
</view>
<navigator class="bnt bnt_color" v-if="item.order_status == 6"
<navigator class="bnt bnt_color" v-if="!!item.refund_order_id && item.refund_status != -1 && item.refund_status!=3"
:url="'/pages/admin/orderRefund/index?id='+item.refund_order_id+'&merId='+merId">
立即退款
</navigator>
@ -199,7 +221,6 @@
</view>
</view>
</view>
</view>
<view class="public-total" v-if="item.pay_type !== 8">
{{ item.total_num }}件商品
@ -918,7 +939,8 @@
.fk_status {
position: absolute;
right: 20rpx;
top: 20rpx;
top: 50%;
transform: translateY(-50%);
}
.pos-order-list .list .item .order-status {