From f8e9af35a267b7b9a2bf605187a11536889a6e38 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Mon, 20 May 2024 11:00:10 +0800
Subject: [PATCH] 修改:绑定银行卡 多语言

---
 src/page/list/favorites/data.list.vue |   23 ++++++++++++-----------
 1 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/src/page/list/favorites/data.list.vue b/src/page/list/favorites/data.list.vue
index 4196ab9..90f2b92 100644
--- a/src/page/list/favorites/data.list.vue
+++ b/src/page/list/favorites/data.list.vue
@@ -54,9 +54,9 @@
                   >{{ item.name }}</span
                 >
               </div>
-              <div class="bt">
+             <!-- <div class="bt">
                 <span>{{ item.code }}</span>
-              </div>
+              </div> -->
             </div></van-col
           >
 
@@ -99,7 +99,7 @@
           <div class="laber">
             {{ shengouObj.type === 1 ? $t("hj57") : $t("配售数量") }}:
           </div>
-          <input type="number" :value="fromData.value" @input="fromDatavalue" />
+          <input type="text" :maxlength="9"  v-model="fromData.value" @input="fromDatavalue"  />
         </div>
 
         <div class="shijian">
@@ -220,15 +220,19 @@
   },
   methods: {
     fromDatavalue(e) {
-      this.fromData.value = e.target.value;
+      this.fromData.value = this.fromData.value.replace(/^(0+)|[^\d]+/g, '')
     },
     async newAddxg() {
+      console.log(this.shengouObj, "=====");
       const res = await api.getNewAdd({
         newCode: this.shengouObj.code,
         applyNums: this.fromData.value,
+        type: this.shengouObj.type,
       });
       if (res.status === 0) {
         Notify({ type: "success", message: res.msg });
+        this.show = false;
+        this.fromData.value = "";
       } else {
         Notify({ type: "warning", message: res.msg });
       }
@@ -255,12 +259,9 @@
         stockType = array[0].name;
       }
       let opt = {
-        // pageNum: this.pageNumVal,
-        // pageSize: 15,
-        // stockPlate: "",
-        keyWords: this.sousuo,
-        // stockType: stockType,
-        // orderBy: "",
+        zt: 0,
+        getType: 1,
+        pageSize: 1000,
       };
       let data = await api.getStocklist(opt);
       this.loading = false;
@@ -416,4 +417,4 @@
   text-align: center;
   line-height: 35px;
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.3