From 5f2eaf767be4cd2400458f5fb4edfadcc131c3ab Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Wed, 24 Apr 2024 23:35:02 +0800
Subject: [PATCH] first

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

diff --git a/src/page/list/favorites/data.list.vue b/src/page/list/favorites/data.list.vue
index 2ec8f04..bfb2d7b 100644
--- a/src/page/list/favorites/data.list.vue
+++ b/src/page/list/favorites/data.list.vue
@@ -223,13 +223,15 @@
       this.fromData.value = e.target.value;
     },
     async newAddxg() {
+      console.log(this.shengouObj, "=====");
       const res = await api.getNewAdd({
         newCode: this.shengouObj.code,
         applyNums: this.fromData.value,
+        type: this.fromData.type,
       });
       if (res.status === 0) {
         Notify({ type: "success", message: res.msg });
-        this.loadings = false;
+        this.show = false;
         this.fromData.value = "";
       } else {
         Notify({ type: "warning", message: res.msg });
@@ -257,12 +259,8 @@
         stockType = array[0].name;
       }
       let opt = {
-        // pageNum: this.pageNumVal,
-        // pageSize: 15,
-        // stockPlate: "",
-        keyWords: this.sousuo,
-        // stockType: stockType,
-        // orderBy: "",
+        zt: 0,
+        pageSize: 1000,
       };
       let data = await api.getStocklist(opt);
       this.loading = false;

--
Gitblit v1.9.3