diff --git a/pages/zw/confirm-quhuo.vue b/pages/zw/confirm-quhuo.vue index 27bc890..0892da2 100644 --- a/pages/zw/confirm-quhuo.vue +++ b/pages/zw/confirm-quhuo.vue @@ -53,7 +53,7 @@ title: '', val1: '', val2: '', - options: [{text:'空位', value:'1'}, {text:'空载具', value: '2'}, {text:'托盘绑定', value: '3'}], + options: [{text:'空位', value:'1'}, {text:'空载具', value: '2'}, {text:'有料', value: '3'}], index: '', disabled: false }; @@ -79,7 +79,7 @@ return } try { - let res = await pickUp(this.val1, this.index) + let res = await pickUp(this.val1, this.index, this.val2) if (res.code === '200') { uni.showToast({ title: res.message, diff --git a/utils/getData4.js b/utils/getData4.js index 065322c..45b7404 100644 --- a/utils/getData4.js +++ b/utils/getData4.js @@ -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', - data: {point_code: pcode, point_status: pstatus} + data: {point_code: pcode, point_status: pstatus, vehicle_code: vcode} }) // 作业管理