From d66d833556ef54b06f6df33b6a29a1252590a39a Mon Sep 17 00:00:00 2001 From: mayf <m13160102112@163.com> Date: 星期六, 21 九月 2024 20:24:29 +0800 Subject: [PATCH] 库存必须大于0 --- 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