Browse Source

HL-5741,编辑页面的结果变过来了没问题,详情里没有变过来

hella_online_20240904
zhang_li 2 months ago
parent
commit
f34a07f197
  1. 3
      src/components/Detail/src/Detail.vue

3
src/components/Detail/src/Detail.vue

@ -45,7 +45,7 @@
:columns="2"
/>
<!-- 检验工序用到插槽 -->
<slot v-if="isBasic && !tabsExtend" :data="detailData" name="basicBottom" :key="detailData.id"></slot>
<slot v-if="isBasic && !tabsExtend" :data="detailData" name="basicBottom" :key="updateKey"></slot>
<!-- 单表切换tabs 展现table -->
<Table
v-if="isBasic && tabsExtend"
@ -689,6 +689,7 @@ const openDetail = async (row: any, titleName: any, titleValue: any, tableName:
if(tabRef.value){
tabRef.value.changeCurrent(0)
}
updateKey.value+=1
annexTableData.value = []
titleNameRef.value = titleName
titleValueRef.value = titleValue

Loading…
Cancel
Save