| | |
| | | this.$axios.post(this.$api.insOrderPlan.doInsOrder, { |
| | | id: val, |
| | | laboratory: this.sonLaboratory |
| | | }).then(res => { |
| | | }).then(async res => { |
| | | this.insOrder = res.data.insOrder; |
| | | this.urgentList.forEach(m => { |
| | | if (m.value == this.insOrder.type) { |
| | |
| | | }) |
| | | this.sampleProduct = res.data.sampleProduct |
| | | this.currentSample = this.HaveJson(this.sampleProduct[0]) |
| | | let list = await this.getCurrentProduct(this.currentSample.id,0) |
| | | this.currentSample.insProduct = this.HaveJson(list) |
| | | this.currentSample.insProduct.forEach(a => { |
| | | this.param[a.id] = { |
| | | insValue: [], |
| | |
| | | this.bushing = [] |
| | | this.currentBushing = null; |
| | | this.sampleVisible = false; |
| | | this.currentSample = this.HaveJson(row) |
| | | let list = await this.getCurrentProduct(row.id,0) |
| | | this.currentSample.insProduct = this.HaveJson(list) |
| | | this.currentSample.insProduct.forEach(a => { |
| | |
| | | flag = false; |
| | | }); |
| | | }, |
| | | caretSample(num){ |
| | | async caretSample(num){ |
| | | let index = this.currentKey + num |
| | | if(index < 1){ |
| | | this.$message.error('当前是第一个样品') |
| | |
| | | } |
| | | this.currentKey = index |
| | | this.currentSample = this.HaveJson(this.sampleProduct[index - 1]) |
| | | let list = await this.getCurrentProduct(this.currentSample.id,0) |
| | | this.currentSample.insProduct = this.HaveJson(list) |
| | | this.currentSample.insProduct.forEach(a => { |
| | | this.param[a.id] = { |
| | | insValue: [], |