订单调整

This commit is contained in:
BabyBoy 2025-08-15 16:00:59 +08:00
parent c8f2245fd3
commit be197e956c

View File

@ -144,7 +144,7 @@
<el-table-column label="退款状态" prop="aftersaleStatus" width="100"> <el-table-column label="退款状态" prop="aftersaleStatus" width="100">
<template v-slot="scope"> <template v-slot="scope">
<!-- <el-tag type="primary"> --> <!-- <el-tag type="primary"> -->
{{ getEmulistLabelById(scope.row.aftersaleStatus, orderStatusMap) }} {{ getEmulistLabelById(scope.row.aftersaleStatus, tuiStatusMapList) }}
<!-- </el-tag> --> <!-- </el-tag> -->
</template> </template>
</el-table-column> </el-table-column>
@ -353,6 +353,7 @@ export default {
shortcuts: dateUtil.getTimeShort2() shortcuts: dateUtil.getTimeShort2()
}, },
orderStatusMap: [], orderStatusMap: [],
tuiStatusMapList: [],
orderTypeMap: [], orderTypeMap: [],
orderWithdrawMap: [], orderWithdrawMap: [],
orderAftersaleMap: [], orderAftersaleMap: [],
@ -455,10 +456,12 @@ export default {
async mounted() { async mounted() {
this.show = true; this.show = true;
const orderStatusMap = await this.getDictionaryByKey('oms_order_status'); const orderStatusMap = await this.getDictionaryByKey('oms_order_status');
const tuiStatusMap = await this.getDictionaryByKey('oms_aftersale_status');
const orderTypeMap = await this.getDictionaryByKey('oms_order_type'); const orderTypeMap = await this.getDictionaryByKey('oms_order_type');
const orderWithdrawMap = await this.getDictionaryByKey('oms_withdraw_staus'); const orderWithdrawMap = await this.getDictionaryByKey('oms_withdraw_staus');
const orderAftersaleMap = await this.getDictionaryByKey('oms_aftersale_status'); const orderAftersaleMap = await this.getDictionaryByKey('oms_aftersale_status');
this.orderStatusMap = orderStatusMap; this.orderStatusMap = orderStatusMap;
this.tuiStatusMapList = tuiStatusMap;
this.orderTypeMap = orderTypeMap; this.orderTypeMap = orderTypeMap;
this.orderWithdrawMap = orderWithdrawMap; this.orderWithdrawMap = orderWithdrawMap;
this.orderAftersaleMap = orderAftersaleMap; this.orderAftersaleMap = orderAftersaleMap;