| | |
| | | </div> |
| | | <div class="temperatureList"> |
| | | <div class="temperatureListTitle"> |
| | | <span>温度点集合(请按照顺序填写,20℃必须为首位)</span> |
| | | <span>温度点集合</span> |
| | | <span> |
| | | <el-button type="primary" size="mini" @click="addTemperatureData">新增</el-button> |
| | | <el-button size="mini" @click="deleteTemperatureData">删除</el-button> |
| | |
| | | throw this.$message.error('请填写完整数据') |
| | | } |
| | | }) |
| | | if (!o.temperatureData.some(item => item.temperaturePoint == '20')) { |
| | | throw this.$message.error(`${o.value + '波长没有配置20℃温度点'}`) |
| | | } |
| | | }) |
| | | let entrustTime = this.circulateForm.entrustTime |
| | | let entrustNum = this.circulateForm.entrustNum |
| | |
| | | o.temperatureData.unshift({temperaturePoint: 20}) |
| | | o.temperatureData.forEach(t => { |
| | | if (!t.askSymbol) { |
| | | const askObj = t.temperaturePoint + '℃' + ',' + o.value + ',' + null |
| | | const askObj = t.temperaturePoint + '℃(常温)' + ',' + o.value + ',' + null |
| | | askArr.push(askObj) |
| | | } else { |
| | | const askObj = t.temperaturePoint + '℃' + ',' + o.value + ',' + t.askSymbol + t.askNum |
| | |
| | | }) |
| | | temperaturePointList = Array.from(new Set(temperaturePointList)) |
| | | temperaturePointList2 = Array.from(new Set(temperaturePointList2)) |
| | | temperaturePointList2.unshift(20 + '℃') |
| | | temperaturePointList2.unshift(20 + '℃(常温)') |
| | | let additionArr = [] |
| | | askNum.forEach(a => { |
| | | additionArr.push(temperaturePointList.join(',') + a) |