zzzz
2024-04-25 ee00a45f408636ca2507733cf26252fa5ee25d52
src/page/list/favorites/data.list.vue
@@ -223,12 +223,16 @@
      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.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;