Merge pull request 'fix : 修复项目立项校验' (#547) from dd into master
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/547
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user