| | |
| | | <div class="search_thing"> |
| | | <div class="search_label">样品编号:</div> |
| | | <div class="search_input"> |
| | | <el-input size="small" placeholder="请输入" clearable v-model="componentData.entity.sampleCOde" |
| | | <el-input size="small" placeholder="请输入" clearable v-model="componentData.entity.sampleCode" |
| | | @keyup.enter.native="refreshTable()"></el-input> |
| | | </div> |
| | | </div> |
| | |
| | | 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) { |