操作屏
This commit is contained in:
@@ -204,7 +204,7 @@ export default {
|
||||
methods: {
|
||||
toExit() {
|
||||
this.disabled = true
|
||||
crudProduceScreen.loginOut({ username: this.screenData.username }).then(res => {
|
||||
crudProduceScreen.loginOut({ username: this.screenData.username, device_code: this.screenData.device_code }).then(res => {
|
||||
this.disabled = false
|
||||
localStorage.removeItem('screenData')
|
||||
this.$router.push('/produceScreen/setup')
|
||||
@@ -253,7 +253,7 @@ export default {
|
||||
this.disabled = false
|
||||
return
|
||||
}
|
||||
crudProduceScreen.callMater(this.popSecList).then(res => {
|
||||
crudProduceScreen.callMater({ mater: this.popSecList, device_code: this.popData.device_code }).then(res => {
|
||||
this.disabled = false
|
||||
this.$message(res.msg)
|
||||
}).catch(() => {
|
||||
@@ -265,7 +265,7 @@ export default {
|
||||
this.$message.error('请选择托盘类型!')
|
||||
return
|
||||
}
|
||||
crudProduceScreen.callEmp({ vehicle_type: this.value }).then(res => {
|
||||
crudProduceScreen.callEmp({ vehicle_type: this.value, device_code: this.popData.device_code }).then(res => {
|
||||
this.disabled = false
|
||||
this.$message(res.msg)
|
||||
}).catch(() => {
|
||||
@@ -279,7 +279,7 @@ export default {
|
||||
this.disabled = false
|
||||
})
|
||||
} else if (this.type === 'BACK') {
|
||||
crudProduceScreen.sendVehicle(this.popList).then(res => {
|
||||
crudProduceScreen.sendVehicle({ mater: this.popList, device_code: this.popData.device_code }).then(res => {
|
||||
this.$message(res.msg)
|
||||
}).catch(() => {
|
||||
this.disabled = false
|
||||
|
||||
Reference in New Issue
Block a user