|
|
@@ -170,7 +170,8 @@
|
|
|
<el-tab-pane label="设备作业清单" @click="showTable('印件资料')" name="first" :class="{ 'active-tab': activeTab === 'first' }" >
|
|
|
<el-table ref="multipleTable"
|
|
|
:show-overflow-tooltip="true"
|
|
|
- highlight-current-row="true"
|
|
|
+ highlight-current-row="true"
|
|
|
+ :cell-class-name="sbzyqdsatusCellClass"
|
|
|
:row-style="{ height: '20px' }"
|
|
|
:cell-style="{ padding: '0px' }" :header-row-style="{ height: '20px' }"
|
|
|
:header-cell-style="{ padding: '0px' }"
|
|
|
@@ -5201,6 +5202,13 @@ const enterDialog = async () => {
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
+//设备作业清单 正在生产中 背景颜色
|
|
|
+const sbzyqdsatusCellClass = ({row, column, rowIndex, columnIndex}) =>{
|
|
|
+ if (row.status === 1) {
|
|
|
+ return 'status-plan-usage-low';
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
</script>
|
|
|
|
|
|
@@ -5260,6 +5268,10 @@ const enterDialog = async () => {
|
|
|
/*!* 选中某行时的背景色*/
|
|
|
:deep(.el-table__body tr.current-row)>td {
|
|
|
background: #ff80ff !important;
|
|
|
+}
|
|
|
+/* 设备作业清单 正在生产中 背景颜色 */
|
|
|
+:deep(.status-plan-usage-low ) {
|
|
|
+ background: yellow !important;
|
|
|
}
|
|
|
::v-deep .el-tabs--card > .el-tabs__header .el-tabs__item.is-active {
|
|
|
color: white; /* 文字颜色 */
|