From a23ff27703d6d275c9356a8fea0eaad0d8fd3f04 Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期三, 18 九月 2024 14:45:59 +0800 Subject: [PATCH] 1.优惠券-活动优惠券-修改-图片初始化的校验规则设置 2.优惠券-活动优惠券-发布-如果当前时间大于优惠券的领取结束时间,按钮隐藏 --- pages/marketing/coupon/user/_id.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/pages/marketing/coupon/user/_id.vue b/pages/marketing/coupon/user/_id.vue index a660b02..09fe60f 100644 --- a/pages/marketing/coupon/user/_id.vue +++ b/pages/marketing/coupon/user/_id.vue @@ -6,6 +6,7 @@ label-width="auto" :content="formContent" readonly + class="readonly-form" /> <div class="base-page-wrapper__line"></div> <el-bus-title title="发放记录" size="small" /> @@ -34,12 +35,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 +54,7 @@ ], recordTableConfig: { ...recordTableConfig(this.$route.params.id), - columns: [...couponRecordColumn()], + columns: [...couponRecordColumn('发放时间')], }, } }, -- Gitblit v1.9.3