|
@ -643,7 +643,9 @@ const tableSelectionDelete = (selection) => { |
|
|
const submitForm = async (formType, submitData) => { |
|
|
const submitForm = async (formType, submitData) => { |
|
|
|
|
|
|
|
|
let data = {...submitData} |
|
|
let data = {...submitData} |
|
|
data.id = data.masterId |
|
|
if(data.masterId){ |
|
|
|
|
|
data.id = data.masterId |
|
|
|
|
|
} |
|
|
data.subList = tableData.value // 拼接子表数据参数 |
|
|
data.subList = tableData.value // 拼接子表数据参数 |
|
|
data.subList.forEach(row=>{ |
|
|
data.subList.forEach(row=>{ |
|
|
row['expireDate'] = row['validityDays']?addDay(row['produceDate'],row['validityDays']).valueOf():'' |
|
|
row['expireDate'] = row['validityDays']?addDay(row['produceDate'],row['validityDays']).valueOf():'' |
|
|