| | |
| | | this.setTable() |
| | | let query = this.$route.query |
| | | if (query) { |
| | | console.log("aaaaaaaaaaaaa", query) |
| | | this.queryProductId = query.productId?.length ? query.productId : null |
| | | this.categoryId = query.id ? Number(query.id) : null |
| | | this.pagerOptions.currPage = 1 |
| | |
| | | const list = res.data.map((item) => { |
| | | return { |
| | | ...item, |
| | | areaName: { label: item.location.jointName, value: item.location.id }, |
| | | areaName: { label: item.area.jointName, value: item.area.id }, |
| | | subLocation: { label: item.location.jointName, value: item.location.id }, |
| | | productName: item.product.name, |
| | | productCategory: item.productCategory.name, |