commit
This commit is contained in:
@@ -779,11 +779,15 @@ export default {
|
|||||||
if (this.dataList.length < 1) {
|
if (this.dataList.length < 1) {
|
||||||
this.satisfyFlag = false
|
this.satisfyFlag = false
|
||||||
this.$message.warning("请添加产品线信息");
|
this.$message.warning("请添加产品线信息");
|
||||||
|
}else{
|
||||||
|
this.satisfyFlag = true
|
||||||
}
|
}
|
||||||
this.dataList.forEach(item => {
|
this.dataList.forEach(item => {
|
||||||
if (item.distributePerson === "" || item.distributePerson === null || item.distributePerson === undefined) {
|
if (!item.distributePerson) {
|
||||||
this.satisfyFlag = false
|
this.satisfyFlag = false
|
||||||
this.$message.warning("请选择分发责任人");
|
this.$message.warning("请选择分发责任人");
|
||||||
|
}else{
|
||||||
|
this.satisfyFlag = true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if(this.satisfyFlag){
|
if(this.satisfyFlag){
|
||||||
|
|||||||
@@ -752,11 +752,15 @@ export default {
|
|||||||
if (this.dataList.length < 1) {
|
if (this.dataList.length < 1) {
|
||||||
this.satisfyFlag = false
|
this.satisfyFlag = false
|
||||||
this.$message.warning("请添加产品线信息");
|
this.$message.warning("请添加产品线信息");
|
||||||
|
}else {
|
||||||
|
this.satisfyFlag = true
|
||||||
}
|
}
|
||||||
this.dataList.forEach(item => {
|
this.dataList.forEach(item => {
|
||||||
if (item.distributePerson === "" || item.distributePerson === null || item.distributePerson === undefined) {
|
if (!item.distributePerson) {
|
||||||
this.satisfyFlag = false
|
this.satisfyFlag = false
|
||||||
this.$message.warning("请选择分发责任人");
|
this.$message.warning("请选择分发责任人");
|
||||||
|
}else {
|
||||||
|
this.satisfyFlag = true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if(this.satisfyFlag){
|
if(this.satisfyFlag){
|
||||||
|
|||||||
Reference in New Issue
Block a user