zzzz
2024-04-24 5f2eaf767be4cd2400458f5fb4edfadcc131c3ab
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;