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 () => {
|
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({
|
||||||
|
|||||||
Reference in New Issue
Block a user