add:增加木箱回库,装箱区至管制功能;
opt:木箱移库优先级设置及下发延迟; add:增加页面调用MES接口功能
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user