|
|
|
@ -1421,24 +1421,22 @@ padding: 10px 15px 0 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 主表格行样式 - 验货申请中有数量修改时标红 |
|
|
|
/deep/ .el-table__row.modified-request-row { |
|
|
|
background-color: #fef0f0 !important; |
|
|
|
|
|
|
|
td { |
|
|
|
background-color: #fef0f0 !important; |
|
|
|
color: #f56c6c !important; |
|
|
|
} |
|
|
|
/* 强制主表红色背景 */ |
|
|
|
::v-deep .el-table__body tr.modified-request-row td { |
|
|
|
background-color: #ff4d4f !important; |
|
|
|
color: #ffffff !important; |
|
|
|
} |
|
|
|
|
|
|
|
&:hover > td { |
|
|
|
background-color: #fde2e2 !important; |
|
|
|
} |
|
|
|
/* 当前选中行也强制红色 */ |
|
|
|
::v-deep .el-table__body tr.modified-request-row.current-row td { |
|
|
|
background-color: #ff4d4f !important; |
|
|
|
color: #ffffff !important; |
|
|
|
} |
|
|
|
|
|
|
|
// 提高优先级,确保覆盖所有可能的样式 |
|
|
|
/deep/ .el-table__body tr.modified-request-row > td { |
|
|
|
background-color: #fef0f0 !important; |
|
|
|
color: #f56c6c !important; |
|
|
|
/* hover状态 */ |
|
|
|
::v-deep .el-table__body tr.modified-request-row:hover td { |
|
|
|
background-color: #ff7875 !important; |
|
|
|
color: #ffffff !important; |
|
|
|
} |
|
|
|
|
|
|
|
.po-section { |
|
|
|
@ -1466,3 +1464,11 @@ padding: 10px 15px 0 0; |
|
|
|
} |
|
|
|
|
|
|
|
</style> |
|
|
|
|
|
|
|
<!-- 全局样式 - 仅对有 modified-request-row 类的行生效 --> |
|
|
|
<style lang="scss"> |
|
|
|
.el-table__body tr.modified-request-row > td { |
|
|
|
background-color: #ffe6e6 !important; |
|
|
|
color: #333333 !important; |
|
|
|
} |
|
|
|
</style> |