|
|
@ -12,7 +12,8 @@ |
|
|
|
{{ titleValueRef }} <span class="ml-20px font-size-16px">{{ titleNameRef }}</span> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<ContentWrap v-if="!isBasic"> |
|
|
|
<Tabs ref="tabRef" :tabsList="tabsList" :current="current" @change="change" /> |
|
|
|
<ContentWrap v-if="!isBasic" v-show="tabsList[current].label=='主数据'"> |
|
|
|
<Descriptions |
|
|
|
:data="detailData" |
|
|
|
labelClassName="label-class-name" |
|
|
@ -24,11 +25,9 @@ |
|
|
|
width="200px" |
|
|
|
/> |
|
|
|
</ContentWrap> |
|
|
|
|
|
|
|
<Tabs ref="tabRef" :tabsList="tabsList" :current="current" @change="change" /> |
|
|
|
<div class="flex"> |
|
|
|
<!-- 详情 --> |
|
|
|
<ContentWrap class="w-[100%]" v-show="tabsList[current].label!=annexAliasLabel&&tabsList[current].label!='备注'&&tabsList[current].label!='变更记录'&&!annexTableData.some(item=>item.label==tabsList[current].label)"> <!-- 列表头部 --> |
|
|
|
<ContentWrap class="w-[100%]" v-show="tabsList[current].label!=annexAliasLabel&&tabsList[current].label!='备注'&&tabsList[current].label!='变更记录'&&tabsList[current].label!='主数据'&&!annexTableData.some(item=>item.label==tabsList[current].label)"> <!-- 列表头部 --> |
|
|
|
<TableHead |
|
|
|
v-if="!isBasic" |
|
|
|
:HeadButttondata="HeadButttondata" |
|
|
@ -401,6 +400,10 @@ if (!tabsList.value || tabsList.value && tabsList.value.length == otherList.leng |
|
|
|
prop: 'Detail' |
|
|
|
}) |
|
|
|
} |
|
|
|
tabsList.value.unshift({ |
|
|
|
label: '主数据', |
|
|
|
prop: 'Descriptions' |
|
|
|
}) |
|
|
|
|
|
|
|
// Tabs |
|
|
|
const tabRef = ref() |
|
|
@ -473,7 +476,6 @@ const getAnnexFileList = async (row:id) => { |
|
|
|
}); |
|
|
|
await getSubList() |
|
|
|
item.subDetailTableData.tableList = subTableObject.tableList |
|
|
|
annexItem.subDetailTableData.tableList |
|
|
|
console.log('subTableObject',annexTableData.value) |
|
|
|
} |
|
|
|
} |
|
|
|