|
@@ -355,7 +355,14 @@ export default {
|
|
})
|
|
})
|
|
}}>服务单明细</el-button>
|
|
}}>服务单明细</el-button>
|
|
) : null}
|
|
) : null}
|
|
- {["PAID"].includes(row.payStatus) && ["ING"].includes(row.settleStatus) ? (
|
|
|
|
|
|
+ {["PAID"].includes(row.payStatus) && ["ING"].includes(row.settleStatus) && (() => {
|
|
|
|
+ var currentDate = new Date(row.payTime);
|
|
|
|
+ currentDate.setDate(currentDate.getDate() + 7);
|
|
|
|
+ currentDate.setHours(23);
|
|
|
|
+ currentDate.setMinutes(59);
|
|
|
|
+ currentDate.setSeconds(59);
|
|
|
|
+ return currentDate > new Date()
|
|
|
|
+ })() ? (
|
|
<el-popconfirm
|
|
<el-popconfirm
|
|
title={`是否确定退款?`}
|
|
title={`是否确定退款?`}
|
|
onConfirm={() => {
|
|
onConfirm={() => {
|