1
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user