add:增加木箱回库,装箱区至管制功能;

opt:木箱移库优先级设置及下发延迟;
add:增加页面调用MES接口功能
This commit is contained in:
zhangzq
2025-04-22 17:26:35 +08:00
parent 4cc5506f15
commit 3a98deb92a
12 changed files with 210 additions and 111 deletions

View File

@@ -798,14 +798,14 @@ export default {
})
},
async syncMes(row) {
const url = 'http://10.1.3.16:8081/'+row.url
const url = 'http://10.1.3.36:8081/'+row.url
const response = await fetch(url, {
method: 'POST', // *GET, POST, PUT, DELETE, etc.
headers: {
'Content-Type': 'application/json',
// 'Content-Type': 'application/x-www-form-urlencoded',
},
body: JSON.stringify(row.param) // body 数据类型必须与“Content-Type”头匹配
body: row.param // body 数据类型必须与“Content-Type”头匹配
});
const data = await response.json();
window.alert(JSON.stringify(data))