确认取货
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
title: '',
|
title: '',
|
||||||
val1: '',
|
val1: '',
|
||||||
val2: '',
|
val2: '',
|
||||||
options: [{text:'空位', value:'1'}, {text:'空载具', value: '2'}, {text:'托盘绑定', value: '3'}],
|
options: [{text:'空位', value:'1'}, {text:'空载具', value: '2'}, {text:'有料', value: '3'}],
|
||||||
index: '',
|
index: '',
|
||||||
disabled: false
|
disabled: false
|
||||||
};
|
};
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
let res = await pickUp(this.val1, this.index)
|
let res = await pickUp(this.val1, this.index, this.val2)
|
||||||
if (res.code === '200') {
|
if (res.code === '200') {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.message,
|
title: res.message,
|
||||||
|
|||||||
@@ -339,9 +339,9 @@ export const combination = (vcode, pcsn, mid, spcode, spname, sweight) => reques
|
|||||||
})
|
})
|
||||||
|
|
||||||
// 确认取货
|
// 确认取货
|
||||||
export const pickUp = (pcode, pstatus) => request({
|
export const pickUp = (pcode, pstatus, vcode) => request({
|
||||||
url:'api/pda/iosOut/pickUp',
|
url:'api/pda/iosOut/pickUp',
|
||||||
data: {point_code: pcode, point_status: pstatus}
|
data: {point_code: pcode, point_status: pstatus, vehicle_code: vcode}
|
||||||
})
|
})
|
||||||
|
|
||||||
// 作业管理
|
// 作业管理
|
||||||
|
|||||||
Reference in New Issue
Block a user