From a71eaa5c42f8f56312a29b04748ce333e0eb9c6c Mon Sep 17 00:00:00 2001
From: mayf <m13160102112@163.com>
Date: 星期三, 04 九月 2024 14:15:08 +0800
Subject: [PATCH] fix售后换行
---
pages/marketing/coupon/user/index.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pages/marketing/coupon/user/index.vue b/pages/marketing/coupon/user/index.vue
index ce68f1e..7940166 100644
--- a/pages/marketing/coupon/user/index.vue
+++ b/pages/marketing/coupon/user/index.vue
@@ -33,13 +33,13 @@
},
columns: [
...couponColumn(),
- { label: '发放时间', prop: 'usageStartDate', minWidth: 180 },
+ { label: '发放时间', prop: 'createTime', minWidth: 180 },
{
label: '有效期',
formatter: (row) =>
row.usageStartDate
? `${row.usageStartDate} ~ ${row.usageEndDate || ''}`
- : '',
+ : `发放后${row.usageTimeNum}${row.usageTimeTypeName || ''}`,
minWidth: 400,
},
{ label: '状态', prop: 'statusName', minWidth: 120 },
@@ -78,7 +78,7 @@
rules: { required: true, message: '请选择领取用户' },
inputFormat: (row) => {
if ('customerList' in row) {
- return row.customerList
+ return row.customerList.filter((i) => i)
}
},
outputFormat: (val) => {
--
Gitblit v1.9.3