| | |
| | | watch:{ |
| | | visible(newVal){ |
| | | if(!newVal){ |
| | | |
| | | this.tableData = [{ |
| | | "$cellEdit": true, |
| | | "$index": 0, |
| | |
| | | this.showPart = true |
| | | }, |
| | | selectPart(part) { |
| | | console.log(part); |
| | | const index = this.currentSelectRow |
| | | if (part) { |
| | | this.tableData[index].partId=part.id |
| | | this.tableData[index].partNo = part.partNo |
| | | this.tableData[index].customerPartSpec = part.specs |
| | | this.tableData[index].productName = part.partName |
| | |
| | | color: #c0c4cc; |
| | | margin: -1px 0; |
| | | } |
| | | .avue-crud .avue-crud__left .el-button{ |
| | | margin-right: 8px; |
| | | margin-bottom: 8px; |
| | | border-radius: 0px; |
| | | } |
| | | </style> |