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 () => {
// if (!instance) return
// instance.validate(async (valid) => {
if (!valid) {
ElNotification({
title: '提示',
message: '请完善数据,再提交!',
type: 'error'
})
return;
}
// if (!valid) {
// ElNotification({
// title: '提示',
// message: '请完善数据,再提交!',
// type: 'error'
// })
// return;
// }
if (deploymentData.value.deploymentName === '重大项目立项' || deploymentData.value.deploymentName === '重大项目验收') {
if (localFormData.value.preProcess === undefined) {
ElNotification({