diff --git a/pages/ProductManage/ZjDelivery.vue b/pages/ProductManage/ZjDelivery.vue index 88ad189..b56ba06 100644 --- a/pages/ProductManage/ZjDelivery.vue +++ b/pages/ProductManage/ZjDelivery.vue @@ -197,7 +197,7 @@ return } try { - let res = await shippingConfirm(this.checkArr, this.val3) + let res = await shippingConfirm(this.checkArr, this.val3, this.val1) this.disabled2 = false this.checkArr = [] this._queryMaterialInfo() diff --git a/utils/getData2.js b/utils/getData2.js index 32de785..f4adc6a 100644 --- a/utils/getData2.js +++ b/utils/getData2.js @@ -168,11 +168,12 @@ export const needVehicle = (code) => request({ }) // 1.3配送确认 -export const shippingConfirm = (rows, code) => request({ +export const shippingConfirm = (rows, code, vcode) => request({ url:'api/pda/shipping/confirm', data: { cut_rows: rows, - point_code: code + point_code: code, + vehicle_code: vcode } }) // 1.4载具送回