feat: There is no way the, 删除123 企标详情 加逻辑 企标 关联属性数据不存在 报错问题
This commit is contained in:
@@ -3179,12 +3179,14 @@ export default {
|
|||||||
location['child1'] = childList
|
location['child1'] = childList
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (let i = 0; i < displayLocation.length; i++) {
|
for (let i = 0; i < displayLocation.length; i++) {
|
||||||
// sss11
|
// sss11
|
||||||
if(displayLocation[i].label !== '基础信息' && displayLocation[i].label !== '过程稿件'){
|
if((displayLocation[i].label !== '基础信息' && displayLocation[i].label !== '过程稿件') || !dynamicFormField){
|
||||||
const childList = displayLocation[i].child.filter ( item => item.value !== null && item.value !== '');
|
let childList = []
|
||||||
if(childList.length === 0){
|
if(displayLocation[i].child){
|
||||||
|
childList = displayLocation[i].child.filter ( item => item.value !== null && item.value !== '');
|
||||||
|
}
|
||||||
|
if(displayLocation[i].label !== '基础信息' && childList.length === 0){
|
||||||
displayLocation.splice(i,1)
|
displayLocation.splice(i,1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
-1
@@ -709,7 +709,6 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="field.attrField === 'DTQBBHBUSS' || field.attrField === 'CYBZ' || field.attrField === 'YYBZ'">
|
<template v-else-if="field.attrField === 'DTQBBHBUSS' || field.attrField === 'CYBZ' || field.attrField === 'YYBZ'">
|
||||||
123
|
|
||||||
<custom-input-for-standards
|
<custom-input-for-standards
|
||||||
:config="field"
|
:config="field"
|
||||||
:class="field.attrField === 'BYYBJ' ? 'classDisplay' : ''"
|
:class="field.attrField === 'BYYBJ' ? 'classDisplay' : ''"
|
||||||
|
|||||||
Reference in New Issue
Block a user