|
|
@@ -66,7 +66,7 @@
|
|
|
>
|
|
|
</template>
|
|
|
|
|
|
- <template v-else-if="String(form.status) === '9'">
|
|
|
+ <template v-else-if="String(form.status) === '10'">
|
|
|
<div>退款成功时间:{{ form.finishTime }}</div>
|
|
|
<div
|
|
|
>退款金额:¥
|
|
|
@@ -92,7 +92,7 @@
|
|
|
/>
|
|
|
<el-step
|
|
|
:title="
|
|
|
- String(form.status) === '10'
|
|
|
+ String(form.status) === '11'
|
|
|
? '退款已撤销'
|
|
|
: '卖家处理退款申请'
|
|
|
"
|
|
|
@@ -103,7 +103,7 @@
|
|
|
<el-step title="买家申请退货退款" />
|
|
|
<el-step
|
|
|
:title="
|
|
|
- String(form.status) === '10'
|
|
|
+ String(form.status) === '11'
|
|
|
? '退款已撤销'
|
|
|
: '卖家处理退货申请'
|
|
|
"
|
|
|
@@ -644,7 +644,7 @@
|
|
|
// 进度条状态
|
|
|
const processStatus = computed(() => {
|
|
|
const status = Number(form.value.status);
|
|
|
- if ([5, 6, 10].includes(status)) {
|
|
|
+ if ([5, 6, 11].includes(status)) {
|
|
|
return 'error';
|
|
|
}
|
|
|
return 'process';
|
|
|
@@ -656,12 +656,12 @@
|
|
|
if (isRefundOnly.value) {
|
|
|
// 1:申请, 2,3:协商中, 5:驳回, 6:超时关闭 -> 停在第2步(卖家处理)
|
|
|
if ([1, 2, 3, 5, 6].includes(status)) return 1;
|
|
|
- // 4:审核通过, 7:买家已发货, 8:确认收货 -> 停在第3步(退款完毕前)
|
|
|
- if ([4, 7, 8].includes(status)) return 2;
|
|
|
- // 9:退款成功 -> 全绿(第3步完成)
|
|
|
- if (status === 9) return 3;
|
|
|
- // 10:退款已撤销 -> 停在第2步
|
|
|
- if (status === 10) return 1;
|
|
|
+ // 4:审核通过, 7:买家已发货, 8:商家已签收, 9:确认收货 -> 停在第3步(退款完毕前)
|
|
|
+ if ([4, 7, 8, 9].includes(status)) return 2;
|
|
|
+ // 10:退款成功 -> 全绿(第3步完成)
|
|
|
+ if (status === 10) return 3;
|
|
|
+ // 11:退款已撤销 -> 停在第2步
|
|
|
+ if (status === 11) return 1;
|
|
|
return 1;
|
|
|
}
|
|
|
|
|
|
@@ -670,12 +670,12 @@
|
|
|
if ([1, 2, 3, 5, 6].includes(status)) return 1;
|
|
|
// 4:审核通过(商家同意退货,等待买家退货) -> 停在第3步(买家退货)
|
|
|
if (status === 4) return 2;
|
|
|
- // 7:买家已发货, 8:确认收货 -> 停在第4步(退款完毕前)
|
|
|
- if ([7, 8].includes(status)) return 3;
|
|
|
- // 9:退款成功 -> 全绿(第4步完成)
|
|
|
- if (status === 9) return 4;
|
|
|
- // 10:退款已撤销 -> 停在第2步
|
|
|
- if (status === 10) return 1;
|
|
|
+ // 7:买家已发货, 8:商家已签收, 9:确认收货 -> 停在第4步(退款完毕前)
|
|
|
+ if ([7, 8, 9].includes(status)) return 3;
|
|
|
+ // 10:退款成功 -> 全绿(第4步完成)
|
|
|
+ if (status === 10) return 4;
|
|
|
+ // 11:退款已撤销 -> 停在第2步
|
|
|
+ if (status === 11) return 1;
|
|
|
return 1;
|
|
|
});
|
|
|
|
|
|
@@ -797,9 +797,10 @@
|
|
|
5: '审核驳回',
|
|
|
6: '超时关闭',
|
|
|
7: '买家已发货',
|
|
|
- 8: '确认收货',
|
|
|
- 9: '退款成功',
|
|
|
- 10: '退款已撤销'
|
|
|
+ 8: '商家已签收',
|
|
|
+ 9: '确认收货',
|
|
|
+ 10: '退款成功',
|
|
|
+ 11: '退款已撤销'
|
|
|
};
|
|
|
return map[key] || status;
|
|
|
};
|