|
|
@ -78,7 +78,7 @@ |
|
|
|
<el-input v-model="formSchema.value" v-if="isDetail && formTypeDetail == 'InputString'" /> |
|
|
|
</template> |
|
|
|
</Form> |
|
|
|
<Tabs ref="tabRef" v-if="formType=='create'&&tableAllSchemas&&tableAllSchemas.tableFormColumns.find(item=>item.field == 'itemCode')" :tabsList="[{ |
|
|
|
<Tabs ref="tabRef" v-if="includeCollectionTable&&formType=='create'&&tableAllSchemas&&tableAllSchemas.tableFormColumns.find(item=>item.field == 'itemCode')" :tabsList="[{ |
|
|
|
label: '明细', |
|
|
|
prop: 'TableForm' |
|
|
|
},{ |
|
|
@ -135,7 +135,7 @@ |
|
|
|
@handleDeleteTable="handleDeleteTable" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div v-if="formType=='create'&&tableAllSchemas&&tableAllSchemas.tableFormColumns.find(item=>item.field == 'itemCode')" v-show="tabSheet=='CollectionTable'"> |
|
|
|
<div v-if="includeCollectionTable&&formType=='create'&&tableAllSchemas&&tableAllSchemas.tableFormColumns.find(item=>item.field == 'itemCode')" v-show="tabSheet=='CollectionTable'"> |
|
|
|
<CollectionTable |
|
|
|
:tableFields="tableAllSchemas?tableAllSchemas.tableFormColumns:[]" |
|
|
|
:tableData="tableData" |
|
|
@ -369,7 +369,12 @@ const props = defineProps({ |
|
|
|
isCheckStrictly:{ |
|
|
|
type:Boolean, |
|
|
|
default:false |
|
|
|
} |
|
|
|
}, |
|
|
|
// true 展示汇总功能组件; false 不展示 |
|
|
|
includeCollectionTable:{ |
|
|
|
type:Boolean, |
|
|
|
default:false |
|
|
|
}, |
|
|
|
}) |
|
|
|
|
|
|
|
const { t } = useI18n() // 国际化 |
|
|
|