正加工零件

This commit is contained in:
Vergil
2020-04-03 15:59:20 +08:00
parent f0b6661d55
commit f75a2dc784
2 changed files with 14 additions and 8 deletions

View File

@@ -246,7 +246,7 @@ export default {
<style> <style>
.el-table .cjzuwcqk_complet { .el-table .cjzuwcqk_complet {
background: #67C23A; background: #9bd7fc !important;
} }
</style> </style>
<style lang="scss"> <style lang="scss">
@@ -260,7 +260,7 @@ export default {
} }
.treeNotesComplate { .treeNotesComplate {
color: black; color: black;
background-color: #67C23A; background-color: #9bd7fc !important;
} }
.treeNotesUnComplate { .treeNotesUnComplate {
color: black; color: black;

View File

@@ -161,16 +161,22 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="工序完成" width="80"> <el-table-column align="center" label="工序完成" width="80">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="parseInt(scope.row.工序状态)===4" type="success" size="small">已完</el-tag> <span v-if="parseInt(scope.row.工序状态)===4" style="color: #67C23A">已完</span>
<el-tag v-if="parseInt(scope.row.工序状态)===5" type="warning" size="small">报废</el-tag> <span v-if="parseInt(scope.row.工序状态)===5" style="color: #E6A23C">报废</span>
<el-tag v-if="parseInt(scope.row.工序状态)!==4 && parseInt(scope.row.工序状态)!==5" type="primary" size="small">未完</el-tag> <span v-if="parseInt(scope.row.工序状态)!==4 && parseInt(scope.row.工序状态)!==5" style="color: #409EFF">未完</span>
<!--<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> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="工序质检" width="80"> <el-table-column align="center" label="工序质检" width="80">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="parseInt(scope.row.是否质检)===1" type="success" size="small">合格</el-tag> <span v-if="parseInt(scope.row.是否质检)===1" style="color: #67C23A">合格</span>
<el-tag v-if="parseInt(scope.row.是否质检)===2" type="warning" size="small">不合格</el-tag> <span v-if="parseInt(scope.row.是否质检)===2" style="color: #E6A23C">不合格</span>
<el-tag v-if="parseInt(scope.row.是否质检)!==1 && parseInt(scope.row.是否质检)!==2" type="primary" size="small">未检</el-tag> <span v-if="parseInt(scope.row.是否质检)!==1 && parseInt(scope.row.是否质检)!==2" style="color: #409EFF">未检</span>
<!--<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>-->
<!--<el-tag v-if="parseInt(scope.row.是否质检)!==1 && parseInt(scope.row.是否质检)!==2" type="primary" size="small">未检</el-tag>-->
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>