This commit is contained in:
liushuai
2020-02-20 08:50:53 +08:00
parent 32ca9275e0
commit ab082f5742
5 changed files with 369 additions and 22 deletions

View File

@@ -26,7 +26,7 @@
</el-tooltip>
<el-row style="margin-top: 5px;margin-bottom: 3px">
<span>机床名称</span>
<el-input v-model="machineName" readonly size="small" placeholder="机床名称" style="width: 200px;"/>
<el-input v-model="machineName" readonly size="small" placeholder="机床名称" style="width: 200px;margin-right: 10px"/>
<span>机床数量</span>
<el-input v-model="machineNum" readonly size="small" placeholder="机床数量" style="width: 200px;"/>
</el-row>
@@ -399,14 +399,14 @@ export default {
},
methods: {
cell({ row, column, rowIndex, columnIndex }) {
if (row.对比类型 === 1 && columnIndex === 2) {
return 'rgb196'
if (row.对比类型 === 1 && columnIndex === 1) {
return 'ContrastMaterial'
}
if (row.对比类型 === 3 && columnIndex === 1) {
return 'rgb196'
if (row.对比类型 === 3 && columnIndex === 0) {
return 'ContrastMaterial'
}
if (row.对比类型 === 4 && columnIndex === 3) {
return 'rgb196'
if (row.对比类型 === 4 && columnIndex === 2) {
return 'ContrastMaterial'
}
},
handle(row) {
@@ -657,9 +657,9 @@ export default {
</script>
<style>
/*.rgb196{*/
/* background: palevioletred !important;*/
/* }*/
.ContrastMaterial{
background: palevioletred !important;
}
</style>
<style scoped>