| | |
| | | </div> |
| | | <div class="search-item" style="margin-right: 10px;"> |
| | | <label style="width: 100px">每根管抽检标准量</label> |
| | | <el-input v-model="packageInfo.standNum" placeholder="请输入" size="small" @blur="addStandNum" :disabled="active!=1" style="width:100px"></el-input> |
| | | <el-input v-model="packageInfo.standNum" placeholder="请输入" size="small" @blur="addStandNum" :disabled="active!=1" style="width:70px"></el-input> |
| | | </div> |
| | | <div class="search-item"> |
| | | <label style="width: 100px">每根管抽检检测量</label> |
| | | <el-input v-model="packageInfo.testNum" placeholder="请输入" size="small" @blur="addTestNum" |
| | | style="width:100px" |
| | | style="width:70px" |
| | | :disabled="packageInfo.radio===0||active!=1"></el-input> |
| | | </div> |
| | | </div> |
| | |
| | | <el-input v-model="scope.row.ask" placeholder="请输入" size="small" :disabled="active!=1" v-if="!isAskOnlyRead"></el-input> |
| | | <span v-else>{{ scope.row.ask }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="tell" label="要求描述" show-overflow-tooltip width="150"> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | |
| | | this.fiberList.push(b) |
| | | }) |
| | | } |
| | | |
| | | |
| | | }else{ |
| | | this.fiberList = [] |
| | | a.fiber.forEach(b=>{ |
| | |
| | | } |
| | | }) |
| | | } |
| | | |
| | | |
| | | this.getTypeDicts1() |
| | | this.getStandTreeBySampleType() |
| | | this.getStandTreeBySampleType2() |
| | |
| | | } |
| | | }) |
| | | }) |
| | | |
| | | |
| | | } |
| | | if(this.detectionItems.type == 0) { |
| | | // 赋值检测项信息 光纤 |
| | |
| | | this.fiberList = [] |
| | | this.fibersList = [] |
| | | this.detectionItems = [] |
| | | |
| | | |
| | | // 页面是否含有光纤带 |
| | | if(this.packageInfo.ismiers) { |
| | | // 全检 |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | }, |
| | | upNum() { |
| | | this.fiberList = [] |
| | |
| | | } |
| | | a.fibers.push(fibers) |
| | | this.fibersList.push(fibers) |
| | | } |
| | | } |
| | | }) |
| | | } else { |
| | | this.bushing = [] |
| | |
| | | // this.addFiber() |
| | | // }, 200) |
| | | // }) |
| | | |
| | | |
| | | // 将下拉框值赋值给光纤 监听去除 |
| | | if(this.selectFiberList.length == 0) { |
| | | this.$message.error('请选择数据') |
| | |
| | | this.detectionType = 0 |
| | | this.$set(this.detectionItems,'type',0) |
| | | } |
| | | |
| | | |
| | | }) |
| | | }, |
| | | methodChange2(val) { |
| | |
| | | fibersIdent: a.ident, |
| | | productList: [] |
| | | } |
| | | this.fiberList.push(fiber) |
| | | this.fiberList.push(fiber) |
| | | } |
| | | }) |
| | | } else { |
| | |
| | | }) |
| | | } |
| | | }else { |
| | | this.fiberList = [] |
| | | this.fiberList = [] |
| | | let flag = true |
| | | // 按照顺序生成光纤色标 |
| | | let colors2 = [] |
| | |
| | | // this.$message.error('未选择套管') |
| | | // return |
| | | // } |
| | | // this.fiberList = [] |
| | | // this.fiberList = [] |
| | | // let flag = true |
| | | // // 按照顺序生成光纤色标 |
| | | // let colors2 = [] |
| | |
| | | }else if (type == 0){ |
| | | this.detectionItems = [] |
| | | this.detectionItems = row.productList |
| | | } |
| | | } |
| | | // if(type == 1) { |
| | | // if((row.model == null || row.model == '') && (row.standard == null || row.standard == '')){ |
| | | // this.detectionItems = [] |
| | |
| | | // let product = JSON.parse(JSON.stringify(row.productList)) |
| | | // setTimeout(() => { |
| | | // product.forEach(p => { |
| | | // let rowToSelect = this.detectionItems.find(item => item.id === p.id); |
| | | // if (rowToSelect) { |
| | | // let rowToSelect = this.detectionItems.find(item => item.id === p.id); |
| | | // if (rowToSelect) { |
| | | // this.toggleSelection(rowToSelect); |
| | | // } |
| | | // }); |
| | | // }); |
| | | // },200) |
| | | // } |
| | | // } |
| | |
| | | // } |
| | | // this.$axios.post(this.$api.standardTree.selectStandardProductList, { |
| | | // model: this.mireModel.split(' - ')[1], |
| | | // standardMethodListId: this.mireStandard, |
| | | // standardMethodListId: this.mireStandard, |
| | | // factory: '' |
| | | // }, { |
| | | // headers: { |
| | |
| | | // this.detectionItems = res.data |
| | | // this.detectionType = 0 |
| | | // this.$set(this.detectionItems,'type',0) |
| | | |
| | | // if (row.productList != null && row.productList.length > 0) { |
| | | // let product = JSON.parse(JSON.stringify(row.productList)) |
| | | |
| | | // if (row.productList != null && row.productList.length > 0) { |
| | | // let product = JSON.parse(JSON.stringify(row.productList)) |
| | | // setTimeout(() => { |
| | | // product.forEach(p => { |
| | | // let rowToSelect = this.detectionItems.find(item => item.id === p.id); |
| | | // if (rowToSelect) { |
| | | // product.forEach(p => { |
| | | // let rowToSelect = this.detectionItems.find(item => item.id === p.id); |
| | | // if (rowToSelect) { |
| | | // this.toggleSelection(rowToSelect); |
| | | // } |
| | | // }); |
| | | // } |
| | | // }); |
| | | // },200) |
| | | // } |
| | | // } |