Browse Source

0412 新看板

master
ruanqi 2 years ago
parent
commit
e7bce7ee36
  1. 10
      src/views/modules/board/thisWeekShipmentBoard.vue

10
src/views/modules/board/thisWeekShipmentBoard.vue

@ -132,11 +132,14 @@
} }
}, },
tableRowClassName ({row, rowIndex}) { tableRowClassName ({row, rowIndex}) {
if ( new Date(row.planShipDate) <new Date()) {
return 'false-row'
}
if (row.finishedFlag == '2') { if (row.finishedFlag == '2') {
return 'success-row' return 'success-row'
} }
if (row.finishedFlag == '3') { if (row.finishedFlag == '3') {
return 'false-row'
return 'error-row'
} }
return '' return ''
}, },
@ -215,7 +218,10 @@
.board .el-table .success-row { .board .el-table .success-row {
background: #1bb61b; background: #1bb61b;
} }
.board .el-table .error-row {
background: #e5b655;
}
.board .el-table .false-row { .board .el-table .false-row {
background: #db1212;
background: rgba(234, 99, 99, 0.99);
} }
</style> </style>
Loading…
Cancel
Save