姜福壮

This commit is contained in:
Vergil
2020-05-14 15:49:06 +08:00
parent cfcfabd22b
commit e99d954057
8 changed files with 66 additions and 35 deletions

View File

@@ -23,22 +23,32 @@
<el-col :span="8">
<el-card>
<el-table :data="tableData1" :row-class-name="tableRowClassName" empty-text=" " style="height: 670px" highlight-current-row border>
<el-table-column align="center" label="工序名" width="110">
<el-table-column align="center" label="工序名" width="80">
<template slot-scope="scope">
{{ scope.row.工艺名称 }}
</template>
</el-table-column>
<el-table-column align="center" label="操作者" width="100">
<el-table-column align="center" label="操作者" width="70" show-overflow-tooltip="">
<template slot-scope="scope">
<!--{{ scope.row.员工姓名 === '超级管理员' && scope.row.工序状态 !== 4 ? '' : scope.row.员工姓名 }}-->
{{ scope.row.工序间是否外协 === 2 ? '外协' : (scope.row.员工姓名 === '超级管理员' && scope.row.工序状态 !== 4 ? '' : scope.row.员工姓名) }}
</template>
</el-table-column>
<el-table-column align="center" label="数量" show-overflow-tooltip min-width="90">
<el-table-column align="center" label="数量" show-overflow-tooltip min-width="50">
<template slot-scope="scope">
{{ scope.row.投产数量 }}
</template>
</el-table-column>
<el-table-column align="center" label="质检数" show-overflow-tooltip min-width="65">
<template slot-scope="scope">
{{ scope.row.检验数量 }}
</template>
</el-table-column>
<el-table-column align="center" label="不良数" show-overflow-tooltip min-width="65">
<template slot-scope="scope">
{{ scope.row.不合格数量 }}
</template>
</el-table-column>
<el-table-column align="center" label="完成日期" show-overflow-tooltip min-width="90">
<template slot-scope="scope">
{{ scope.row.完成日期 ? scope.row.完成日期.split(' ')[0] : '' }}