Commit f9572ccc authored by 李腾's avatar 李腾

fix: 已完成售后单不展示审核倒计时

parent 60a67312
...@@ -201,8 +201,12 @@ export const getColumns = props => { ...@@ -201,8 +201,12 @@ export const getColumns = props => {
canEditable, canEditable,
openCancelAudit, openCancelAudit,
viewCancelDetail, viewCancelDetail,
tableParams,
} = props; } = props;
return [
const { dealStatus } = tableParams;
let auditCountDown = [
{ {
title: '审核倒计时', title: '审核倒计时',
dataIndex: 'serviceTime', dataIndex: 'serviceTime',
...@@ -220,6 +224,13 @@ export const getColumns = props => { ...@@ -220,6 +224,13 @@ export const getColumns = props => {
); );
}, },
}, },
];
// 售后状态:已完成/退款成功不展示审核倒计时
if (dealStatus === 70) {
auditCountDown = [];
}
return [
...auditCountDown,
{ {
title: '售后状态', title: '售后状态',
dataIndex: 'serviceStatus', dataIndex: 'serviceStatus',
......
...@@ -297,6 +297,7 @@ const AfterSale = props => { ...@@ -297,6 +297,7 @@ const AfterSale = props => {
canEditable, canEditable,
openCancelAudit, openCancelAudit,
viewCancelDetail, viewCancelDetail,
tableParams,
}); });
// 表格属性 // 表格属性
......
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