diff --git a/src/views/processManagement/platingTypeInfo.vue b/src/views/processManagement/platingTypeInfo.vue index 9a452b7f..96744dc8 100644 --- a/src/views/processManagement/platingTypeInfo.vue +++ b/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) {}