From 839ef9f394e9204c9440a8d9d7d83d68c8d17a34 Mon Sep 17 00:00:00 2001
From: mayf <m13160102112@163.com>
Date: 星期三, 04 九月 2024 14:15:08 +0800
Subject: [PATCH] 结算修改

---
 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