Browse Source

详情明细中---主表id更换

master_hella_20240701
yufei0306 7 months ago
parent
commit
6ab49a293c
  1. 6
      src/components/Detail/src/Detail.vue

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

@ -548,18 +548,18 @@ const openDetail = async (row: any, titleName: any, titleValue: any, tableName:
titleNameRef.value = titleName
titleValueRef.value = titleValue
remarksData.data = {
tableId: row.id,
tableId: row.masterId||row.id,
tableName: tableName
}
count.value++
//
if (!props.isBasic) {
// id
masterParmas.value.masterId = row.id
masterParmas.value.masterId = row.masterId||row.id
masterParmas.value.number = row.number
masterParmas.value.status = row.status
tableObjectRef.value.params = {
masterId: row.id
masterId: row.masterId||row.id
}
await getList()
}

Loading…
Cancel
Save