fix : 修复项目立项校验

This commit is contained in:
2024-07-14 17:48:26 +08:00
parent 8791d220e6
commit 29180cfb9f

View File

@@ -379,14 +379,14 @@ const getFileParam = (item) => {
const handleSubmit = async () => { const handleSubmit = async () => {
// if (!instance) return // if (!instance) return
// instance.validate(async (valid) => { // instance.validate(async (valid) => {
if (!valid) { // if (!valid) {
ElNotification({ // ElNotification({
title: '提示', // title: '提示',
message: '请完善数据,再提交!', // message: '请完善数据,再提交!',
type: 'error' // type: 'error'
}) // })
return; // return;
} // }
if (deploymentData.value.deploymentName === '重大项目立项' || deploymentData.value.deploymentName === '重大项目验收') { if (deploymentData.value.deploymentName === '重大项目立项' || deploymentData.value.deploymentName === '重大项目验收') {
if (localFormData.value.preProcess === undefined) { if (localFormData.value.preProcess === undefined) {
ElNotification({ ElNotification({