| | |
| | | <div style="width: 100%;height: 100%;overflow-y: auto;" class="detail"> |
| | | <div> |
| | | <el-row class="title"> |
| | | <el-col :span="12" style="padding-left: 20px;">样品详情</el-col> |
| | | <el-col :span="12" style="padding-left: 20px;text-align: left;">样品详情</el-col> |
| | | <el-col :span="12" style="text-align: right;"> |
| | | <el-button size="small" @click="hanldeBack">返回</el-button> |
| | | </el-col> |
| | |
| | | </el-table-column> |
| | | <el-table-column prop="inspectionItem" label="检验项" min-width="100" |
| | | show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="inspectionItemSubclass" label="检验项分类" min-width="100" show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="inspectionItemSubclass" label="检验项分类" min-width="100" show-overflow-tooltip v-if="PROJECT=='装备电缆'"></el-table-column> |
| | | <el-table-column prop="laboratory" label="实验室" min-min-width="100" show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="unit" label="单位" min-width="100" show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="equipValue" label="设备" min-width="100" show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="equipValue" label="设备" min-width="100" show-overflow-tooltip> |
| | | <template slot-scope="scope"> |
| | | {{handleData(scope.row.equipValue)}} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="entrustCode" label="委托编号" min-width="100" show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="updateUserName" label="检验人" min-width="100" show-overflow-tooltip></el-table-column> |
| | | <el-table-column prop="updateTime" label="检验时间" min-width="100" show-overflow-tooltip></el-table-column> |
| | |
| | | this.histories = histories; |
| | | this.products = products; |
| | | }) |
| | | }, |
| | | handleData(e){ |
| | | let info = '' |
| | | if(e){ |
| | | info = JSON.parse(e).map(item => { |
| | | return item.v; |
| | | }).join(',') |
| | | } |
| | | return info |
| | | } |
| | | } |
| | | } |