提交 9ea05c50 authored 作者: kxjia's avatar kxjia

修改tb6 具体事件包括 表格不显示问题

上级 deb7c7bb
......@@ -221,6 +221,21 @@
/>
</div>
<!-- 嵌套AttachTable -->
<div v-else-if="item.type === 'AttachTable'" style="margin-top: 10px;">
<AttachTable
:title="item.project"
:records="item.datas"
:fields="item.content"
:pcode="item.code"
:calcSum="item.calcSum"
:showFooter="item.showFooter"
:ref="(el) => setAttachTableRef(el, item.code)"
:disabled="!item.hasRight"
style="margin:0px;padding:0px"
/>
</div>
<!-- 普通输入框 -->
<template v-else>
<div class="input-wrapper">
......@@ -718,6 +733,11 @@ const fillSimpleFields = async (row: TableRow, valueMap: Record<string, string>)
continue
}
if (item.type === 'AttachTable' && item.datas) {
await fillAttachTable(item, valueMap)
continue
}
if (!item.field) continue
const key = getFieldKey(row.code, item.field)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论