From 92500ea9db59c1e2a3610d311ac784f8559a85f9 Mon Sep 17 00:00:00 2001
From: mayf <m13160102112@163.com>
Date: 星期一, 09 九月 2024 14:08:50 +0800
Subject: [PATCH] 修改密码去掉原密码

---
 pages/marketing/point-mall/point-distribution.vue |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/pages/marketing/point-mall/point-distribution.vue b/pages/marketing/point-mall/point-distribution.vue
index 640f3d9..1137570 100644
--- a/pages/marketing/point-mall/point-distribution.vue
+++ b/pages/marketing/point-mall/point-distribution.vue
@@ -4,7 +4,7 @@
     <el-dialog title="积分变动记录" :visible.sync="dialogVisible" width="80%">
       <el-bus-crud
         v-if="customerId"
-        :key="customerId"
+        :key="dialogId"
         :extra-query="{ customerId }"
         v-bind="recordTableConfig"
       />
@@ -13,11 +13,13 @@
 </template>
 
 <script>
+import { v4 as uuidv4 } from 'uuid'
 export default {
   data() {
     return {
       dialogVisible: false,
       customerId: null,
+      dialogId: null,
       tableConfig: {
         url: 'flower/api/customer/point/page',
         hasNew: false,
@@ -59,6 +61,7 @@
                 el: {
                   precision: 0,
                   min: 1,
+                  max: 99999999,
                   controls: false,
                 },
                 rules: {
@@ -110,6 +113,7 @@
                 el: {
                   precision: 0,
                   min: 1,
+                  max: 99999999,
                   controls: false,
                 },
                 rules: {
@@ -151,6 +155,7 @@
           {
             text: '积分变动记录',
             atClick: (row) => {
+              this.dialogId = uuidv4()
               this.customerId = row.customerId
               this.dialogVisible = true
             },

--
Gitblit v1.9.3