| | |
| | | this.objectId = row.id |
| | | this.getProductList(row) |
| | | }, |
| | | getProductList (row) { |
| | | getProductList () { |
| | | const params = { |
| | | objectId: 0, |
| | | partNo: row.partNo |
| | | id: this.objectId, |
| | | } |
| | | this.productableLoading = true |
| | | selectProductListByObjectId({...params, ...this.productPage}).then(res => { |
| | |
| | | if (res.code === 200) { |
| | | this.$message.success('新增成功') |
| | | this.productEditDia = false |
| | | this.refreshTable(); |
| | | this.getProductList(); |
| | | } |
| | | }) |
| | | } else { |
| | |
| | | if (res.code === 200) { |
| | | this.$message.success('新增成功') |
| | | this.productEditDia = false |
| | | this.refreshTable(); |
| | | this.getProductList(); |
| | | } |
| | | }) |
| | | } |