diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index 8fd05fba9..6d73b5859 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -57,6 +57,12 @@ {{ sarStandardsInfoEO.standSort + ' ' + sarStandardsInfoEO.standNumber }}

+

{{ + sarStandardsInfoEO.standName || '-' + }}

+

{{ + sarStandardsInfoEO.standEnName || '-' + }}

-

{{ - sarStandardsInfoEO.standName || '-' - }}

-

{{ - sarStandardsInfoEO.standEnName || '-' - }}

+ + + + + +

@@ -1940,6 +2071,7 @@ export default { watch: {}, methods: { child1Func(child1) { + console.log('1943',child1) const list = [] if (child1 && child1.length > 1) { list.push(child1[0]) @@ -1947,6 +2079,33 @@ export default { } return child1 }, + child3Func(child3) { + console.log('1943',child3) + const list = [] + if (child3 && child3.length > 1) { + list.push(child3[0]) + return list + } + return child3 + }, + child4Func(child4) { + console.log('1943',child4) + const list = [] + if (child4 && child4.length > 1) { + list.push(child4[0]) + return list + } + return child4 + }, + child5Func(child5) { + console.log('1943',child5) + const list = [] + if (child5 && child5.length > 1) { + list.push(child5[0]) + return list + } + return child5 + }, handleChange(val) { console.log('1724', val) }, @@ -3479,7 +3638,9 @@ export default { displayLocation.forEach(location => { // 动态属性字段-FBGBJBD 单独添加至基础信息 const list = displayLocation.filter(item => item.label === '过程稿件'); + console.log('3535',list) if (location.label === '基础信息' && list && list.length > 0) { + //发布稿必读 if (!list[0].child) { location['child1'] = [] } else { @@ -3487,6 +3648,30 @@ export default { location['child1'] = childList } + //增补件必读 + if (!list[0].child) { + location['child3'] = [] + } else { + const childList = list[0].child.filter(item => item.attrField === 'ZBJBD'); + location['child3'] = childList + + } + //勘误件 + if (!list[0].child) { + location['child4'] = [] + } else { + const childList = list[0].child.filter(item => item.attrField === 'KWJ'); + location['child4'] = childList + + } + //修订本 + if (!list[0].child) { + location['child5'] = [] + } else { + const childList = list[0].child.filter(item => item.attrField === 'XDB'); + location['child5'] = childList + + } } // 动态属性字段-SYRZ 单独添加至基础信息 const list2 = displayLocation.filter(item => item.label === '适用范围');