Browse Source

修复配送全部列表配送司机显示

dev
qb 5 days ago
parent
commit
0fe113a606
  1. 21
      src/views/distribution/deliverylist/distributionDeliveryList.vue

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

@ -716,17 +716,16 @@ export default {
getDriverList(1, 10, '').then(res => {
const data = res.data.data;
let po = [];
if (data.records?.length) {
data.records.forEach(item => {
let a = {
dictKey: item.id,
dictValue: item.name,
};
po.push(a);
});
this.driverData = po;
rv(res.data.data.records);
}
data.forEach(item => {
let a = {
dictKey: item.id,
dictValue: item.name,
};
po.push(a);
});
this.driverData = po;
rv(res.data.data.records);
});
});
},

Loading…
Cancel
Save