Browse Source

FWHL-271

hella_online_20250328
王宇飞 1 week ago
parent
commit
c926d0344a
  1. 6
      src/components/Detail/src/Detail.vue
  2. 6
      src/views/qms/inspectionQ2/index.vue

6
src/components/Detail/src/Detail.vue

@ -47,7 +47,11 @@
:data="detailData"
:schema="allSchemas.detailSchema"
:columns="2"
/>
>
<template v-for="name in Object.keys($slots)" :key="name" #[name]="{ row }">
<slot :name="name" :row="row"></slot>
</template>
</Descriptions>
<!-- 检验工序用到插槽 -->
<slot v-if="isBasic && !tabsExtend" :data="detailData" name="basicBottom" :key="updateKey"></slot>
<!-- 单表切换tabs 展现table -->

6
src/views/qms/inspectionQ2/index.vue

@ -88,7 +88,11 @@
</BasicForm>
<!-- 详情 -->
<Detail ref="detailRef" :isBasic="true" :allSchemas="Q2.allSchemas" />
<Detail ref="detailRef" :isBasic="true" :allSchemas="Q2.allSchemas">
<template #claimAddress="{row}">
<a :href="item" v-for="item in row['claimAddress'].split(',')" target="_blank">{{ item }}<br/></a>
</template>
</Detail>
<!-- 导入 -->
<ImportForm

Loading…
Cancel
Save