This commit is contained in:
宋伟佳
2021-09-29 10:53:52 +08:00
parent fc79a106a8
commit a4cdb602a0
2 changed files with 10 additions and 2 deletions
@@ -779,11 +779,15 @@ export default {
if (this.dataList.length < 1) {
this.satisfyFlag = false
this.$message.warning("请添加产品线信息");
}else{
this.satisfyFlag = true
}
this.dataList.forEach(item => {
if (item.distributePerson === "" || item.distributePerson === null || item.distributePerson === undefined) {
if (!item.distributePerson) {
this.satisfyFlag = false
this.$message.warning("请选择分发责任人");
}else{
this.satisfyFlag = true
}
});
if(this.satisfyFlag){
@@ -752,11 +752,15 @@ export default {
if (this.dataList.length < 1) {
this.satisfyFlag = false
this.$message.warning("请添加产品线信息");
}else {
this.satisfyFlag = true
}
this.dataList.forEach(item => {
if (item.distributePerson === "" || item.distributePerson === null || item.distributePerson === undefined) {
if (!item.distributePerson) {
this.satisfyFlag = false
this.$message.warning("请选择分发责任人");
}else {
this.satisfyFlag = true
}
});
if(this.satisfyFlag){