|
|
@ -438,9 +438,9 @@ const tableSelectionDelete = (selection) => { |
|
|
|
// 主子数据 提交 |
|
|
|
const submitForm = async (formType, submitData) => { |
|
|
|
let data = {...submitData} |
|
|
|
if(data.masterId){ |
|
|
|
data.id = data.masterId |
|
|
|
} |
|
|
|
// if(data.masterId){ |
|
|
|
// data.id = data.masterId |
|
|
|
// } |
|
|
|
data.subList = tableData.value // 拼接子表数据参数 |
|
|
|
formRef.value.formLoading = true |
|
|
|
try { |
|
|
|