提交 4c16084c 编写于 作者: alex.zhang's avatar alex.zhang

标记状态不可为空

上级 9024afc9
......@@ -507,7 +507,7 @@ export default {
}
console.log("setTagSave() : checkTagValid = " + checkTagValid);
if (!checkTagValid) {
this.$message.error("项目标签设置不可为空");
this.$message.error("标签不可为空");
return;
}
......@@ -631,6 +631,22 @@ export default {
{ id: this.status04.id, value: this.status04.value },
{ id: this.status05.id, value: this.status05.value },
];
let checkStatusValid = false;
for(let item = 0; item < this.statusList.length; item++) {
console.log("setStatusSave() : this.statusList[item].value = " + this.statusList[item].value);
if (this.statusList[item].value != null && this.statusList[item].value != "" &&
this.statusList[item].value != undefined) {
checkStatusValid = true;
break;
}
}
console.log("setStatusSave() : checkStatusValid = " + checkStatusValid);
if (!checkStatusValid) {
this.$message.error("标记状态不可为空");
return;
}
let req = {
list: this.statusList,
projectMainId: this.statusProjectMainId,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册