opt: 套轴看板
This commit is contained in:
@@ -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)] : [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user