|
|
|
@ -4250,7 +4250,22 @@ |
|
|
|
this.$message.warning('请添加需要变更的技术参数卡!') |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
if(!Array.isArray(this.chooseItemList) || this.chooseItemList.length== 0){ |
|
|
|
this.$message.warning('缺少执行信息!') |
|
|
|
return |
|
|
|
} |
|
|
|
let flag = 0 |
|
|
|
if(Array.isArray(this.chooseItemList) && this.chooseItemList.length > 0){ |
|
|
|
this.chooseItemList.forEach(item => { |
|
|
|
if (item.executor === '' || item.executor == null) { |
|
|
|
flag = 1 |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
if (flag === 1) { |
|
|
|
this.$message.warning('执行信息里面缺少执行人!') |
|
|
|
return |
|
|
|
} |
|
|
|
this.costImpactData.changeTotalCost = this.totalCost |
|
|
|
this.executionInfoData.chooseItemList = this.chooseItemList |
|
|
|
this.executionInfoData.chooseItemList2 = this.chooseItemList2 |
|
|
|
@ -4587,7 +4602,22 @@ |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(!Array.isArray(this.chooseItemList) || this.chooseItemList.length== 0){ |
|
|
|
this.$message.warning('缺少执行信息!') |
|
|
|
return |
|
|
|
} |
|
|
|
let flag = 0 |
|
|
|
if(Array.isArray(this.chooseItemList) && this.chooseItemList.length > 0){ |
|
|
|
this.chooseItemList.forEach(item => { |
|
|
|
if (item.executor === '' || item.executor == null) { |
|
|
|
flag = 1 |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
if (flag === 1) { |
|
|
|
this.$message.warning('执行信息里面缺少执行人!') |
|
|
|
return |
|
|
|
} |
|
|
|
this.costImpactData.changeTotalCost = this.totalCost |
|
|
|
this.executionInfoData.chooseItemList = this.chooseItemList |
|
|
|
this.executionInfoData.chooseItemList2 = this.chooseItemList2 |
|
|
|
|