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