呼叫空框

This commit is contained in:
2023-08-24 08:49:31 +08:00
parent d06ddffa8a
commit 94705af0ef
3 changed files with 13 additions and 4 deletions

View File

@@ -256,7 +256,7 @@ export default {
async _bcpInCallVehicle () {
this.disabled5 = true
try {
let res = await bcpInCallVehicle()
let res = await bcpInCallVehicle('A1-CPQXJ_01_X')
if (res.code === 200) {
this.toast(res.msg)
}

View File

@@ -173,8 +173,13 @@ export default {
// 呼叫空载具
async _callVehicle () {
this.disabled1 = true
if (this.value3 === '') {
this.toast('请选择入库点')
this.disabled1 = false
return
}
try {
let res = await callVehicle()
let res = await callVehicle(this.value3)
this.toast(res.msg)
this.disabled1 = false
} catch (e) {