From 3da2a498c24b2846649cbbe468910899a6f11a98 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Sun, 28 Apr 2024 10:08:44 +0800
Subject: [PATCH] 修改:客户反馈问题

---
 src/page/user/yeb.vue |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/src/page/user/yeb.vue b/src/page/user/yeb.vue
index 0d9ebb7..86855a4 100644
--- a/src/page/user/yeb.vue
+++ b/src/page/user/yeb.vue
@@ -42,6 +42,7 @@
       :confirmButtonText="$t('qr')"
       :cancelButtonText="$t('qx')"
       @confirm="tosubmit(1, form.account1)"
+      @close="form.account1 = ''"
     >
       <div class="dialog-box">
         <van-field
@@ -56,13 +57,13 @@
           v-model="form.account1"
           type="number"
           name="amt"
-          :label="$t('gm') + $t('sl')"
-          :placeholder="$t('gm') + $t('sl')"
+          :label="$t('gm') + $t('je')"
+          :placeholder="$t('gm') + $t('je')"
           :border="false"
         >
-          <template #button>
+         <!-- <template #button>
             <span @click="selectAll1">{{ $t("hj160") }}</span>
-          </template>
+          </template> -->
         </van-field>
       </div>
     </van-dialog>
@@ -151,6 +152,7 @@
       this.$router.go(-1);
     },
     selectAll1() {
+      console.log("====");
       // 选择全部
       this.form.account1 = this.$store.state.userInfo.enableAmt;
     },
@@ -184,10 +186,11 @@
       let data1 = await api.BuyYeb(opt);
       console.log(data1, "====");
       if (data1.status === 0) {
-        Notify({ type: "success", message: data1.data });
+        Notify({ type: "success", message: data1.msg });
+        this.form.account1 = ''
         this.$router.push("/yebs");
       } else {
-        Notify({ type: "warning", message: data1.data });
+        Notify({ type: "warning", message: data1.msg });
       }
     },
     async getUserInfo() {

--
Gitblit v1.9.3