|
|
@@ -2,7 +2,8 @@
|
|
|
<view class="order-return-item" @click="goToDetail">
|
|
|
<!-- 订单头部 -->
|
|
|
<view class="order-header">
|
|
|
- <text class="common-text-2 font-30">卖书编号:{{ order.orderId }}</text>
|
|
|
+ <text class="common-text-2 font-30" v-if="!hasReturn">卖书编号:{{ order.orderId }}</text>
|
|
|
+ <text class="common-text-2 font-30" v-else>退书编号:{{ order.orderId }}</text>
|
|
|
<text class="order-status" style="color: #FF000C" v-if="showAction">{{ statusTextMap[order.status]
|
|
|
}}</text>
|
|
|
|
|
|
@@ -51,6 +52,10 @@ export default {
|
|
|
showAction: {
|
|
|
type: Boolean,
|
|
|
default: true
|
|
|
+ },
|
|
|
+ hasReturn: {
|
|
|
+ type: Boolean,
|
|
|
+ default: false
|
|
|
}
|
|
|
},
|
|
|
data() {
|