修改 参与外部标准制修订信息提报流程 未填全信息时阻止提交
This commit is contained in:
@@ -692,14 +692,19 @@ export default {
|
||||
});
|
||||
},
|
||||
handleSubmit() {
|
||||
let isValid = true
|
||||
if (this.participantsData.length < 1) {
|
||||
this.$message.warning("项目信息不能为空");
|
||||
} else {
|
||||
this.participantsData.forEach(item => {
|
||||
if (item.projectNumber === undefined) {
|
||||
if (item.projectNumber === undefined || item.projectNumber === '') {
|
||||
this.$message.warning("请完善项目信息");
|
||||
isValid = false
|
||||
}
|
||||
});
|
||||
if (!isValid){
|
||||
return
|
||||
}
|
||||
this.wbbzform.commentText = this.commentStep;
|
||||
let json = {
|
||||
participantsData: this.participantsData,
|
||||
|
||||
Reference in New Issue
Block a user