|
|
@ -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() |
|
|
|
} |
|
|
|