From 737fa999875ec2782d6c098ef490cf66d45bbfaf Mon Sep 17 00:00:00 2001
From: mayf <m13160102112@163.com>
Date: 星期五, 20 九月 2024 16:25:35 +0800
Subject: [PATCH] 分类表格文字修改 积分优惠券限制库存为0不能发布 删除用户优惠券选择用户弹窗中的新增按钮 优惠券使用条件和面值校验问题
---
pages/marketing/point-mall/goods.vue | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/pages/marketing/point-mall/goods.vue b/pages/marketing/point-mall/goods.vue
index dbc71cf..3c7e751 100644
--- a/pages/marketing/point-mall/goods.vue
+++ b/pages/marketing/point-mall/goods.vue
@@ -83,6 +83,7 @@
el: {
precision: 0,
min: 0,
+ max: 99999999,
controls: false,
},
rules: { required: true, message: '请输入库存', trigger: 'blur' },
@@ -112,6 +113,7 @@
el: {
precision: 0,
min: 1,
+ max: 99999999,
controls: false,
},
rules: {
@@ -124,7 +126,7 @@
extraButtons: [
{
text: '上架',
- show: (row) => row.status === 'I',
+ show: (row) => row.status === 'I' && row.stock>0,
atClick: async (row) => {
try {
await this.$elBusUtil.confirm('确定要上架吗?')
--
Gitblit v1.9.3