From 8e219beed40e701537eac9ea8b5817b884d947ec Mon Sep 17 00:00:00 2001
From: mayf <m13160102112@163.com>
Date: 星期三, 04 九月 2024 10:20:51 +0800
Subject: [PATCH] 优惠券修改
---
pages/marketing/coupon/user/_id.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/pages/marketing/coupon/user/_id.vue b/pages/marketing/coupon/user/_id.vue
index a660b02..7922c77 100644
--- a/pages/marketing/coupon/user/_id.vue
+++ b/pages/marketing/coupon/user/_id.vue
@@ -34,12 +34,17 @@
items: [
...couponForm(),
{
+ label: '发放时间:',
+ id: 'createTime',
+ type: 'input',
+ },
+ {
label: '有效期:',
- id: 'usageStartDate',
+ id: 'effectiveTime',
inputFormat: (row) => {
return row.usageStartDate
? `${row.usageStartDate} ~ ${row.usageEndDate || ''}`
- : ''
+ : `发放后${row.usageTimeNum}${row.usageTimeTypeName || ''}`
},
span: 24,
},
@@ -48,7 +53,7 @@
],
recordTableConfig: {
...recordTableConfig(this.$route.params.id),
- columns: [...couponRecordColumn()],
+ columns: [...couponRecordColumn('发放时间')],
},
}
},
--
Gitblit v1.9.3