|
|
@@ -379,6 +379,10 @@
|
|
|
},
|
|
|
modifyItem: function (index) {
|
|
|
for (let i = 0; i < this.bomList.content.length; i++) {
|
|
|
+ if (this.bomList.content[i].active) {
|
|
|
+ this.$message.error('抱歉,您尚有未保存的信息')
|
|
|
+ return
|
|
|
+ }
|
|
|
this.bomList.content[i].active = false
|
|
|
}
|
|
|
// this.$set(this.bomList.content[index], 'active', true)
|