This commit is contained in:
zhangdingyu
2019-09-27 09:01:50 +08:00
parent b577075990
commit 1f0dfe3f6d
6 changed files with 35 additions and 32 deletions

View File

@@ -437,34 +437,34 @@
height="300"
highlight-current-row
border>
<el-table-column align="center" label="工序顺序" width="100">
<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="150">
<el-table-column align="center" label="工艺名称" width="110">
<template slot-scope="scope">
{{ scope.row.工艺名称 }}
</template>
</el-table-column>
<el-table-column align="center" label="工艺要求">
<el-table-column align="center" label="工艺要求" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.工艺要求 }}
</template>
</el-table-column>
<el-table-column align="center" label="计划日期">
<el-table-column align="center" label="计划日期" width="100">
<template slot-scope="scope">
{{ scope.row.计划日期 }}
</template>
</el-table-column>
<el-table-column align="center" label="工艺是否完成" width="130">
<el-table-column align="center" label="工艺是否完成" width="100">
<template slot-scope="scope">
<el-tag v-if="parseInt(scope.row.工序状态)===4" type="success" size="small">已完成</el-tag>
<el-tag v-if="parseInt(scope.row.工序状态)===5" type="warning" size="small">报废</el-tag>
<el-tag v-if="parseInt(scope.row.工序状态)!==4 && parseInt(scope.row.工序状态)!==5" type="primary" size="small">未完成</el-tag>
</template>
</el-table-column>
<el-table-column align="center" label="工艺是否质检" width="130">
<el-table-column align="center" label="工艺是否质检" width="100">
<template slot-scope="scope">
<el-tag v-if="parseInt(scope.row.是否质检)===1" type="success" size="small">合格</el-tag>
<el-tag v-if="parseInt(scope.row.是否质检)===2" type="warning" size="small">不合格</el-tag>