| | |
| | | console.log(item) |
| | | this.$router.push({ |
| | | name: "overviewList", |
| | | params: { name: item.name, workType: item.baseOperationType, id: item.id, status: status } |
| | | params: { name: item.name, workType: item.baseOperationType, id: item.id, status: status,code:item.warehouse.code } |
| | | }) |
| | | }, |
| | | async getData() { |
| | |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | | }).then((res) => { |
| | | console.log(res.data.data) |
| | | if (res.data.code === 200) { |
| | | const list = res.data.data.map((item) => { |
| | | console.log(res.data) |
| | | if (res.code === 200) { |
| | | const list = res.data.map((item) => { |
| | | return { |
| | | ...item |
| | | } |
| | | }) |
| | | this.tableList = list || [] |
| | | this.pagerOptions.totalCount = res.data.total |
| | | this.pagerOptions.totalCount = res.total |
| | | } |
| | | }) |
| | | }, |