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/coupon/index.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/pages/marketing/point-mall/coupon/index.vue b/pages/marketing/point-mall/coupon/index.vue index d445c10..0962726 100644 --- a/pages/marketing/point-mall/coupon/index.vue +++ b/pages/marketing/point-mall/coupon/index.vue @@ -1,5 +1,5 @@ <template> - <el-bus-crud v-bind="tableConfig" /> + <el-bus-crud ref="crud" v-bind="tableConfig" /> </template> <script> @@ -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: { @@ -158,6 +161,7 @@ ) if (code === 0) { this.$message.success('上架成功') + this.$refs.crud.clearSelection() } } catch (e) { return false @@ -184,6 +188,7 @@ ) if (code === 0) { this.$message.success('下架成功') + this.$refs.crud.clearSelection() } } catch (e) { return false -- Gitblit v1.9.3