diff --git a/src/views/distribution/deliverylist/distributionDeliveryList.vue b/src/views/distribution/deliverylist/distributionDeliveryList.vue index 3083e6c2..4a641cdb 100644 --- a/src/views/distribution/deliverylist/distributionDeliveryList.vue +++ b/src/views/distribution/deliverylist/distributionDeliveryList.vue @@ -699,7 +699,7 @@ export default { getVehicleList(1, 10, '').then(res => { const data = res.data.data; let po = []; - data.records.forEach(item => { + data.forEach(item => { let a = { dictKey: item.id, dictValue: item.vehicleNub, @@ -707,7 +707,7 @@ export default { po.push(a); }); this.vehicleData = po; - rv(res.data.data.records); + rv(res.data.data); }); }); }, @@ -725,7 +725,7 @@ export default { po.push(a); }); this.driverData = po; - rv(res.data.data.records); + rv(res.data.data); }); }); },