| | |
| | | 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 }); |
| | |
| | | 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; |