From 12a56deb39c4af536163564147a6c0f1e5bedb85 Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期日, 22 九月 2024 17:23:46 +0800 Subject: [PATCH] add:会员成长值规则 --- pages/marketing/point-mall/coupon/index.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/pages/marketing/point-mall/coupon/index.vue b/pages/marketing/point-mall/coupon/index.vue index 0d6fcc3..f9c55c8 100644 --- a/pages/marketing/point-mall/coupon/index.vue +++ b/pages/marketing/point-mall/coupon/index.vue @@ -59,6 +59,7 @@ el: { inputAttrs: { min: 1, + max: 99999999, precision: 0, controls: false, }, @@ -74,6 +75,7 @@ el: { precision: 0, min: 0, + max: 99999999, controls: false, }, rules: { required: true, message: '请输入库存', trigger: 'blur' }, @@ -85,6 +87,7 @@ el: { precision: 0, min: 1, + max: 99999999, controls: false, }, rules: { @@ -98,7 +101,8 @@ { text: '上架', show: (row) => - row.status === 'inactive' || row.status === 'expired', + (row.status === 'inactive' || row.status === 'expired') && + row.couponAmount > 0, atClick: async (row) => { try { await this.$elBusUtil.confirm('确定要上架吗?') -- Gitblit v1.9.3