From 8790f4b7a1c2c4082dd0890c435aa577882ec99c Mon Sep 17 00:00:00 2001 From: mayf <m13160102112@163.com> Date: 星期五, 20 九月 2024 10:12:09 +0800 Subject: [PATCH] 限制活动优惠券每人限领不能大于发放数量 --- pages/marketing/coupon/user/index.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/marketing/coupon/user/index.vue b/pages/marketing/coupon/user/index.vue index 7940166..1c546d1 100644 --- a/pages/marketing/coupon/user/index.vue +++ b/pages/marketing/coupon/user/index.vue @@ -63,6 +63,7 @@ el: { inputAttrs: { min: 1, + max: 99999999, precision: 0, controls: false, }, @@ -90,8 +91,7 @@ extraButtons: [ { text: '发布', - show: (row) => - row.status === 'inactive' || row.status === 'expired', + show: (row) => row.status === 'inactive', atClick: async (row) => { try { await this.$elBusUtil.confirm('确定要发布吗?') -- Gitblit v1.9.3