| | |
| | | </el-table-column> |
| | | <el-table-column prop="unit" label="单位" width="70" show-overflow-tooltip> |
| | | </el-table-column> |
| | | <el-table-column prop="manDay" label="预计时间" width="90" show-overflow-tooltip> |
| | | </el-table-column> |
| | | <!-- <el-table-column prop="manDay" label="预计时间" width="90" show-overflow-tooltip> |
| | | </el-table-column> --> |
| | | <el-table-column prop="ask" label="检测要求" show-overflow-tooltip width="200px"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.ask" placeholder="请输入" size="small" :disabled="active!=1" v-if="!isAskOnlyRead"></el-input> |
| | |
| | | } |
| | | }) |
| | | this.models = this.models.replace(',', '') |
| | | this.packageInfo.ismiers = this.models.split(',').every(e=>e.indexOf('d')>-1) |
| | | this.packageInfo.ismiers = this.models.split(',').every(e=>(e.indexOf('d')>-1||e.indexOf('D')>-1)) |
| | | if(this.sample[0].bushing === undefined || this.sample[0].bushing === null){ |
| | | this.bushing = [] |
| | | }else{ |
| | |
| | | }) |
| | | }, |
| | | rowClickFiber(row, column, event,type){ |
| | | if(type==0){ |
| | | let standard = this.miresStandards.find(a => a.id == this.miresStandard) |
| | | if(standard&&standard.code=='委托要求'){ |
| | | this.isAskOnlyRead = false; |
| | | if(this.active===1){ |
| | | if(type==0){ |
| | | let standard = null; |
| | | try{ |
| | | standard = this.miresStandards.find(a => a.id == this.miresStandards) |
| | | }catch(e){} |
| | | if(standard&&standard.code=='委托要求'){ |
| | | this.isAskOnlyRead = false; |
| | | }else{ |
| | | this.isAskOnlyRead = true; |
| | | } |
| | | }else{ |
| | | this.isAskOnlyRead = true; |
| | | } |
| | | }else{ |
| | | let standard = this.mireStandards.find(a => a.id == this.mireStandard) |
| | | if(standard&&standard.code=='委托要求'){ |
| | | this.isAskOnlyRead = false; |
| | | }else{ |
| | | this.isAskOnlyRead = true; |
| | | let standard = null; |
| | | try{ |
| | | standard = this.mireStandards.find(a => a.id == this.mireStandard) |
| | | }catch(e){} |
| | | if(standard&&standard.code=='委托要求'){ |
| | | this.isAskOnlyRead = false; |
| | | }else{ |
| | | this.isAskOnlyRead = true; |
| | | } |
| | | } |
| | | } |
| | | this.currentDetectionItems = row |
| | |
| | | a.bushing = this.bushing |
| | | }) |
| | | this.$message.success('已保存') |
| | | console.log(this.bushing); |
| | | this.$emit('saveFiberopticConfig') |
| | | } |
| | | } |
| | | } |