This commit is contained in:
2024-04-23 11:06:44 +08:00
parent 8b81ec2c9e
commit 6002bcf721

View File

@@ -147,9 +147,9 @@
}
},
// 上料
handlerStart1(id) {
this.flag = 1;
// 上料
const queryData = {
taskid: id,
flag: this.flag
@@ -169,12 +169,12 @@
})
},
// 反程
handlerStart2(id) {
this.flag = 2;
// 反程
const queryData = {
taskid: id,
flag: 2
flag: this.flag
}
AgvApi.goTask(queryData).then(res => {
if (res.code === 200) {
@@ -191,9 +191,10 @@
})
},
handlerStop() {
// 终止
handlerStop(id) {
const queryData = {
workorder_id: this.orderInfo.id,
taskid: this.orderInfo.id,
flag: this.flag
}
AgvApi.Stoptask(queryData).then(res => {