组件状态查询

This commit is contained in:
Vergil
2020-03-23 16:34:23 +08:00
parent 9912d330ae
commit c7bc00c5ed
2 changed files with 2 additions and 8 deletions

View File

@@ -39,10 +39,9 @@
{{ 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="90">
<template slot-scope="scope">
<span v-if="scope.row.工序状态 >= 4">已完成</span>
<span v-else>未完成</span>
{{ scope.row.完成日期 ? scope.row.完成日期.split(' ')[0] : '' }}
</template>
</el-table-column>
</el-table>