opt: 套轴看板

This commit is contained in:
2025-09-26 13:32:50 +08:00
parent 07550c7edd
commit f2fa6fbb09

View File

@@ -405,7 +405,13 @@
let statusText = '已完成';
if (item.status === '01') {
statusText = '准备套轴';
if (item.is_paper_ok === '2') {
statusText = '等待配送';
} else if(item.is_paper_ok === '3') {
statusText = '套轴执行中';
} else {
statusText = '准备套轴';
}
} else if (item.status === '02') {
statusText = '正在配送';
} else if (item.status === '03') {
@@ -554,7 +560,7 @@
// 正则表达式匹配10位字符第一个是字母第四第五是FQ
const regex = /\b[A-Za-z][A-Za-z0-9]{2}FQ[A-Za-z0-9]{5}\b/g;
const matches = text.match(regex);
// 去除重复的设备ID
return matches ? [...new Set(matches)] : [];
}