From 2382033e55f86779eec1c8a87644f02ab3e2a8b2 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期六, 14 九月 2024 15:51:17 +0800
Subject: [PATCH] add:会员图片管理

---
 pages/marketing/point-mall/goods.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pages/marketing/point-mall/goods.vue b/pages/marketing/point-mall/goods.vue
index e854756..3c7e751 100644
--- a/pages/marketing/point-mall/goods.vue
+++ b/pages/marketing/point-mall/goods.vue
@@ -126,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