基础数据-镀种维护-优化

dev-scheduling
ysn 1 month ago
parent ce03e5bb4c
commit d1f4abcdb0
  1. 16
      src/views/processManagement/platingTypeInfo.vue

@ -587,14 +587,14 @@ export default {
});
let list = res.data.data.records;
// bcName
await Promise.all(
list.map(async item => {
item.bcId = item.bcId + '';
item.subClass = item.subClass + '';
item.bcName = await this.getBcName(item.bcId); //
console.log('item.bcName =', item.bcName); //
})
);
//await Promise.all(
// list.map(async item => {
// item.bcId = item.bcId + '';
// item.subClass = item.subClass + '';
// item.bcName = await this.getBcName(item.bcId); //
// console.log('item.bcName =', item.bcName); //
// })
//);
this.data = list;
this.page.total = res.data.data.total;
} catch (e) {}

Loading…
Cancel
Save