diff --git a/src/views/oem/outsourcingAssignmentControl/index.vue b/src/views/oem/outsourcingAssignmentControl/index.vue index 682ed8c5..eecab97e 100644 --- a/src/views/oem/outsourcingAssignmentControl/index.vue +++ b/src/views/oem/outsourcingAssignmentControl/index.vue @@ -465,9 +465,10 @@ export default { // 3. 所有数据准备就绪后,再赋值给 data,触发渲染 this.data = records; this.data.forEach(item=>{ - item.oemId = item.oemId+'' - item.platingId = item.platingId+'' - item.dsPart = item.dsPart+'' + item.oemId = item.oemId==null?'':item.oemId+'' + item.platingId = item.platingId==null?'':item.platingId+'' + item.dsPart = item.dsPart==null?'':item.dsPart+'' + }) this.page.total = res.data.data.total; } catch (error) {