|
@@ -187,11 +187,11 @@
|
|
this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList.forEach((val, index) => {
|
|
this.dataJson.zEngineeringNodeBo.zEngineeringInfoBoList.forEach((val, index) => {
|
|
if (val.createBy == this.$user.state.name) {
|
|
if (val.createBy == this.$user.state.name) {
|
|
|
|
|
|
- this.selectList.forEach((item, index2) => {
|
|
|
|
|
|
+ // this.selectList.forEach((item, index2) => {
|
|
|
|
|
|
val.zEngineeringMaterialBo.forEach((itemEnd, indexEnd) => {
|
|
val.zEngineeringMaterialBo.forEach((itemEnd, indexEnd) => {
|
|
|
|
|
|
- if (itemEnd.materialQuality == item.id) {
|
|
|
|
|
|
+ if (this.selectList.some(item => item.id === itemEnd.materialQuality)) {
|
|
this.dataJson.zEngineeringNodeBo
|
|
this.dataJson.zEngineeringNodeBo
|
|
.zEngineeringInfoBoList[
|
|
.zEngineeringInfoBoList[
|
|
index]
|
|
index]
|
|
@@ -206,7 +206,7 @@
|
|
.isNew = true
|
|
.isNew = true
|
|
}
|
|
}
|
|
})
|
|
})
|
|
- })
|
|
|
|
|
|
+ // })
|
|
|
|
|
|
}
|
|
}
|
|
})
|
|
})
|