| | |
| | | prop="resValue" |
| | | label="衰减差" |
| | | align="center" |
| | | v-if="wareForm.inspectionItemSubclass!=20" |
| | | v-if="wareForm.inspectionItemSubclass!='20(常温)'" |
| | | min-width="150"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="insResult" |
| | | label="结论" |
| | | align="center" |
| | | min-width="150" v-if="wareForm.inspectionItemSubclass!=20"> |
| | | min-width="150" v-if="wareForm.inspectionItemSubclass!='20(常温)'"> |
| | | <template slot-scope="scope"> |
| | | <span v-if="scope.row.insResult===1" style="color: green;">合格</span> |
| | | <span v-else-if="scope.row.insResult===0" style="color: red;">不合格</span> |
| | |
| | | currentTab:null, |
| | | wareForm:{ |
| | | inspectionItem:1, |
| | | inspectionItemSubclass:20, |
| | | inspectionItemSubclass:'20(常温)', |
| | | }, |
| | | wareForm0:{}, |
| | | numOptions:[], |
| | |
| | | v:row.comValue |
| | | } |
| | | }] |
| | | if(this.wareForm.inspectionItemSubclass!=20){ |
| | | if(this.wareForm.inspectionItemSubclass!='20(常温)'){ |
| | | row.resValue = row.comValue?Math.abs(row.comValue-20).toFixed(3):'' |
| | | this.param[row.id].resValue.v.v = row.resValue |
| | | if(row.ask&&row.resValue){ |
| | |
| | | this.wareForm[type] = Number(m) |
| | | } |
| | | let wareForm = {...this.wareForm} |
| | | wareForm.inspectionItemSubclass = wareForm.inspectionItemSubclass+'℃' |
| | | if(this.wareForm.inspectionItemSubclass=='20(常温)'){ |
| | | wareForm.inspectionItemSubclass ='20℃(常温)' |
| | | console.log(wareForm) |
| | | }else{ |
| | | wareForm.inspectionItemSubclass = wareForm.inspectionItemSubclass+'℃' |
| | | } |
| | | this.wareTableDataLoading = true |
| | | this.$axios.post(this.$api.insOrderPlan.temCycle,{ |
| | | sampleId:this.currentSample.id, |
| | |
| | | this.temperatureOptions = [] |
| | | mySet1.forEach(m => { |
| | | this.temperatureOptions.push({ |
| | | value:m, |
| | | value:String(m), |
| | | label:m |
| | | }) |
| | | }) |
| | |
| | | value: 0, |
| | | }) |
| | | }) |
| | | console.log(comValue) |
| | | for (var a in comValue) { |
| | | valueList.forEach(b => { |
| | | if (b.name == a) { |