Commit 61b1c4e0 by caoyanzhi

update: 订单类型

parent 3ed77f03
......@@ -43,13 +43,10 @@
<!-- 购买单、销售单为绿色背景 order-buy -->
<!-- 退款单背景色为红色 order-refund -->
<!-- 退换单背景色为黄色 order-exchange -->
<!-- 线下订单为销售单 -->
<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>
<!-- 线下订单orderType=1时为销售单 -->
<div v-if="el.orderType == 1" class="order-type-tag order-buy">{{ el.channelType == 3 ? '销售单' : '购买单' }}</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>
<!-- 购买单、销售单为订单号 -->
<!-- 退款单为退款单号 -->
<!-- 退换单为退换单号 -->
......
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