|
|
@ -501,13 +501,13 @@ const submitForm = async (formType, submitData) => { |
|
|
|
if(data.masterId){ |
|
|
|
data.id = data.masterId |
|
|
|
} |
|
|
|
if(!data.destination){ |
|
|
|
await ElMessageBox.confirm('未填写目的地,是否保存申请?', '提示', { |
|
|
|
confirmButtonText: '是', |
|
|
|
cancelButtonText: '否', |
|
|
|
type: 'warning' |
|
|
|
}) |
|
|
|
} |
|
|
|
// if(!data.destination){ |
|
|
|
// await ElMessageBox.confirm('未填写目的地,是否保存申请?', '提示', { |
|
|
|
// confirmButtonText: '是', |
|
|
|
// cancelButtonText: '否', |
|
|
|
// type: 'warning' |
|
|
|
// }) |
|
|
|
// } |
|
|
|
data.subList = tableData.value // 拼接子表数据参数 |
|
|
|
try { |
|
|
|
if (formType === 'create') { |
|
|
|