| | |
| | | Inspection, |
| | | Add |
| | | }, |
| | | props: ['entrustCodeNew', 'laboratoryNew'], |
| | | |
| | | data() { |
| | | return { |
| | | currentHistory: {}, |
| | |
| | | if (this.tabList.length > 0) { |
| | | this.componentData.entity.sonLaboratory = this.tabList[0].value |
| | | } |
| | | this.refreshTable() |
| | | if (this.entrustCodeNew) { |
| | | this.componentData.entity.entrustCode = this.entrustCodeNew |
| | | |
| | | } |
| | | if (this.laboratoryNew) { |
| | | let index = this.tabList.findIndex(item => item.label == this.laboratoryNew) |
| | | this.componentData.entity.sonLaboratory = this.tabList[index].label |
| | | this.tabIndex = index; |
| | | this.refreshTable() |
| | | } |
| | | }) |
| | | }, |
| | | selectAllByOne(row) { |