项目清单数据丢失

This commit is contained in:
宋伟佳
2021-12-09 15:20:55 +08:00
parent dd9290a165
commit f056983a9c
2 changed files with 8 additions and 4 deletions
@@ -971,6 +971,9 @@ export default {
if(comFlag > 0){
this.$message.warning('请填写不涉及的备注信息')
}else{
this.dataList.forEach(item => {
this.$set(item, 'standId', item.id)
})
this.isSubmit = true;
this.qdform.currentPerson = this.$store.getters.userInfo.userName;
this.qdform.commentText = this.commentText;
@@ -965,6 +965,9 @@ export default {
if(comFlag > 0){
this.$message.warning('请填写不涉及的备注信息')
}else{
this.dataList.forEach(item => {
this.$set(item, 'standId', item.id)
})
this.isSubmit = true;
this.qdform.commentText = this.commentText;
this.qdform.dataList = this.dataList
@@ -1151,6 +1154,8 @@ export default {
}
})
this.handleSelectTableList.map(item => {
this.$set(item, 'involve', '涉及')
this.$set(item, 'remarks', '')
let addIndex
addIndex = this.dataList.findIndex(items =>{
return items.id === item.id
@@ -1161,10 +1166,6 @@ export default {
this.dataList.push(item)
}
})
this.dataList.forEach(item => {
this.$set(item, 'involve', 'involve')
this.$set(item, 'remarks', '')
})
this.standModel = false
}
},