Browse Source

修复配送bug

dev
马远东 5 days ago
parent
commit
e4e9e7702f
  1. 6
      src/views/distribution/deliverylist/distributionDeliveryList.vue

6
src/views/distribution/deliverylist/distributionDeliveryList.vue

@ -699,7 +699,7 @@ export default {
getVehicleList(1, 10, '').then(res => { getVehicleList(1, 10, '').then(res => {
const data = res.data.data; const data = res.data.data;
let po = []; let po = [];
data.records.forEach(item => { data.forEach(item => {
let a = { let a = {
dictKey: item.id, dictKey: item.id,
dictValue: item.vehicleNub, dictValue: item.vehicleNub,
@ -707,7 +707,7 @@ export default {
po.push(a); po.push(a);
}); });
this.vehicleData = po; this.vehicleData = po;
rv(res.data.data.records); rv(res.data.data);
}); });
}); });
}, },
@ -725,7 +725,7 @@ export default {
po.push(a); po.push(a);
}); });
this.driverData = po; this.driverData = po;
rv(res.data.data.records); rv(res.data.data);
}); });
}); });
}, },

Loading…
Cancel
Save