| | |
| | | }); |
| | | const params = { |
| | | entrustCode: this.insOrder.entrustCode, |
| | | lotBatchNo: this.insOrder.lotBatchNo, |
| | | sampleCode: this.currentSample.sampleCode, |
| | | id: this.currentSample.id, |
| | | itemIds: itemIds, |
| | |
| | | }; |
| | | let list = this.tableList[0].arr; |
| | | let maxNum = 0; |
| | | let itemNum = 0;//包含检验值批注的个数 |
| | | list.forEach((item, index) => { |
| | | let num0 = 0; |
| | | let str = ""; |
| | |
| | | n.v.ps.value.includes("检验值") |
| | | ) { |
| | | num++; |
| | | if (str0 == str) { |
| | | maxNum = num; |
| | | const matchArray = n.v.ps.value.match(/\d+/g); |
| | | if(matchArray){ |
| | | const no = Number(matchArray[0]); |
| | | itemNum = itemNum>= no ? itemNum : no; |
| | | } |
| | | } |
| | | }); |
| | | if (str0 == str) { |
| | | maxNum = num===itemNum ? num : itemNum; |
| | | } |
| | | } |
| | | // 绑定设备 |
| | | if ( |