diff --git a/pages/ProductManage/ZjDelivery.vue b/pages/ProductManage/ZjDelivery.vue index 2e97ef8..1804db3 100644 --- a/pages/ProductManage/ZjDelivery.vue +++ b/pages/ProductManage/ZjDelivery.vue @@ -3,6 +3,16 @@ + + + 起点 + + + + + 载具码 @@ -161,7 +171,7 @@ return } try { - let res = await shippingConfirm(this.checkArr) + let res = await shippingConfirm(this.checkArr, this.val3) uni.showToast({ title: res.message, icon: 'none' diff --git a/utils/getData2.js b/utils/getData2.js index a4b96ef..d4e874c 100644 --- a/utils/getData2.js +++ b/utils/getData2.js @@ -71,10 +71,11 @@ export const needVehicle = (code) => request({ } }) // 1.3配送确认 -export const shippingConfirm = (rows) => request({ +export const shippingConfirm = (rows, code) => request({ url:'api/pda/shipping/confirm', data: { - cut_rows: rows + cut_rows: rows, + point_code: code } })