| | |
| | | } |
| | | }, |
| | | created() { |
| | | if(this.$route.params.productId){ |
| | | if (this.$route.params.productId) { |
| | | this.getData({ |
| | | productId:this.$route.params.productId, |
| | | pageSize:15, |
| | | page:1 |
| | | productId: this.$route.params.productId, |
| | | pageSize: 15, |
| | | page: 1 |
| | | }) |
| | | }else{ |
| | | } else { |
| | | this.getData() |
| | | } |
| | | this.setTable() |
| | |
| | | keyWord: data?.jointName, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize, |
| | | productId:data?.productId |
| | | productId: data?.productId |
| | | }).then((res) => { |
| | | if (res.code === 200) { |
| | | console.log(res) |
| | |
| | | editable: false, |
| | | isOrder: true |
| | | }) |
| | | this.tableList.tableData = this.tableData |
| | | this.locationId = 0 |
| | | this.productId = 0 |
| | | } else { |