From bfd4f0e5ac1c8da2b997c2fee7738e9f4bb976da Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Wed, 10 Jul 2024 17:47:15 +0800
Subject: [PATCH] 涨停板审核

---
 src/views/userlist/components/editCapitaluserdialog.vue |   26 +++++++++++++++-----------
 1 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/src/views/userlist/components/editCapitaluserdialog.vue b/src/views/userlist/components/editCapitaluserdialog.vue
index f46379b..6f06203 100644
--- a/src/views/userlist/components/editCapitaluserdialog.vue
+++ b/src/views/userlist/components/editCapitaluserdialog.vue
@@ -119,17 +119,21 @@
         if (!errors) {
           this.editUserDialogloading = true
           console.log({ id: arr[0].id, amt: amt, type: this.direction })
-          updateMoney({ id: arr[0].id, amt: amt, type: values.direction }).then((res) => {
-            if (res.status == 0) {
-              this.editUserdialog = false
-              this.$message.success(res.msg)
-              form.resetFields()
-              this.getinit()
-            } else {
-              this.$message.error({ content: res.msg || '划转成功' })
-            }
-            this.editUserDialogloading = false
-          })
+          updateMoney({ id: arr[0].id, amt: amt, type: values.direction })
+            .then((res) => {
+              if (res.status == 0) {
+                this.editUserdialog = false
+                this.$message.success(res.msg)
+                form.resetFields()
+                this.getinit()
+              } else {
+                this.$message.error({ content: res.msg || '划转成功' })
+              }
+              this.editUserDialogloading = false
+            })
+            .catch((res) => {
+              this.editUserDialogloading = false
+            })
         } else {
           console.log(3333)
         }

--
Gitblit v1.9.3