opt: 套轴优先托盘有管芯、套轴看板优化、看板可直接恢复套轴计划、套轴计划过滤天数
This commit is contained in:
@@ -141,6 +141,13 @@
|
||||
.timeout-row-warning td {
|
||||
color: #f8d7da !important;
|
||||
}
|
||||
.timeout-row-error {
|
||||
background: #1dec12 !important;
|
||||
color: #f8d7da;
|
||||
}
|
||||
.timeout-row-error td {
|
||||
color: #0b0505 !important;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
@@ -346,6 +353,15 @@
|
||||
if (item.is_paper_ok === '2') {
|
||||
tzText = '已套轴';
|
||||
}
|
||||
if (item.is_paper_ok === '3') {
|
||||
tzText = '正在套轴';
|
||||
}
|
||||
if (item.is_paper_ok === '4') {
|
||||
tzText = '已下发套轴';
|
||||
}
|
||||
if (item.is_paper_ok === '99') {
|
||||
tzText = '套轴异常';
|
||||
}
|
||||
row.insertCell().textContent = tzText || 'N/A';
|
||||
// 检查start_time是否超过2小时,并设置行样式
|
||||
if (item.start_time) {
|
||||
@@ -355,6 +371,9 @@
|
||||
row.classList.add('timeout-row-warning'); // 应用于整行
|
||||
}
|
||||
}
|
||||
if (item.is_paper_ok === '99') {
|
||||
row.classList.add('timeout-row-error');
|
||||
}
|
||||
});
|
||||
} else {
|
||||
const row = tableBody.insertRow();
|
||||
|
||||
Reference in New Issue
Block a user