feat:更换商品的售后订单状态

This commit is contained in:
2026-07-23 15:43:53 +08:00
parent c71cc4fc57
commit cfaad128c7
2 changed files with 43 additions and 3 deletions
+7 -3
View File
@@ -31,10 +31,10 @@
{{ getValue(ORDER_STATUS, item.status) }}
</view>
<!-- 售后显示订单状态 -->
<view v-if="
<view v-if="
form.type == MINE_ORDER_TYPE.AFTER_SALE
" class="order_item_header_right" :style="{ color: ORDER_STATUS_CSS[item.status] }">
{{ getValue(ORDER_STATUS, item.status) }}
{{ getValue(AFTER_ORDER_STATUS, item.status) }}
</view>
<!-- 待付款 -->
@@ -95,7 +95,7 @@
<view>共{{ item.buyNum }}件,合计¥{{ item.sumAmount }}</view>
</view> -->
<view class="collect_msg" v-if="item.buyDeductionValue">共{{ item.buyNum }}件,合计数字积分{{ item.buyDeductionValue
}}
}}
+¥{{ item.sumAmount }}</view>
<view class="collect_msg" v-if="!item.buyDeductionValue">运费:¥{{ item.postage }},商品总价:¥{{ item.sumAmount }}
</view>
@@ -288,6 +288,7 @@ import {
MINE_ORDER_TYPE,
ORDER_TYPE,
ORDER_STATUS,
AFTER_ORDER_STATUS,
getValue,
} from "@/utils/enumUtils.js";
import { ORDER_STATUS_CSS } from "@/utils/enumCssUtils.js";
@@ -330,6 +331,9 @@ export default {
PHONE_NUMBER() {
return CUSTOMER_SERVICE_PHONE_NUMBER;
},
AFTER_ORDER_STATUS() {
return AFTER_ORDER_STATUS
},
// WECHAT() {
// return CLOUD_SERVICE_WECHAT;
// },