| | |
| | | :header-cell-style="{textAlign:'center',color:'black',backgroundColor:'#fafafa'}" |
| | | :cell-style="{textAlign:'center'}" row-key="iid" default-expand-all |
| | | style="width: 100%" ref="table" :tree-props="{children: 'children', hasChildren: 'hasChildren'}"> |
| | | <el-table-column type="index" label="序号" width="60"></el-table-column> |
| | | <el-table-column type="index" prop="parentIndex" label="序号" width="60"> |
| | | <template scope="scope"> |
| | | <span v-if="scope.row.isIndex">{{scope.row.parentIndex}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="项目" prop="father" show-overflow-tooltip width="140" ></el-table-column> |
| | | <el-table-column prop="iname" label="指标" show-overflow-tooltip width="140" ></el-table-column> |
| | | <el-table-column prop="iunit" label="单位" show-overflow-tooltip width="140" ></el-table-column> |
| | |
| | | class="item" effect="dark" content="请先选择设备!" placement="top-start"> |
| | | <el-input :disabled="scope.row.eId == null" |
| | | v-model="scope.row.inote" |
| | | @blur="changeState(scope.row)" placeholder="请输入检测值"></el-input> |
| | | @blur="changeState(scope.row)" placeholder="请输入检验描述"></el-input> |
| | | <span v-if="resultVal != null && processInspectVo.id != null" |
| | | v-text="scope.row.inote"></span> |
| | | </el-tooltip> |
| | |
| | | documentId: null, |
| | | outBatchNo: null, |
| | | locName: null, |
| | | productNo: null, |
| | | }, |
| | | inspectionItems: [], // 新增检验项目表格 |
| | | inspectionResultForm: [], |
| | |
| | | this.processInspectVo.locName = result.locName |
| | | this.processInspectVo.productNo = result.productNo |
| | | let userList = [] |
| | | result.children.forEach(item=>{ |
| | | result.children.forEach((item,index)=>{ |
| | | item.iid = Math.random() |
| | | item.isIndex = true; |
| | | item.parentIndex = index + 1; |
| | | if(item.children != undefined){ |
| | | item.children.forEach(obj=>{ |
| | | let arr = [] |