|
@ -110,16 +110,18 @@ |
|
|
:annexData="annexData" |
|
|
:annexData="annexData" |
|
|
@handleAnnexSuccess="handleAnnexSuccess" |
|
|
@handleAnnexSuccess="handleAnnexSuccess" |
|
|
@deleteAnnexSuccess="deleteAnnexSuccess" |
|
|
@deleteAnnexSuccess="deleteAnnexSuccess" |
|
|
:upData="remarksData.data" |
|
|
:upData="remarksData.data" |
|
|
|
|
|
:key="count" |
|
|
/> |
|
|
/> |
|
|
<!-- 备注组件 --> |
|
|
<!-- 备注组件 --> |
|
|
<Remarks v-show="tabsList[current].label=='备注'" |
|
|
<Remarks v-show="tabsList[current].label=='备注'" |
|
|
:remarksData="remarksData" |
|
|
:remarksData="remarksData" |
|
|
class="mt-20px" |
|
|
class="mt-20px" |
|
|
@remarksSubmitScuess="remarksSubmitScuess" |
|
|
@remarksSubmitScuess="remarksSubmitScuess" |
|
|
|
|
|
:key="count" |
|
|
/> |
|
|
/> |
|
|
<!-- 变更记录组件 --> |
|
|
<!-- 变更记录组件 --> |
|
|
<ChangeRecord v-show="tabsList[current].label=='变更记录'" :changeRecordData="changeRecordData" class="mt-20px" /> |
|
|
<ChangeRecord v-show="tabsList[current].label=='变更记录'" :changeRecordData="changeRecordData" class="mt-20px" :key="count"/> |
|
|
</ElScrollbar> |
|
|
</ElScrollbar> |
|
|
</ContentWrap> |
|
|
</ContentWrap> |
|
|
</div> |
|
|
</div> |
|
@ -362,7 +364,6 @@ const otherList = [...props.annexTable,{ |
|
|
label:'变更记录', |
|
|
label:'变更记录', |
|
|
prop:'ChangeRecord' |
|
|
prop:'ChangeRecord' |
|
|
}] |
|
|
}] |
|
|
|
|
|
|
|
|
tabsList.value = [...tabsList?.value,...otherList] |
|
|
tabsList.value = [...tabsList?.value,...otherList] |
|
|
|
|
|
|
|
|
if (!tabsList.value || tabsList.value && tabsList.value.length == otherList.length) { |
|
|
if (!tabsList.value || tabsList.value && tabsList.value.length == otherList.length) { |
|
@ -498,6 +499,7 @@ const searchTableFormType = ref('') // 表单的类型:create - 新增;updat |
|
|
const formRef = ref() |
|
|
const formRef = ref() |
|
|
const titleNameRef = ref() |
|
|
const titleNameRef = ref() |
|
|
const titleValueRef = ref() |
|
|
const titleValueRef = ref() |
|
|
|
|
|
const count =ref(0) |
|
|
const openDetail = async (row: any, titleName: any, titleValue: any, tableName: any) => { |
|
|
const openDetail = async (row: any, titleName: any, titleValue: any, tableName: any) => { |
|
|
titleNameRef.value = titleName |
|
|
titleNameRef.value = titleName |
|
|
titleValueRef.value = titleValue |
|
|
titleValueRef.value = titleValue |
|
@ -505,6 +507,7 @@ const openDetail = async (row: any, titleName: any, titleValue: any, tableName: |
|
|
tableId: row.id, |
|
|
tableId: row.id, |
|
|
tableName: tableName |
|
|
tableName: tableName |
|
|
} |
|
|
} |
|
|
|
|
|
count.value++ |
|
|
// 加载明细列表 |
|
|
// 加载明细列表 |
|
|
if (!props.isBasic) { |
|
|
if (!props.isBasic) { |
|
|
// 设置主表id |
|
|
// 设置主表id |
|
|