Commit a039e219 by caoyanzhi

update: 会员订单列表

parent 0e5ada53
......@@ -32,10 +32,16 @@
<div class="order-info-box">
<div class="order-info">
<!-- orderType 订单类型 -1 所有,1 销售,2.退货,4.退换货 -->
<!-- 购买单、销售单为绿色背景 order-bug -->
<!-- 购买单、销售单为绿色背景 order-buy -->
<!-- 退款单背景色为红色 order-refund -->
<!-- 退换单背景色为黄色 order-exchange -->
<div class="order-type-tag order-exchange">购买单</div>
<!-- 线下订单为销售单 -->
<div v-if="el.channelType == 3" class="order-type-tag order-buy">销售单</div>
<template v-else>
<div v-if="el.orderType == 1" class="order-type-tag order-buy">购买单</div>
<div v-if="el.orderType == 2" class="order-type-tag order-refund">退款单</div>
<div v-if="el.orderType == 4" class="order-type-tag order-exchange">退换货单</div>
</template>
<!-- 购买单、销售单为订单号 -->
<!-- 退款单为退款单号 -->
<!-- 退换单为退换单号 -->
......@@ -69,7 +75,7 @@
</el-table-column>
<el-table-column label="吊牌价/应收(元)" min-width="130px">
<div slot-scope="{ row }" class="tag-price">
<del v-if="el.orderType == 1" class="del-price">{{ row.unitPrice | fomatFloat }}</del>
<del v-if="el.channelType == 3" class="del-price">{{ row.unitPrice | fomatFloat }}</del>
<div class="sale-price">{{ row.payPrice | fomatFloat }}</div>
</div>
</el-table-column>
......@@ -119,8 +125,8 @@
</el-table-column>
<el-table-column label="收货/导购信息" min-width="244px">
<div class="order-descript">
<!-- 销售单只显示导购,其他单不显示导购 -->
<div v-if="el.orderType == 1" class="order-descript-item">
<!-- 门店订单单只显示导购,其他单不显示导购 -->
<div v-if="el.channelType == 3" class="order-descript-item">
<div class="order-descript-label">
<div class="order-descript-label-text">导购</div>
</div>
......
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