呼叫空框
This commit is contained in:
@@ -137,7 +137,9 @@ export const getMaterial = (code, page, size) => post('api/pda/bcp/in/getMateria
|
||||
// 1.4入库点下拉框
|
||||
export const getPoint = () => post('api/pda/bcp/in/getPoint', {})
|
||||
// 1.5呼叫空载具(按钮)
|
||||
export const callVehicle = () => post('api/pda/bcp/in/callVehicle', {})
|
||||
export const callVehicle = (point) => post('api/pda/bcp/in/callVehicle', {
|
||||
point: point
|
||||
})
|
||||
// 1.6确认入库(按钮)
|
||||
export const createIn = (from) => post('api/pda/bcp/in/createIn', {
|
||||
from: from
|
||||
@@ -355,7 +357,9 @@ export const washWashQzFinish = (id, wegiht, code) => post('api/pda/wash/washQzF
|
||||
vechile_code: code
|
||||
})
|
||||
// 1.5呼叫空框
|
||||
export const bcpInCallVehicle = () => post('api/pda/bcp/in/callVehicle', {})
|
||||
export const bcpInCallVehicle = (point) => post('api/pda/bcp/in/callVehicle', {
|
||||
point: point
|
||||
})
|
||||
|
||||
/**
|
||||
* 刻字工序
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user