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