From a98fde3130a0b5e480e4662827f25d16d79012d2 Mon Sep 17 00:00:00 2001
From: mayf <m13160102112@163.com>
Date: 星期六, 07 九月 2024 19:11:42 +0800
Subject: [PATCH] 修复营销管理数字范围问题 修复积分变动记录不刷新问题

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

diff --git a/pages/marketing/point-mall/goods.vue b/pages/marketing/point-mall/goods.vue
index 0821523..e854756 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: {
@@ -177,6 +179,7 @@
                 )
                 if (code === 0) {
                   this.$message.success('上架成功')
+                  this.$refs.crud.clearSelection()
                 }
               } catch (e) {
                 return false
@@ -200,6 +203,7 @@
                 )
                 if (code === 0) {
                   this.$message.success('下架成功')
+                  this.$refs.crud.clearSelection()
                 }
               } catch (e) {
                 return false

--
Gitblit v1.9.3