From 6fa85fcb11a88bacbeace4ac6218b84830e032a8 Mon Sep 17 00:00:00 2001
From: mayf <m13160102112@163.com>
Date: 星期一, 09 九月 2024 21:30:27 +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