diff --git a/wms_pro/hd/nladmin-system/src/main/java/org/nl/wms/pm_manage/form_data/service/impl/PmFormDataServiceImpl.java b/wms_pro/hd/nladmin-system/src/main/java/org/nl/wms/pm_manage/form_data/service/impl/PmFormDataServiceImpl.java index a6991f3f..52f0c1a7 100644 --- a/wms_pro/hd/nladmin-system/src/main/java/org/nl/wms/pm_manage/form_data/service/impl/PmFormDataServiceImpl.java +++ b/wms_pro/hd/nladmin-system/src/main/java/org/nl/wms/pm_manage/form_data/service/impl/PmFormDataServiceImpl.java @@ -195,9 +195,11 @@ public class PmFormDataServiceImpl extends ServiceImpl children = childMap.get(dataDto.getId()); - for (PmFormDataDto child : children) { - String childProductArea = child.getForm_data().getString("product_area"); - child.setProduct_area(childProductArea); + if (children!=null){ + for (PmFormDataDto child : children) { + String childProductArea = child.getForm_data().getString("product_area"); + child.setProduct_area(childProductArea); + } } dataDto.setChildren(children); } diff --git a/wms_pro/qd/src/views/wms/pm_manage/form_data/index.vue b/wms_pro/qd/src/views/wms/pm_manage/form_data/index.vue index 1cb892ee..cbd8ecbf 100644 --- a/wms_pro/qd/src/views/wms/pm_manage/form_data/index.vue +++ b/wms_pro/qd/src/views/wms/pm_manage/form_data/index.vue @@ -28,6 +28,15 @@ /> + + +