From 8e219beed40e701537eac9ea8b5817b884d947ec Mon Sep 17 00:00:00 2001
From: mayf <m13160102112@163.com>
Date: 星期三, 04 九月 2024 10:20:51 +0800
Subject: [PATCH] 优惠券修改

---
 utils/coupon-form.js |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/utils/coupon-form.js b/utils/coupon-form.js
index cf3e885..e0aeb55 100644
--- a/utils/coupon-form.js
+++ b/utils/coupon-form.js
@@ -144,18 +144,14 @@
 }
 
 // 优惠券领取/发放记录
-export const couponRecordColumn = () => {
+export const couponRecordColumn = (timeName) => {
   return [
     { label: '序号', type: 'index' },
     { label: '店铺名称', prop: 'customerName' },
-    { label: '优惠券类型', prop: 'couponDiscountTypeName' },
-    {
-      label: '使用条件',
-      formatter: (row) => `满${row.minOrderAmount}`,
-    },
-    { label: '优惠券面值', prop: 'couponDiscountValue' },
+    { label: '联系方式', prop: 'tel' },
+    { label: timeName, prop: 'createTime' },
     { label: '状态', prop: 'statusName' },
-    { label: '使用时间', prop: 'index' },
+    { label: '使用时间', prop: 'usedTime' },
     { label: '订单号', prop: 'orderNo' },
   ]
 }

--
Gitblit v1.9.3