| | |
| | | } |
| | | }) |
| | | if (str != '') { |
| | | let count2 = 0 |
| | | for (let i in this.currentSample.insProduct) { |
| | | if (this.currentSample.insProduct[i].templateId === a.templateId && this.currentSample |
| | | .insProduct[i].inspectionItem + this.currentSample.insProduct[i].inspectionItemSubclass === str) { |
| | |
| | | id: this.currentSample.insProduct[i].id, |
| | | product: this.currentSample.insProduct[i] |
| | | }) |
| | | break |
| | | break |
| | | } |
| | | if(i == this.currentSample.insProduct.length-1){ |
| | | dels.add(b.r) |
| | | } |
| | | count2++ |
| | | } |
| | | if(count2 == this.currentSample.insProduct.length){ |
| | | dels.add(b.r) |
| | | } |
| | | } |
| | | } |
| | |
| | | if (b.v.ps != undefined && b.v.ps.value === '检验值') { |
| | | b.v.v = '' |
| | | b.u = '' |
| | | this.param[b.i].insValue.push(b) |
| | | b.i&&this.param[b.i].insValue.push(b) |
| | | } |
| | | if (b.v.ps != undefined && b.v.ps.value === '计算值') { |
| | | b.v.v = '' |
| | | this.param[b.i].comValue.push(b) |
| | | b.i&&this.param[b.i].comValue.push(b) |
| | | } |
| | | if (b.v.ps != undefined && b.v.ps.value === '设备编码') { |
| | | b.v.v = '' |
| | | this.param[b.i].equipValue.push(b) |
| | | b.i&&this.param[b.i].equipValue.push(b) |
| | | } |
| | | if (b.v.ps != undefined && b.v.ps.value === '设备名称') { |
| | | b.v.v = '' |
| | | this.param[b.i].equipName.push(b) |
| | | b.i&&this.param[b.i].equipName.push(b) |
| | | } |
| | | if (b.v.ps != undefined && b.v.ps.value === '最终值') { |
| | | b.v.v = '' |
| | | if (b.i === undefined) { |
| | | /* if (b.i === undefined) { |
| | | for (var c in this.param) { |
| | | this.param[c].resValue = b |
| | | } |
| | | } else { |
| | | this.param[b.i].resValue = b |
| | | } */ |
| | | if(b.i !== undefined){ |
| | | this.param[b.i].resValue = b |
| | | } |
| | | } |
| | | if (b.v.ps != undefined && b.v.ps.value === '结论') { |